Attribute from uv islands

   862   5   0
User Avatar
Member
102 posts
Joined: April 2017
Offline
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 - July 15, 2024 18:55:22
User Avatar
Member
8045 posts
Joined: Sept. 2011
Offline
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 - July 15, 2024 19:17:02
User Avatar
Member
102 posts
Joined: April 2017
Offline
Thank you.
This was my approach but I feel it's insufficient :/

First I assigned the groups and then the attributes.


User Avatar
Member
112 posts
Joined: July 2005
Offline
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
User Avatar
Member
222 posts
Joined: May 2017
Offline
Hi, in the hip below there are two approaches you can try:

Attachments:
rename_uv_name_attrib.hiplc (167.7 KB)

User Avatar
Member
102 posts
Joined: April 2017
Offline
viklc
Hi, in the hip below there are two approaches you can try:

Thank you so much for the file.
  • Quick Links