Blender Git Loki
Git Commits -> Revision 27d660a
Revision 27d660a by Sergey Sharybin (master) October 4, 2014, 13:00 (GMT) |
Cycles: Add support for debug passes Currently only summed number of traversal steps and intersections used by the camera ray intersection pass is implemented, but in the future we will support more debug passes which would help checking what things makes the scene slow. Example of such extra passes could be number of bounces, time spent on the shader tree evaluation and so. Implementation from the Cycles side is pretty much straightforward, could only mention here that it's a build-time option disabled by default. From the blender side it's implemented as a PASS_DEBUG with several subtypes possible. This way we don't need to create an extra DNA pass type for each of the debug passes, saving us a bits. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D813 |
Commit Details:
Full Hash: 27d660ad20a57a8f688890a04d2eb629e39a3f19
Parent Commit: 8ac3c3d
Lines Changed: +223, -2
1 Added Path:
/intern/cycles/kernel/kernel_debug.h (+35, -0) (View)
20 Modified Paths:
/build_files/scons/tools/btools.py (+3, -1) (Diff)
/CMakeLists.txt (+3, -0) (Diff)
/intern/cycles/blender/blender_session.cpp (+11, -0) (Diff)
/intern/cycles/CMakeLists.txt (+6, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_bvh_traversal.h (+12, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+34, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+24, -0) (Diff)
/intern/cycles/render/buffers.cpp (+8, -0) (Diff)
/intern/cycles/render/film.cpp (+13, -0) (Diff)
/intern/cycles/SConscript (+3, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_render.c (+12, -0) (Diff)
/source/blender/makesrna/intern/SConscript (+2, -0) (Diff)
/source/blender/makesrna/SConscript (+3, -0) (Diff)
/source/blender/render/CMakeLists.txt (+4, -0) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+5, -0) (Diff)
/source/blender/render/intern/source/render_result.c (+37, -1) (Diff)
/source/blender/render/SConscript (+3, -0) (Diff)
/CMakeLists.txt (+3, -0) (Diff)
/intern/cycles/blender/blender_session.cpp (+11, -0) (Diff)
/intern/cycles/CMakeLists.txt (+6, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_bvh_traversal.h (+12, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+34, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+24, -0) (Diff)
/intern/cycles/render/buffers.cpp (+8, -0) (Diff)
/intern/cycles/render/film.cpp (+13, -0) (Diff)
/intern/cycles/SConscript (+3, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_render.c (+12, -0) (Diff)
/source/blender/makesrna/intern/SConscript (+2, -0) (Diff)
/source/blender/makesrna/SConscript (+3, -0) (Diff)
/source/blender/render/CMakeLists.txt (+4, -0) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+5, -0) (Diff)
/source/blender/render/intern/source/render_result.c (+37, -1) (Diff)
/source/blender/render/SConscript (+3, -0) (Diff)