Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
AgeCommit message (Collapse)Author
2018-01-22Fix broken merge in fb45821, was missing changes from cc64872.Brecht Van Lommel
2018-01-19Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2018-01-19Cycles: Make it more proper check on vectorization flags from DebugFlagsSergey Sharybin
Mimics to checks in system_cpu_support() checks.
2018-01-19Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2018-01-19Cycles: Cleanup, stop using debug flags in system utilitiesSergey Sharybin
Debug flags are to be controlling render behavior, nothing to do with low level system utilities. it was simple to hack, but logically is wrong. Lets do things where they are supposed to be done!
2018-01-19Cycles: Remove util_debug include from kernel codeSergey Sharybin
Not sure why it was in there, all the debug flags stuff is to be handled outside of kernel.
2018-01-19Cycles: Remove unneeded include statementsSergey Sharybin
Also try to move them from headers to implementation files as much as possible.
2018-01-19Fix T53830: Cycles OpenCL debug assert on macOS,Brecht Van Lommel
This was probably harmless besides some unnecessary memory usage due to aligning allocations too much.
2018-01-19Merge branch 'master' into blender2.8Campbell Barton
2018-01-19Cleanup: typosCampbell Barton
2018-01-19Fix T53833: Particle Info node and Displacement CrashMai Lavelle
The displacement shared was running before particle data was copied to the device causing bad memory access when the particle info node was used. Fix is simply to move particle update before mesh update so the data is available to displacement shaders. (Altho this fixes the crash the particle info node is still mostly useless with displacement for now...)
2018-01-18Merge branch 'master' into blender2.8Brecht Van Lommel
2018-01-17Memory: add MEM_malloc_arrayN() function to protect against overflow.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3002
2018-01-15Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-15Cycles: CLeanup, remove unused function argumentSergey Sharybin
2018-01-13Merge branch 'master' into blender2.8Brecht Van Lommel
2018-01-13Cycles: adaptive subdivision support for panoramic cameras.Mai Lavelle
Adds the code to get screen size of a point in world space, which is used for subdividing geometry to the correct level. The approximate method of treating the point as if it were directly in front of the camera is used, as panoramic projections can become very distorted near the edges of an image. This should be fine for most uses. There is also no support yet for offscreen dicing scale, though panorama cameras are often used for rendering 360° renders anyway. Fixes T49254. Differential Revision: https://developer.blender.org/D2468
2018-01-13Code refactor: adjust camera update for easier code sharing with kernel.Brecht Van Lommel
2018-01-13Code cleanup: remove test code to disable motion blur, no longer useful.Brecht Van Lommel
2018-01-12Cycles: option to make background visible through glass transparent.Lukas Stockner
This can be enabled in the Film panel, with an option to control the transmisison roughness below which glass becomes transparent. Differential Revision: https://developer.blender.org/D2904
2018-01-12Cycles: add offscreen dicing scale and dicing camera.Mai Lavelle
The offscreen dicing scale helps to significantly reduce memory usage, by reducing the dicing rate for objects the further they are outside of the camera view. The dicing camera can be specified now, to keep the geometry fixed and avoid crawling artifacts in animation. It is also useful for debugging, to see the tesselation from a different camera location. Differential Revision: https://developer.blender.org/D2891
2018-01-12Fix Cycles bevel normal baking having some random incorrect pixels.Brecht Van Lommel
The bevel and SSS code could result in NaNs in some cases, tweak the formulas so this can't happen.
2018-01-11Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/blender.c source/blender/makesdna/DNA_ID.h
2018-01-11Fix T53755: Cycles OpenCL lamp shaders have incorrect normal.Brecht Van Lommel
2018-01-11Merge branch 'master' into blender2.8Campbell Barton
2018-01-11Cycles: support animated object scale in motion blur.Stefan Werner
This was disabled previously due to CUDA compiler bugs, see T32900. Differential Revision: https://developer.blender.org/D2937
2018-01-11Fix Windows compiler warning using WITH_CYCLES_NATIVE_ONLY.Brecht Van Lommel
2018-01-11Fix issue with moving CUDA memory to host and multiple devices.Brecht Van Lommel
This is not expected to fix all issues. Also adds some more details to error reporting to investigate failures.
2018-01-11Fix T53692: OpenCL multi GPU rendering not using all GPUs.Brecht Van Lommel
Ensure each OpenCL device has a unique ID even if the hardware ID is not unique for some reason.
2018-01-09Gawain: Fix codestyle.Clément Foucault
2018-01-09Gawain: VBO: Add possibility to use external datablock.Clément Foucault
Adds the possibility to specify the data buffer directly and precise ownership. By not passing ownership to gawain the memory block can be reused.
2018-01-09Gawain: Modify batch draw function to work with ranges.Clément Foucault
This enables to draw the same vbo but only with a selected range. (useful for selection with instancing/batching)
2018-01-03Merge branch 'master' into blender2.8Campbell Barton
2018-01-03Cycles: CUDA support for rendering scenes that don't fit on GPU.Brecht Van Lommel
In that case it can now fall back to CPU memory, at the cost of reduced performance. For scenes that fit in GPU memory, this commit should not cause any noticeable slowdowns. We don't use all physical system RAM, since that can cause OS instability. We leave at least half of system RAM or 4GB to other software, whichever is smaller. For image textures in host memory, performance was maybe 20-30% slower in our tests (although this is highly hardware and scene dependent). Once other type of data doesn't fit on the GPU, performance can be e.g. 10x slower, and at that point it's probably better to just render on the CPU. Differential Revision: https://developer.blender.org/D2056
2018-01-03Cycles: make CUDA code a bit more robust to host/device alloc failures.Brecht Van Lommel
Fixes a few corner cases found while stress testing host mapped memory.
2017-12-29Fix mistake in previous fix for T53600, shows we really need a smarter solution.Brecht Van Lommel
2017-12-26Fix T53600: Cycles shader mixing issue with principled BSDF and zero weights.Brecht Van Lommel
SVM nodes need to read all data to get the right offset for the following node. This is quite weak, a more generic solution would be good in the future.
2017-12-26Fix T53607: Cycles normal map baking problem when there is no bump.Brecht Van Lommel
2017-12-21Implement duplicator viewport/render visibility optionsDalai Felinto
This allows a duplicator (as known as dupli parent) to be in a visible collection so its duplicated objects are visible, however while being invisible for the final render. An object that is a particle emitter is also considered a duplicator. Many thanks for the reviewers for the extense feedback. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D2966
2017-12-21Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-21Fix T53567: Negative pixel values causing artifacts with denoisingLukas Stockner
Now negative color values are clamped to zero before the actual denoising.
2017-12-21Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-20Cycles: Cleanup, indentationSergey Sharybin
2017-12-20Merge branch 'master' into blender2.8Campbell Barton
2017-12-19Cycles: Fix crash opening user preferences after adding extra GPUSergey Sharybin
We can not store pointers to elements of collection property in the case we modify that collection. This is like storing pointers to elements of array before calling realloc().
2017-12-15Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-15Libmv: Add C-API function to set all markers within AutoTrack structureSergey Sharybin
2017-12-08Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-08Cycles: Fix difference in image Clip extension method between CPU and GPUSergey Sharybin
Our own implementation was behaving different comparing to OSL and GPU, namely on the border pixels OSL and CUDA was doing interpolation with black, but we were clamping coordinate. This partially fixes issue reported in T53452. Similar change should also be done for 3D interpolation perhaps, but this is to be investigated separately.
2017-12-08Cycles: Cleanup, split 2D interpolation functionSergey Sharybin