Blender Git Commit Log
Git Commits -> Revision 9cd2b19
Revision 9cd2b19 by Brecht Van Lommel (master) December 31, 2013, 16:38 (GMT) |
Cycles Volume Render: generated texture coordinates for volume render. This does not support staying fixed while the surface deforms, but for static meshes it should match up with the surface texture coordinates. Implemented as a matrix transform from objects space to mesh texture space. Making this work for deforming surfaces would be quite complicated, you might need something like harmonic coordinates as used in the mesh deform modifier, probably will not be possible anytime soon. |
Commit Details:
Full Hash: 9cd2b199994ba48f343a89a270827b2e0ed3221d
Parent Commit: 6b03f92
Lines Changed: +200, -45
13 Modified Paths:
/intern/cycles/blender/blender_mesh.cpp (+14, -3) (Diff)
/intern/cycles/kernel/kernel_primitive.h (+16, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -1) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+28, -4) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+4, -0) (Diff)
/intern/cycles/kernel/shaders/node_texture_coordinate.osl (+10, -0) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+60, -30) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+4, -2) (Diff)
/intern/cycles/render/attribute.cpp (+23, -2) (Diff)
/intern/cycles/render/attribute.h (+4, -0) (Diff)
/intern/cycles/render/graph.cpp (+3, -1) (Diff)
/intern/cycles/render/mesh.cpp (+18, -1) (Diff)
/intern/cycles/render/nodes.cpp (+13, -0) (Diff)
/intern/cycles/kernel/kernel_primitive.h (+16, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -1) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+28, -4) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+4, -0) (Diff)
/intern/cycles/kernel/shaders/node_texture_coordinate.osl (+10, -0) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+60, -30) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+4, -2) (Diff)
/intern/cycles/render/attribute.cpp (+23, -2) (Diff)
/intern/cycles/render/attribute.h (+4, -0) (Diff)
/intern/cycles/render/graph.cpp (+3, -1) (Diff)
/intern/cycles/render/mesh.cpp (+18, -1) (Diff)
/intern/cycles/render/nodes.cpp (+13, -0) (Diff)