Blender Git Commit Log

Git Commits -> Revision e369a5c

Revision e369a5c by Brecht Van Lommel (master)
December 28, 2013, 15:57 (GMT)
Cycles Volume Render: support for rendering of homogeneous volume with absorption.

This is the simplest possible volume rendering case, constant density inside
the volume and no scattering or emission. My plan is to tweak, verify and commit
more volume rendering effects one by one, doing it all at once makes it
difficult to verify correctness and track down bugs.

Documentation is here:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Materials/Volume

Currently this hooks into path tracing in 3 ways, which should get us pretty
far until we add more advanced light sampling. These 3 hooks are repeated in
the path tracing, branched path tracing and transparent shadow code:

* Determine active volume shader at start of the path
* Change active volume shader on transmission through a surface
* Light attenuation over line segments between camera, surfaces and background

This is work by "storm", Stuart Broadfoot, Thomas Dinges and myself.

Commit Details:

Full Hash: e369a5c48529864118d49222dde3d530d58ebeae
Parent Commit: 133f770
Lines Changed: +529, -131

1 Added Path:

/intern/cycles/kernel/kernel_volume.h (+124, -0) (View)

14 Modified Paths:

/intern/cycles/blender/addon/properties.py (+6, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+6, -6) (Diff)
/intern/cycles/blender/blender_shader.cpp (+3, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+237, -112) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+10, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+44, -0) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+42, -3) (Diff)
/intern/cycles/kernel/kernel_types.h (+4, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+24, -1) (Diff)
/intern/cycles/render/scene.cpp (+5, -6) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+21, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021