Blender Git Loki
Git Commits -> Revision c37ca43
Revision c37ca43 by Sergey Sharybin (master) July 11, 2018, 10:55 (GMT) |
OpenSubdiv: Changes in C-API - Made OpenSubdiv_GLMesh private Previously, it was still accessible via C-API from C++ code. - Don't implicitly refine evaluator when updating coarse positions, now there is an explicit call to do this. Allows to first apply all changes to the coarse mesh and then refine once. - Added coarse positions update from a continuous buffer with given starts offset and stride. Allows to update coarse positions directly from MVert array. - Refiner is no longer freed when CPU evaluator is created. Allows to re-use refiner for multiple purposes. |
Commit Details:
Full Hash: c37ca437209f00ffe1b56cef2a5e8bbf390e669a
Parent Commit: 3eab815
Lines Changed: +162, -95
1 Added Path:
/intern/opensubdiv/opensubdiv_gl_mesh.h (+40, -0) (View)
5 Modified Paths:
/intern/opensubdiv/opensubdiv_capi.cc (+1, -0) (Diff)
/intern/opensubdiv/opensubdiv_capi.h (+38, -34) (Diff)
/intern/opensubdiv/opensubdiv_evaluator_capi.cc (+80, -60) (Diff)
/intern/opensubdiv/opensubdiv_gpu_capi.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c (+2, -1) (Diff)
/intern/opensubdiv/opensubdiv_capi.h (+38, -34) (Diff)
/intern/opensubdiv/opensubdiv_evaluator_capi.cc (+80, -60) (Diff)
/intern/opensubdiv/opensubdiv_gpu_capi.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c (+2, -1) (Diff)