Blender Git Commit Log
Git Commits -> Revision 5a91a02
Revision 5a91a02 by Mai Lavelle (temp-cycles-microdisplacement) July 10, 2016, 03:28 (GMT) |
Add patch tables and interpolate subdivision attributes in kernel This implements and packs OpenSubdiv's patch tables and patch maps into Cycles own representation to allow the kernel to interpolate subdivided attributes, which means generated coordinates are now correct for subdivided meshes. Support for subdivided uv coordinates will be added once OpenSubdiv has complete support for face varying interpolation. |
Commit Details:
Full Hash: 5a91a020a80622e8ca73cec0a243ea181c819007
Parent Commit: c97c0e8
Lines Changed: +883, -63
3 Added Paths:
/intern/cycles/kernel/geom/geom_patch.h (+332, -0) (View)
/intern/cycles/subd/subd_patch_table.cpp (+292, -0) (View)
/intern/cycles/subd/subd_patch_table.h (+52, -0) (View)
/intern/cycles/subd/subd_patch_table.cpp (+292, -0) (View)
/intern/cycles/subd/subd_patch_table.h (+52, -0) (View)
11 Modified Paths:
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom.h (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+12, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+99, -61) (Diff)
/intern/cycles/kernel/kernel_types.h (+11, -1) (Diff)
/intern/cycles/render/mesh.cpp (+28, -1) (Diff)
/intern/cycles/render/mesh.h (+4, -0) (Diff)
/intern/cycles/render/mesh_subdivision.cpp (+25, -0) (Diff)
/intern/cycles/render/object.cpp (+23, -0) (Diff)
/intern/cycles/render/object.h (+2, -0) (Diff)
/intern/cycles/subd/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom.h (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+12, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+99, -61) (Diff)
/intern/cycles/kernel/kernel_types.h (+11, -1) (Diff)
/intern/cycles/render/mesh.cpp (+28, -1) (Diff)
/intern/cycles/render/mesh.h (+4, -0) (Diff)
/intern/cycles/render/mesh_subdivision.cpp (+25, -0) (Diff)
/intern/cycles/render/object.cpp (+23, -0) (Diff)
/intern/cycles/render/object.h (+2, -0) (Diff)
/intern/cycles/subd/CMakeLists.txt (+1, -0) (Diff)