Okay, here is the question, and then the reasons for needing it:
I need to be able to find the overlapping vertices along the uv seam of a model, and note them as a group, so that they can all be made to match position.
The reason is due to the fact that I need to prevent tearing of the seams when morphing the shape of the mesh. Since uv seams are actually real seams in the 3d mesh, the vertix is split into two along the seams.
I’ve tried several algorithms, and all of them have been painfully slow. What way can this data be pulled in a speedy manner?
In the case of smoothing groups or uv islands splitting the mesh, don’t you have overlapping vertices at the seams, or is it the case that it just splits the triangles and does not duplicate the vertices? This article seems to imply that you get duplicate vertices…
I guess degenerate triangles might give you some grief, but it seems that once you’ve identified the seam edge vertices via testing for coincidence, you could use the connectivity information from the associated triangles to determine the full topography of each island.
Just thinking “out loud”, but now I’m almost curious enough to actually try writing some code to work through this. I’d probably just duplicate everything you’ve done already, though
I realize this thread is 4 years old, but I’m presently in a scenario in which I need to separate the UVs into islands so that I can make a mask when drawing on a texture and not leak over into other islands. Has anyone found any solutions?