mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-28 22:31:07 +00:00
Correction to previous commit regarding Far vertex ordering options.
This commit is contained in:
parent
898d68ae79
commit
36c86b0b68
@ -358,8 +358,8 @@ TopologyRefiner::RefineUniform(UniformOptions options) {
|
|||||||
// Initialize refinement options for Vtr -- adjusting full-topology for the last level:
|
// Initialize refinement options for Vtr -- adjusting full-topology for the last level:
|
||||||
//
|
//
|
||||||
Vtr::Refinement::Options refineOptions;
|
Vtr::Refinement::Options refineOptions;
|
||||||
refineOptions._sparse = false;
|
refineOptions._sparse = false;
|
||||||
refineOptions._orderFaceVertsFirst = options.orderVerticesFromFacesFirst;
|
refineOptions._faceVertsFirst = options.orderVerticesFromFacesFirst;
|
||||||
|
|
||||||
for (int i = 1; i <= (int)options.refinementLevel; ++i) {
|
for (int i = 1; i <= (int)options.refinementLevel; ++i) {
|
||||||
refineOptions._minimalTopology =
|
refineOptions._minimalTopology =
|
||||||
@ -401,9 +401,9 @@ TopologyRefiner::RefineAdaptive(AdaptiveOptions options) {
|
|||||||
//
|
//
|
||||||
Vtr::Refinement::Options refineOptions;
|
Vtr::Refinement::Options refineOptions;
|
||||||
|
|
||||||
refineOptions._sparse = true;
|
refineOptions._sparse = true;
|
||||||
refineOptions._minimalTopology = false;
|
refineOptions._minimalTopology = false;
|
||||||
refineOptions._orderFaceVertsFirst = options.orderVerticesFromFacesFirst;
|
refineOptions._faceVertsFirst = options.orderVerticesFromFacesFirst;
|
||||||
|
|
||||||
Sdc::Split splitType = (_subdivType == Sdc::SCHEME_LOOP) ? Sdc::SPLIT_TO_TRIS : Sdc::SPLIT_TO_QUADS;
|
Sdc::Split splitType = (_subdivType == Sdc::SCHEME_LOOP) ? Sdc::SPLIT_TO_TRIS : Sdc::SPLIT_TO_QUADS;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user