mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-05 06:21:07 +00:00
Compute transition mask for irregular patches
The irregular patches around extraordinary vertices might have transitions edges depending on the secondary refinement level specified during topological refinement. We used to skip the computation of the transition mask for irregular patches, but this is now necessary since the introduction of the secondary level option.
This commit is contained in:
parent
5fec55ede8
commit
17bc75b488
@ -1237,7 +1237,7 @@ PatchTableBuilder::populatePatches() {
|
||||
PatchParam patchParam =
|
||||
_patchBuilder->ComputePatchParam(patch.levelIndex, patch.faceIndex,
|
||||
_ptexIndices, patchInfo.isRegular, patchInfo.paramBoundaryMask,
|
||||
patchInfo.isRegular /* condition to compute transition mask */);
|
||||
true/* condition to compute transition mask */);
|
||||
*arrayBuilder->pptr++ = patchParam;
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user