Blender Git Loki

Git Commits -> Revision 5a91a02

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)

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021