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
AgeCommit message (Collapse)Author
2018-01-24Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/modifiers/intern/MOD_wireframe.c
2018-01-24Fix T53878: Cycles bug rendering multiple render layers with different passes.Brecht Van Lommel
This was caused by recent pass refactoring from f78e963.
2018-01-23Merge branch 'master' into blender2.8Brecht Van Lommel
2018-01-23Cycles: change material output displacement to vector.Brecht Van Lommel
Previously only scalar displacement along the normal was supported, now displacement can go in any direction. For backwards compatibility, a Displacement node will be automatically inserted in existing files. This will make it possible to support vector displacement maps in the future. It's already possible to use them to some extent, but requires a manual shader node setup. For tangent space maps the right tangent may also not be available yet, depends on the map. Differential Revision: https://developer.blender.org/D3015
2018-01-23Cycles: add Displacement node.Brecht Van Lommel
This converts object space height to world space displacement, to be linked to the new vector displacement material output. Differential Revision: https://developer.blender.org/D3015
2018-01-23Merge branch 'master' into blender2.8Campbell Barton
2018-01-22Cycles: Replace use_qbvh boolean flag with an enum-based propertySergey Sharybin
This was we can introduce other types of BVH, for example, wider ones, without causing too much mess around boolean flags. Thoughs: - Ideally device info should probably return bitflag of what BVH types it supports. It is possible to implement based on simple logic in device/ and mesh.cpp, rest of the changes will stay the same. - Not happy with workarounds in util_debug and duplicated enum in kernel. Maybe enbum should be stores in kernel, but then it's kind of weird to include kernel types from utils. Soudns some cyclkic dependency. Reviewers: brecht, maxim_d33 Reviewed By: brecht Differential Revision: https://developer.blender.org/D3011
2018-01-19Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2018-01-19Cycles: Remove unneeded include statementsSergey Sharybin
Also try to move them from headers to implementation files as much as possible.
2018-01-19Merge branch 'master' into blender2.8Campbell 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-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-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-03Merge branch 'master' into blender2.8Campbell Barton
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-26Fix T53607: Cycles normal map baking problem when there is no bump.Brecht Van Lommel
2017-11-23Merge branch 'master' into blender2.8Brecht Van Lommel
2017-11-23Fix T53357: harmless assert after recent addition of render time pass.Brecht Van Lommel
2017-11-19Merge branch 'master' into blender2.8Julian Eisel
2017-11-17Cycles: Add per-tile render time debug passLukas Stockner
Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D2920
2017-11-17Cycles: Add Volume Direct and Volume Indirect passes for volume-scattered lightLukas Stockner
No color pass because it's hard to define what to use as color in a volume. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D2903
2017-11-17Cycles: Refactor PassType from bitflag to index in order to allow for more ↵Lukas Stockner
passes
2017-11-15Merge commit '212a8d9e5ae7' into blender2.8Dalai Felinto
Considerable non-trivial merge conflict fixes.
2017-11-14Cycles: Make per-object random value output also work for LampsLukas Stockner
2017-11-13Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2017-11-12Fix T53289: CUDA missing textures not showing pink, after recent changes.Brecht Van Lommel
2017-11-10Merge branch 'master' into blender2.8Bastien Montagne
2017-11-09Fix (harmless) valgrind warning.Brecht Van Lommel
2017-11-09Cycles: Silence warning when building without OSLDalai Felinto
2017-11-09Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-09Cycles: Replace __MAX_CLOSURE__ build option with runtime integrator variableMai Lavelle
Goal is to reduce OpenCL kernel recompilations. Currently viewport renders are still set to use 64 closures as this seems to be faster and we don't want to cause a performance regression there. Needs to be investigated. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2775
2017-11-08Merge branch 'master' into blender2.8Brecht Van Lommel
2017-11-08Cycles: add bevel shader, for raytrace based rounded edges.Brecht Van Lommel
The algorithm averages normals from nearby surfaces. It uses the same sampling strategy as BSSRDFs, casting rays along the normal and two orthogonal axes, and combining the samples with MIS. The main concern here is that we are introducing raytracing inside shader evaluation, which could be quite bad for GPU performance and stack memory usage. In practice it doesn't seem so bad though. Note that using this feature can easily slow down renders 20%, and that if you care about performance then it's better to use a bevel modifier. Mainly this is useful for baking, and for cases where the mesh topology makes it difficult for the bevel modifier to work well. Differential Revision: https://developer.blender.org/D2803
2017-11-08Code refactor: rename subsurface to local traversal, for reuse.Brecht Van Lommel
2017-11-08Cycles: antialias normal baking if the mesh has a bump map.Brecht Van Lommel
2017-11-08Fix incorrect MIS weights in Cycles with multiple lights.Brecht Van Lommel
This causes some difference in the classroom scene, where ray visibility tricks are used and break the MIS balance. Otherwise there doesn't seem to be much effect, but better to use the right formulas. Problem originally identified by Lukas.
2017-11-07Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-07Cycles: Cleanup, styleSergey Sharybin
2017-11-06Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: intern/cycles/device/device.cpp source/blender/blenkernel/intern/library.c source/blender/blenkernel/intern/material.c source/blender/editors/object/object_add.c source/blender/editors/object/object_relations.c source/blender/editors/space_outliner/outliner_draw.c source/blender/editors/space_outliner/outliner_edit.c source/blender/editors/space_view3d/drawobject.c source/blender/editors/util/ed_util.c source/blender/windowmanager/intern/wm_files_link.c
2017-11-05Code refactor: remove emission and background closures, sum directly.Brecht Van Lommel
2017-11-05Cycles: fix inefficient attribute map storage, saves 615MB in victor scene.Brecht Van Lommel
2017-11-05Code refactor: device memory cleanups, preparing for mapped host memory.Brecht Van Lommel