mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 20:20:09 +00:00
ed97ce1b26
Previously, the glEvalLimitViewer was hard coded to use only adaptive refinement, but this change demostrates how to evaluate patch locations on the linear patches resulting from a uniform refinement. By default, in a patch table created from a uniform refinement, the patch indices for vertex patches account for base level indices, while the patch indices for face-varying patches do not account for base level indices. This change also updates the example to set the patch table factory options so that both kinds of patch indices account for base level indices. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
glEvalLimit.cpp | ||
init_shapes.h | ||
particles.cpp | ||
particles.h |