Blender Git Commit Log

Git Commits -> Revision 8fbd71e

Revision 8fbd71e by Brecht Van Lommel (master)
June 21, 2014, 20:31 (GMT)
Cycles: improved Beckmann sampling using precomputed data

It turns out that the new Beckmann sampling function doesn't work well with
Quasi Monte Carlo sampling, mainly near normal incidence where it can be worse
than the previous sampler. In the new sampler the random number pattern gets
split in two, warped and overlapped, which hurts the stratification, see the
visualization in the differential revision.

Now we use a precomputed table, which is much better behaved. GGX does not seem
to benefit from using a precomputed table.

Disadvantage is that this table adds 1MB of memory usage and 0.03s startup time
to every render (on my quad core CPU).

Differential Revision: https://developer.blender.org/D614

Commit Details:

Full Hash: 8fbd71e5f2862e6efd0e3bcb015f1f6201ccca14
Parent Commit: 88d8358
Lines Changed: +153, -29

8 Modified Paths:

/intern/cycles/kernel/closure/bsdf.h (+2, -2) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+27, -13) (Diff)
/intern/cycles/kernel/kernel_types.h (+8, -6) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+2, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+6, -5) (Diff)
/intern/cycles/kernel/svm/svm_blackbody.h (+1, -1) (Diff)
/intern/cycles/render/shader.cpp (+106, -2) (Diff)
/intern/cycles/render/shader.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021