Blender Git Loki

Git Commits -> Revision 0b68c68

Revision 0b68c68 by Mai Lavelle (master)
August 7, 2016, 15:13 (GMT)
Cycles microdisplacement: Support for Catmull-Clark subdivision via OpenSubdiv

Enables Catmull-Clark subdivision meshes with support for creases and attribute
subdivision. Still waiting on OpenSubdiv to fully support face varying
interpolation for subdividing uv coordinates tho. Also there may be some
inconsistencies with Blender's subdivision which will be resolved at a
later time.

Code for reading patch tables and creating patch maps is borrowed
from OpenSubdiv.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2111

Commit Details:

Full Hash: 0b68c68006578bb5c2aec3f5fb698087c4fd0f4c
Parent Commit: fc9747f
Lines Changed: +1407, -97

3 Added Paths:

/intern/cycles/kernel/geom/geom_patch.h (+343, -0) (View)
/intern/cycles/subd/subd_patch_table.cpp (+294, -0) (View)
/intern/cycles/subd/subd_patch_table.h (+63, -0) (View)

18 Modified Paths:

/CMakeLists.txt (+6, -0) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+38, -4) (Diff)
/intern/cycles/CMakeLists.txt (+8, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom.h (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_attribute.h (+3, -2) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+12, -0) (Diff)
/intern/cycles/kernel/geom/geom_subd_triangle.h (+115, -28) (Diff)
/intern/cycles/kernel/kernel_types.h (+17, -1) (Diff)
/intern/cycles/render/attribute.cpp (+10, -0) (Diff)
/intern/cycles/render/attribute.h (+2, -0) (Diff)
/intern/cycles/render/mesh.cpp (+44, -3) (Diff)
/intern/cycles/render/mesh.h (+11, -0) (Diff)
/intern/cycles/render/mesh_subdivision.cpp (+398, -55) (Diff)
/intern/cycles/render/object.cpp (+33, -0) (Diff)
/intern/cycles/render/object.h (+2, -0) (Diff)
/intern/cycles/subd/CMakeLists.txt (+1, -4) (Diff)
/intern/cycles/util/util_vector.h (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021