Attribute from uv islands

   2009   5   0
User Avatar
Member
107 posts
Joined: 4月 2017
オフライン
I have a simple object with 6 uv islands I wanted to give every island an attribute name so I can use that in the shading.
In old Houdini (Partition) node was good solution but it's deprecated now and the recommended node is (Groups from Name) but I didn't know how to use it.

I have (connectivity) node after the object so every uv island has a number.




Any help much appreciated. Thanks





Edited by jomaro - 2024年7月15日 18:55:22
User Avatar
Member
8177 posts
Joined: 9月 2011
オフライン
Why do you need anything beyond the connectivity node? if you want to enter a name manually for each island, use the name sop and select by partition attribute using the name's group field. You can even do every rename on the same node using the multiparm. Alternatively, use a string array in a wrangle and index into the array using the partition attribute.
Edited by jsmack - 2024年7月15日 19:17:02
User Avatar
Member
107 posts
Joined: 4月 2017
オフライン
Thank you.
This was my approach but I feel it's insufficient :/

First I assigned the groups and then the attributes.


User Avatar
Member
299 posts
Joined: 7月 2005
オフライン
i just happen to be uv islanding now.

like jsmack says connectivity sop, then if you want to go your way with a groups_from_name sop , follow it with a group_rename sop and use that multiparm so just one node to rename.
hopefully that's what you're looking for
Yay! I'm certified! https://media.sidefx.com/uploads/accounts/badges/certified_instructor_badge_AkLiM3h.svg [media.sidefx.com]
User Avatar
Member
247 posts
Joined: 5月 2017
オフライン
Hi, in the hip below there are two approaches you can try:

Attachments:
rename_uv_name_attrib.hiplc (167.7 KB)

User Avatar
Member
107 posts
Joined: 4月 2017
オフライン
viklc
Hi, in the hip below there are two approaches you can try:

Thank you so much for the file.
  • Quick Links