Blender Git Loki

Git Commits -> Revision 889d77e

Revision 889d77e by Brecht Van Lommel (master)
December 29, 2013, 23:04 (GMT)
Cycles Volume Render: heterogeneous (textured) volumes support.

Volumes can now have textured colors and density. There is a Volume Sampling
panel in the Render properties with these settings:

* Step size: distance between volume shader samples when rendering the volume.
Lower values give more accurate and detailed results but also increased render
time.
* Max steps: maximum number of steps through the volume before giving up, to
protect from extremely long render times with big objects or small step sizes.

This is much more compute intensive than homogeneous volume, so when you are not
using a texture you should enable the Homogeneous Volume option in the material
or world for faster rendering.

One important missing feature is that Generated texture coordinates are not yet
working in volumes, and they are the default coordinates for nearly all texture
nodes. So until that works you need to plug in object texture coordinates or a
world space position.

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

Commit Details:

Full Hash: 889d77e6f67e8da70a7cd7dcec6eec12bd996d9f
Parent Commit: af128c4
Lines Changed: +295, -55

14 Modified Paths:

/intern/cycles/blender/addon/properties.py (+18, -4) (Diff)
/intern/cycles/blender/addon/ui.py (+15, -0) (Diff)
/intern/cycles/blender/blender_shader.cpp (+2, -2) (Diff)
/intern/cycles/blender/blender_sync.cpp (+3, -0) (Diff)
/intern/cycles/kernel/kernel_path.h (+11, -8) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+10, -2) (Diff)
/intern/cycles/kernel/kernel_random.h (+0, -6) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_types.h (+10, -2) (Diff)
/intern/cycles/kernel/kernel_volume.h (+208, -24) (Diff)
/intern/cycles/render/integrator.cpp (+8, -0) (Diff)
/intern/cycles/render/integrator.h (+3, -0) (Diff)
/intern/cycles/render/shader.cpp (+3, -3) (Diff)
/intern/cycles/render/shader.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021