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-02-09Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-09Cycles: add random walk subsurface scattering to Principled BSDF.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3054
2018-02-09Cycles: random walk subsurface scattering.Brecht Van Lommel
It is basically brute force volume scattering within the mesh, but part of the SSS code for faster performance. The main difference with actual volume scattering is that we assume the boundaries are diffuse and that all lighting is coming through this boundary from outside the volume. This gives much more accurate results for thin features and low density. Some challenges remain however: * Significantly more noisy than BSSRDF. Adding Dwivedi sampling may help here, but it's unclear still how much it helps in real world cases. * Due to this being a volumetric method, geometry like eyes or mouth can darken the skin on the outside. We may be able to reduce this effect, or users can compensate for it by reducing the scattering radius in such areas. * Sharp corners are quite bright. This matches actual volume rendering and results in some other renderers, but maybe not so much real world objects. Differential Revision: https://developer.blender.org/D3054
2018-02-09Merge branch 'master' into blender2.8Campbell Barton
2018-02-09CMake: include missing headersCampbell Barton
2018-02-08Merge branch 'master' into blender2.8Tamito Kajiyama
Conflicts: intern/cycles/blender/addon/ui.py
2018-02-08Fix for missing "Use Freestyle" toggle in the Cycles "Layer" options panel.Tamito Kajiyama
Reviewed By: Brecht Van Lommel (brecht), Dalai Felinto (dfelinto) Differential Revision: https://developer.blender.org/D3048
2018-02-08Cycles: unify OSL BSSRDF closure into a single bssrdf() closure with method.Brecht Van Lommel
This is similar to the upstream unified microfacet() closure, and makes it easier to extend in the future.
2018-02-08Code refactor: tweaks in SSS code to prepare for coming changes.Brecht Van Lommel
This also fixes a subtle bug in the split kernel branched path SSS, the volume stack update can't be shared between multiple hit points.
2018-02-08Code refactor: remove unnecessary RNG offset in branched path code.Brecht Van Lommel
This is only needed for SSS which bounces to a different shading point.
2018-02-08Object Mode: move to workspace structCampbell Barton
- Read-only access can often use EvaluationContext.object_mode - Write access to go to WorkSpace.object_mode. - Some TODO's remain (marked as "TODO/OBMODE") - Add-ons will need updating (context.active_object.mode -> context.workspace.object_mode) - There will be small/medium issues that still need resolving this does work on a basic level though. See D3037
2018-02-07Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-07Update CUEW to latest versionBrecht Van Lommel
This brings separate initialization for libcuda and libnvrtc, which fixes Cycles nvrtc compilation not working on build machines without CUDA hardware available. Differential Revision: https://developer.blender.org/D3045
2018-02-06Merge branch 'master' into blender2.8Campbell Barton
2018-02-06Fix T54001: AMD OpenCL fails with certain resolutions, after recent changes.Brecht Van Lommel
We should actually be using CL_DEVICE_MEM_BASE_ADDR_ALIGN for sub buffers, previous change in this code was incorrect. Renamed the function now to make the specific purpose of this alignment clear, it's not required for data types in general.
2018-02-05Fix typo in struct name obejct to object.Nathan Letwory
Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D3041
2018-02-05Merge branch 'master' into blender2.8Campbell Barton
2018-02-05cycles: fix black render with cycles_cubin_cc.Ray Molenkamp
I have honestly no idea how this got swapped..
2018-02-05cycles: fix cxx11 usage for cycles_cubin_ccRay Molenkamp
2018-02-04Merge branch 'master' into blender2.8Campbell Barton
2018-02-04msvc: Use source folder structure for project file.Ray Molenkamp
This patch changes the huge list of projects in visual studio into a nice tree matching the source folder structure. see D2823 for details. Differential Revision: http://developer.blender.org/D2823
2018-02-03cycles: Add an nvrtc based cubin cli compiler.Ray Molenkamp
nvcc is very picky regarding compiler versions, severely limiting the compiler we can use, this commit adds a nvrtc based compiler that'll allow us to build the cubins even if the host compiler is unsupported. for details see D2913. Differential Revision: http://developer.blender.org/D2913
2018-02-03Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-03Fix more Cycles incorrect principled BSDF mixing due to missing initialization.Brecht Van Lommel
Spotted by Ha Hyung-jin, thanks!
2018-02-03Fix build error with CUDA 9.1 and compute capability 2.x.Brecht Van Lommel
2018-02-03Cycles: make displacement a supported feature.Brecht Van Lommel
Adaptive subdivision remains experimental, still needs more work.
2018-02-03Cycles: add Vector Displacement node and extend Displacement node.Brecht Van Lommel
This adds midlevel and object/world space for displacement, and a vector displacement node with tangent/object/world space, midlevel and scale. Note that tangent space vector displacement still is not exactly compatible with maps created by other software, this will require changes to the tangent computation. Differential Revision: https://developer.blender.org/D1734
2018-02-02Merge branch 'master' into blender2.8Campbell Barton
2018-02-02Fix T53978: Bad memory access after recent fix to BSDF mixingMai Lavelle
Added proper checks after BSDF allocation and cleaned up existing inline checks. Was introduced in 7261d675e6aeb1b0dff
2018-02-01Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2018-02-01Cycles: Attempt to fix 32 bit linux compilationSergey Sharybin
2018-02-01Cycles: Fix for non-vectorized version of bitscan()Sergey Sharybin
It was doing bit search in an opposite direction comparing to a vectorized version.
2018-01-30Fix Cycles incorrect principled BSDF mixing with some parameter variatons.Brecht Van Lommel
Spotted by Ha Hyung-jin, thanks!
2018-01-30Fix Cycles incorrect principled BSDF mixing with some parameter variatons.Brecht Van Lommel
Spotted by Ha Hyung-jin, thanks!
2018-01-30Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-29Fix Cycles viewport render not updating when tweaking displacement shader.Brecht Van Lommel
This was disabled to avoid updating the geometry every time when the material includes displacement, because there was no way to distinguish between surface shader and displacement updates. As a solution, we now compute an MD5 hash of the nodes linked to the displacement socket, and only update the mesh if that changes. Differential Revision: https://developer.blender.org/D3018
2018-01-29Fix Cycles allocating too much device memory, after recent memory refactoring.Brecht Van Lommel
Spotted by Ha Hyung-jin, thanks!
2018-01-29Revert "Fix T53914: Volumetric scattering now goes correctly through ↵Brecht Van Lommel
transparent surfaces." This reverts commit 3c852ba0741f794a697f95073b04921e9ff94039. This is breaking the regression tests, and maybe requires some deeper changes to really fix.
2018-01-28Merge branch 'master' into blender2.8Campbell Barton
2018-01-27Fix T53914: Volumetric scattering now goes correctly through transparent ↵Stefan Werner
surfaces. There was a check for volume bounces at every surface intersection. That could lead to a volume scattered path being terminated when passing through a transparent surface. This check was superfluous, as the volume shader evaluation already checks the number of volume bounces and once it passes the max, volume shaders will not return scatter events any more. Reviewers: #cycles, brecht Reviewed By: #cycles, brecht Subscribers: brecht, #cycles Tags: #cycles Maniphest Tasks: T53914 Differential Revision: https://developer.blender.org/D3024
2018-01-27Code refactor: make mixed small/large BSSRDF radii more robust.Brecht Van Lommel
2018-01-26Fix mixed BSDF + BSSRDF sampling bug in path tracing, after 095a01a73a35.Brecht Van Lommel
Spotted by Ha Hyung-jin, thanks!
2018-01-26Code refactor: store RGB BSSRDF in a single closure.Brecht Van Lommel
Previously we stored each color channel in a single closure, which was convenient for sampling a closure and channel together. But this doesn't work so well for algorithms where we want to render multiple color channels together.
2018-01-26Code cleanup: simpler and faster detection of BVH refit.Brecht Van Lommel
2018-01-25Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2018-01-25Cycles: rename displacement methods, default to displace, tweak panel layout.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3019
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-24Fix Cycles inserting displacement node when there is a custom node setup ↵Brecht Van Lommel
instead.
2018-01-23Merge branch 'master' into blender2.8Brecht Van Lommel