Jump to content

Setting material groups


Recommended Posts

I have a model with UVs and surface IDs (polygon groups) from Modo. When I import it, Houdini generates UV islands for each group and adds a shop_materialpath appending the group name, e.g, "/shop/wall" as a polygon attribute.

 

I would like to use either the island number or the shop path in the group parameter in a material node to apply different materials. I know its pretty straightforward but haven't been able to create a group based on either one. I would prefer to base the grouping on the UV islands but knowing both would be good.  

 

If someone can point me in the right direction, much appreciated. 

 

 

 

 

Link to comment
Share on other sites

OK, got it. I can use connectivity and partition to create the groups by material names after some clean-up with a prim wrangle. HIP file attached in case it helps anyone else. I haven't sorted out how to identify the material group by UV island index but will post it if i do. 

Kevin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...