Blender Git Loki
Git Commits -> Revision a29807c
Revision a29807c by Brecht Van Lommel (master) June 14, 2014, 11:49 (GMT) |
Cycles: volume light sampling * Volume multiple importace sampling support to combine equiangular and distance sampling, for both homogeneous and heterogeneous volumes. * Branched path "Sample All Direct Lights" and "Sample All Indirect Lights" now apply to volumes as well as surfaces. Implementation note: For simplicity this is all done with decoupled ray marching, the only case we do not use decoupled is for distance only sampling with one light sample. The homogeneous case should still compile on the GPU because it only requires fixed size storage, but the heterogeneous case will be trickier to get working. |
Commit Details:
Full Hash: a29807cd63b0cba62e664c54ce34e5717ca51a3e
Parent Commit: d644753
Lines Changed: +676, -288
10 Modified Paths:
/intern/cycles/blender/addon/properties.py (+1, -0) (Diff)
/intern/cycles/kernel/kernel_emission.h (+11, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+20, -6) (Diff)
/intern/cycles/kernel/kernel_path.h (+179, -54) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+69, -65) (Diff)
/intern/cycles/kernel/kernel_path_volume.h (+184, -7) (Diff)
/intern/cycles/kernel/kernel_random.h (+12, -6) (Diff)
/intern/cycles/kernel/kernel_shader.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_volume.h (+185, -146) (Diff)
/intern/cycles/render/integrator.cpp (+14, -3) (Diff)
/intern/cycles/kernel/kernel_emission.h (+11, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+20, -6) (Diff)
/intern/cycles/kernel/kernel_path.h (+179, -54) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+69, -65) (Diff)
/intern/cycles/kernel/kernel_path_volume.h (+184, -7) (Diff)
/intern/cycles/kernel/kernel_random.h (+12, -6) (Diff)
/intern/cycles/kernel/kernel_shader.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_volume.h (+185, -146) (Diff)
/intern/cycles/render/integrator.cpp (+14, -3) (Diff)