Blender Git Commit Log
Git Commits -> Revision a35db17
Revision a35db17 by Brecht Van Lommel (master) December 28, 2013, 15:57 (GMT) |
Cycles Volume Render: work on nodes and closures. * Henyey-Greenstein scattering closure implementation. * Rename transparent to absorption node and isotropic to scatter node. * Volume density is folded into the closure weights. * OSL support for volume closures and nodes. * This commit has no user visible changes, there is no volume render code yet. This is work by "storm", Stuart Broadfoot, Thomas Dinges and myself. |
Commit Details:
Full Hash: a35db17cee5a9b47dc9624f7dfcb41f5fc185b33
Parent Commit: a06c9c2
Lines Changed: +440, -225
4 Added Paths:
/intern/cycles/kernel/shaders/node_absorption_volume.osl (+26, -0) (View)
/intern/cycles/kernel/shaders/node_scatter_volume.osl (+27, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_volume_absorption.c (+61, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_volume_scatter.c (+63, -0) (View)
/intern/cycles/kernel/shaders/node_scatter_volume.osl (+27, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_volume_absorption.c (+61, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_volume_scatter.c (+63, -0) (View)
2 Deleted Paths:
/source/blender/nodes/shader/nodes/node_shader_volume_isotropic.c (+0, -61)
/source/blender/nodes/shader/nodes/node_shader_volume_transparent.c (+0, -61)
/source/blender/nodes/shader/nodes/node_shader_volume_transparent.c (+0, -61)
22 Modified Paths:
/intern/cycles/app/cycles_xml.cpp (+4, -4) (Diff)
/intern/cycles/blender/blender_shader.cpp (+4, -4) (Diff)
/intern/cycles/kernel/closure/volume.h (+91, -23) (Diff)
/intern/cycles/kernel/kernel_shader.h (+4, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+8, -12) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+13, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+50, -0) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+14, -7) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/kernel/shaders/node_light_path.osl (+2, -0) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+5, -0) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+12, -11) (Diff)
/intern/cycles/kernel/svm/svm_light_path.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+6, -3) (Diff)
/intern/cycles/render/nodes.cpp (+23, -14) (Diff)
/intern/cycles/render/nodes.h (+4, -4) (Diff)
/intern/cycles/render/osl.cpp (+10, -9) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -2) (Diff)
/source/blender/nodes/CMakeLists.txt (+2, -2) (Diff)
/source/blender/nodes/NOD_shader.h (+2, -2) (Diff)
/source/blender/nodes/NOD_static_types.h (+2, -2) (Diff)
/intern/cycles/blender/blender_shader.cpp (+4, -4) (Diff)
/intern/cycles/kernel/closure/volume.h (+91, -23) (Diff)
/intern/cycles/kernel/kernel_shader.h (+4, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+8, -12) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+13, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+50, -0) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+14, -7) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/kernel/shaders/node_light_path.osl (+2, -0) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+5, -0) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+12, -11) (Diff)
/intern/cycles/kernel/svm/svm_light_path.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+6, -3) (Diff)
/intern/cycles/render/nodes.cpp (+23, -14) (Diff)
/intern/cycles/render/nodes.h (+4, -4) (Diff)
/intern/cycles/render/osl.cpp (+10, -9) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -2) (Diff)
/source/blender/nodes/CMakeLists.txt (+2, -2) (Diff)
/source/blender/nodes/NOD_shader.h (+2, -2) (Diff)
/source/blender/nodes/NOD_static_types.h (+2, -2) (Diff)