Count all UV islands ?

   2062   1   2
User Avatar
Member
3 posts
Joined: May 2012
Offline
What is the best/fastest method to count all UV islands ?
Edited by rasto - March 27, 2022 09:26:09

Attachments:
uvspace.png (352.0 KB)

User Avatar
Member
89 posts
Joined: Jan. 2015
Offline
Hello,

You can first create an 'island' prim attribute to assign a island number by connectivity. You can use the "connectivity" operator, set on primitive, and tick "use UV Connectivity".

To count the number of island, you can use a vex detail wrangler with :
i@maxisland = nuniqueval(0, 'prim', 'island');
Edited by PaQ WaK - March 27, 2022 12:18:22

Attachments:
connectbyuv.JPG (38.9 KB)
countisland.hiplc (263.2 KB)

Gameloft
  • Quick Links