Blender Git Commit Log
Git Commits -> Revision 57cf48e
Revision 57cf48e by Brecht Van Lommel (master) January 3, 2013, 12:08 (GMT) |
Cycles Hair: refactoring to support generic attributes for hair curves. There should be no functional changes yet. UV, tangent and intercept are now stored as attributes, with the intention to add more like multiple uv's, vertex colors, generated coordinates and motion vectors later. Things got a bit messy due to having both triangle and curve data in the same mesh data structure, which also gives us two sets of attributes. This will get cleaned up when we split the mesh class. |
Commit Details:
Full Hash: 57cf48e7c6fd04f864072c21433a822907774f78
SVN Revision: 53527
Parent Commit: 8ca977b
Lines Changed: +1051, -944
2 Added Paths:
/intern/cycles/kernel/kernel_curve.h (+140, -0) (View)
/intern/cycles/kernel/kernel_primitive.h (+183, -0) (View)
/intern/cycles/kernel/kernel_primitive.h (+183, -0) (View)
3 Deleted Paths:
/intern/cycles/kernel/kernel_attribute.h (+0, -50)
/intern/cycles/util/util_attribute.cpp (+0, -51)
/intern/cycles/util/util_attribute.h (+0, -31)
/intern/cycles/util/util_attribute.cpp (+0, -51)
/intern/cycles/util/util_attribute.h (+0, -31)
36 Modified Paths:
/intern/cycles/blender/blender_curves.cpp (+79, -81) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+4, -4) (Diff)
/intern/cycles/bvh/bvh.cpp (+17, -20) (Diff)
/intern/cycles/bvh/bvh_build.cpp (+5, -5) (Diff)
/intern/cycles/bvh/bvh_split.cpp (+3, -3) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+2, -1) (Diff)
/intern/cycles/kernel/kernel_bvh.h (+6, -6) (Diff)
/intern/cycles/kernel/kernel_light.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_object.h (+0, -50) (Diff)
/intern/cycles/kernel/kernel_passes.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_path.h (+3, -2) (Diff)
/intern/cycles/kernel/kernel_shader.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_textures.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_triangle.h (+62, -169) (Diff)
/intern/cycles/kernel/kernel_types.h (+27, -2) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+22, -22) (Diff)
/intern/cycles/kernel/osl/osl_services.h (+1, -2) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+7, -4) (Diff)
/intern/cycles/kernel/osl/osl_shader.h (+1, -1) (Diff)
/intern/cycles/kernel/shaders/node_hair_info.osl (+4, -4) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+56, -97) (Diff)
/intern/cycles/kernel/svm/svm_geometry.h (+6, -27) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+12, -21) (Diff)
/intern/cycles/render/attribute.cpp (+146, -59) (Diff)
/intern/cycles/render/attribute.h (+22, -24) (Diff)
/intern/cycles/render/curves.h (+1, -2) (Diff)
/intern/cycles/render/light.cpp (+8, -8) (Diff)
/intern/cycles/render/mesh.cpp (+184, -132) (Diff)
/intern/cycles/render/mesh.h (+9, -21) (Diff)
/intern/cycles/render/nodes.cpp (+12, -1) (Diff)
/intern/cycles/render/nodes.h (+2, -0) (Diff)
/intern/cycles/render/object.cpp (+15, -11) (Diff)
/intern/cycles/render/scene.h (+2, -3) (Diff)
/intern/cycles/subd/subd_dice.cpp (+1, -1) (Diff)
/intern/cycles/util/CMakeLists.txt (+0, -2) (Diff)
/intern/cycles/util/util_types.h (+0, -18) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+4, -4) (Diff)
/intern/cycles/bvh/bvh.cpp (+17, -20) (Diff)
/intern/cycles/bvh/bvh_build.cpp (+5, -5) (Diff)
/intern/cycles/bvh/bvh_split.cpp (+3, -3) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+2, -1) (Diff)
/intern/cycles/kernel/kernel_bvh.h (+6, -6) (Diff)
/intern/cycles/kernel/kernel_light.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_object.h (+0, -50) (Diff)
/intern/cycles/kernel/kernel_passes.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_path.h (+3, -2) (Diff)
/intern/cycles/kernel/kernel_shader.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_textures.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_triangle.h (+62, -169) (Diff)
/intern/cycles/kernel/kernel_types.h (+27, -2) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+22, -22) (Diff)
/intern/cycles/kernel/osl/osl_services.h (+1, -2) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+7, -4) (Diff)
/intern/cycles/kernel/osl/osl_shader.h (+1, -1) (Diff)
/intern/cycles/kernel/shaders/node_hair_info.osl (+4, -4) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+56, -97) (Diff)
/intern/cycles/kernel/svm/svm_geometry.h (+6, -27) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+12, -21) (Diff)
/intern/cycles/render/attribute.cpp (+146, -59) (Diff)
/intern/cycles/render/attribute.h (+22, -24) (Diff)
/intern/cycles/render/curves.h (+1, -2) (Diff)
/intern/cycles/render/light.cpp (+8, -8) (Diff)
/intern/cycles/render/mesh.cpp (+184, -132) (Diff)
/intern/cycles/render/mesh.h (+9, -21) (Diff)
/intern/cycles/render/nodes.cpp (+12, -1) (Diff)
/intern/cycles/render/nodes.h (+2, -0) (Diff)
/intern/cycles/render/object.cpp (+15, -11) (Diff)
/intern/cycles/render/scene.h (+2, -3) (Diff)
/intern/cycles/subd/subd_dice.cpp (+1, -1) (Diff)
/intern/cycles/util/CMakeLists.txt (+0, -2) (Diff)
/intern/cycles/util/util_types.h (+0, -18) (Diff)