Blender Git Loki
Git Commits -> Revision d9bc8f1
Revision d9bc8f1 by Sebastian Herholz (master) November 17, 2021, 17:03 (GMT) |
Cycles: add build option to enable a debugging feature for MIS This patch adds a CMake option "WITH_CYCLES_DEBUG" which builds cycles with a feature that allows debugging/selecting the direct-light sampling strategy. The same option may later be used to add other debugging features that could affect performance in release builds. The three options are: * Forward path tracing (e.g., via BSDF or phase function) * Next-event estimation * Multiple importance sampling combination of the previous two methods Such a feature is useful for debugging light different sampling, evaluation, and pdf methods (e.g., for light sources and BSDFs). Differential Revision: https://developer.blender.org/D13152 |
Commit Details:
Full Hash: d9bc8f189cc36cc55082cfd7ad8845e96eb062e3
Parent Commit: 063ad86
Committed By: Brecht Van Lommel
Lines Changed: +111, -25
14 Modified Paths:
/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/blender/addon/properties.py (+13, -0) (Diff)
/intern/cycles/blender/sync.cpp (+6, -0) (Diff)
/intern/cycles/CMakeLists.txt (+3, -0) (Diff)
/intern/cycles/device/cuda/device_impl.cpp (+4, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+9, -11) (Diff)
/intern/cycles/kernel/integrator/shade_background.h (+2, -4) (Diff)
/intern/cycles/kernel/integrator/shade_light.h (+1, -1) (Diff)
/intern/cycles/kernel/integrator/shade_surface.h (+2, -5) (Diff)
/intern/cycles/kernel/integrator/shade_volume.h (+1, -3) (Diff)
/intern/cycles/kernel/light/sample.h (+33, -0) (Diff)
/intern/cycles/kernel/types.h (+14, -1) (Diff)
/intern/cycles/scene/integrator.cpp (+18, -0) (Diff)
/intern/cycles/scene/integrator.h (+4, -0) (Diff)
/intern/cycles/blender/addon/properties.py (+13, -0) (Diff)
/intern/cycles/blender/sync.cpp (+6, -0) (Diff)
/intern/cycles/CMakeLists.txt (+3, -0) (Diff)
/intern/cycles/device/cuda/device_impl.cpp (+4, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+9, -11) (Diff)
/intern/cycles/kernel/integrator/shade_background.h (+2, -4) (Diff)
/intern/cycles/kernel/integrator/shade_light.h (+1, -1) (Diff)
/intern/cycles/kernel/integrator/shade_surface.h (+2, -5) (Diff)
/intern/cycles/kernel/integrator/shade_volume.h (+1, -3) (Diff)
/intern/cycles/kernel/light/sample.h (+33, -0) (Diff)
/intern/cycles/kernel/types.h (+14, -1) (Diff)
/intern/cycles/scene/integrator.cpp (+18, -0) (Diff)
/intern/cycles/scene/integrator.h (+4, -0) (Diff)