mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 13:50:05 +00:00
Merge pull request #1129 from barfowl/far_fvar_corner_tags
Fixed cracks in face-varying Loop patches for lineaar-boundaries option
This commit is contained in:
commit
317e242bee
@ -833,7 +833,12 @@ PatchBuilder::GetIrregularPatchCornerSpans(int levelIndex, Index faceIndex,
|
||||
|
||||
// Sharpen the span if a corner or subject to inf-sharp features:
|
||||
if (vTag._corner) {
|
||||
cornerSpans[i]._sharp = true;
|
||||
// Corners tagged in FVar space need additional qualification:
|
||||
if (isFVarMisMatch) {
|
||||
cornerSpans[i]._sharp = (cornerSpans[i]._numFaces == 1) || isNonManifold;
|
||||
} else {
|
||||
cornerSpans[i]._sharp = true;
|
||||
}
|
||||
} else if (isNonManifold) {
|
||||
cornerSpans[i]._sharp = vTag._infSharp;
|
||||
} else if (testInfSharpFeatures) {
|
||||
|
Loading…
Reference in New Issue
Block a user