Blender Git Loki

Git Commits -> Revision 27043b8

Revision 27043b8 by Brecht Van Lommel (master)
March 29, 2014, 12:03 (GMT)
Cycles code internals: add support for mesh voxel grid attributes.

These are internally stored as a 3D image textures, but accessible like e.g.
UV coordinates though the attribute node and getattribute().

This is convenient for rendering e.g. smoke objects where data like density is
really a property of the mesh, and it avoids having to specify the smoke object
in a texture node, instead the material will work with any smoke domain.

Commit Details:

Full Hash: 27043b8e40f74c8b0917850d1aefbd6315fa46a5
Parent Commit: 393216a
Lines Changed: +257, -116

1 Added Path:

/intern/cycles/kernel/geom/geom_volume.h (+75, -0) (View)

12 Modified Paths:

/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom.h (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_attribute.h (+17, -23) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+28, -8) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -1) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+1, -3) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+2, -2) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+12, -33) (Diff)
/intern/cycles/render/attribute.cpp (+70, -31) (Diff)
/intern/cycles/render/attribute.h (+14, -1) (Diff)
/intern/cycles/render/mesh.cpp (+6, -1) (Diff)
/intern/cycles/render/nodes.cpp (+28, -13) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021