How to detect flipped UV islands?

   691   2   0
User Avatar
Member
31 posts
Joined: Dec. 2006
Offline
Hi,
Is it possible in Sops/Vex to detect when UV shells/islands which have become inverted? Ie their vertex order no longer matches their prim point order (clockwise vs anti-clockwise).
If there is a way to make a group of these from a SOP not that would be great.
Thanks,
Philip
User Avatar
Member
171 posts
Joined: April 2009
Offline
If the uv-islands are from a connected piece of geo, you can use the polydoctor to wind uv's to the majority of the connected geo.
User Avatar
Member
4 posts
Joined: March 2018
Offline
I had run to the same issue this morning. For me this worked:

-vertex split node defining the uv you want to check
-v@P= v@target_uv; in a wrangle to convert positions into uv
-normal sop. Flipped normal will point back and the others to front
-group normals pointing in "-Z". In my case I had made @Cd= fit(@N.z,-1,1,0,1); to get a color feedback
  • Quick Links