liminchen / OptCuts

OptCuts, a new parameterization algorithm, jointly optimizes arbitrary embeddings for seam quality and distortion. OptCuts requires no parameter tuning; automatically generating mappings that minimize seam-lengths while satisfying user-requested distortion bounds.
http://www.cs.ubc.ca/labs/imager/tr/2018/OptCuts/
MIT License
283 stars 47 forks source link

does not support input meshes with multiple connected components #10

Closed liminchen closed 8 months ago

liminchen commented 5 years ago

Can identify it and initialize UV maps for each connected component, locating the charts without overlaps, and start OptCuts. Note that if the components are generated by pre-cutting a closed mesh, then in OptCuts those boundaries won't be merged anyway, even if we support 4-vertex merge operation.

liminchen commented 8 months ago

Input mesh with multiple disconnected components is supported in 2218d87dff5a97d795c715ca6234795486692fdd, regardless of their genus and how many boundaries they have. Each non-disk-topology component will be cut into disk topology via one_point_cut, farthest_cut, or cut_to_disk.