kev2 Posted June 26, 2015 Share Posted June 26, 2015 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. Quote Link to comment Share on other sites More sharing options...
pbarua Posted June 26, 2015 Share Posted June 26, 2015 Yes it can be done easily. Can you post your file? So I can give you better solution. Quote Link to comment Share on other sites More sharing options...
kev2 Posted June 26, 2015 Author Share Posted June 26, 2015 Sure thing, attached. Much appreciated Pradeep. churchWall.hiplc Quote Link to comment Share on other sites More sharing options...
kev2 Posted June 29, 2015 Author Share Posted June 29, 2015 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.