mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-25 04:50:06 +00:00
f19a41105d
Now a boundary and corner patch remains aligned with its underlying parametric orientation. This simplifies both the gathering of patch vertices and downstream evaluation of patches. Added a method to Vtr::Level which gathers the 16 patch points for a B-spline patch even if the patch has boundary or corner edges. The undefined patch vertex index values along boundary and corner edges are assigned Vtr::INDEX_INVALID. In order to simplifiy the process of drawing B-spline patches with boundary or corner edges, the Far::PatchTablesFactory will replace any invalid vertex indices with a known good value, i.e. the index of the first patch face vertex. Single-crease patches are still a slightly special case, which will be resolved later. |
||
---|---|---|
.. | ||
array.h | ||
CMakeLists.txt | ||
fvarLevel.cpp | ||
fvarLevel.h | ||
fvarRefinement.cpp | ||
fvarRefinement.h | ||
level.cpp | ||
level.h | ||
maskInterfaces.h | ||
quadRefinement.cpp | ||
quadRefinement.h | ||
refinement.cpp | ||
refinement.h | ||
sparseSelector.cpp | ||
sparseSelector.h | ||
triRefinement.cpp | ||
triRefinement.h | ||
types.h |