You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #95
Tried packing Smiling boy from Real-World Textured Things dataset, ID#7. Repacking it results in a horrible manner:
As mentioned in #95, packing can create invalid geometry (though I doubt it should be happening with valid input). I tried fixing it by removing faces that include vertices with Vertex::atlasIndex = -1, but there are still stray overlapping faces (and untextured regions on object):
Found the reason for this behavior:
Face is ignored (mesh->faceIgnore.set(face)) if the area of the face is considered to be zero (area <= internal::kAreaEpsilon (relevant code)). Ignored faces are skipped when dividing UV into charts.
That calculation can be too imprecise for massive UVs with normalised coordinates.
Similar to #95
Tried packing Smiling boy from Real-World Textured Things dataset, ID#7. Repacking it results in a horrible manner:
As mentioned in #95, packing can create invalid geometry (though I doubt it should be happening with valid input). I tried fixing it by removing faces that include vertices with
Vertex::atlasIndex = -1
, but there are still stray overlapping faces (and untextured regions on object):Relevant code:
PackCharts options
The text was updated successfully, but these errors were encountered: