Jump to content
hampuseh

Applying material to specific instance

Recommended Posts

Greetings!
I will get right into it:
I have 10 different instances scattered along 6000 points.
I have textured each instance(on geometry level) in substance painter.

I also have 9 different materials in Houdini for each specific instance(these are not assigned yet).

HOWEVER, I do not know how I assign the above materials to the specific instances. 

For example. I have a material called splinter0-9. My instances are also called splinter0-9.
So what I want is to assign material splinter0 to instance splinter0. 

I think a good approach would be to use stylesheets however I have never used that before and would love to hear if someone has any ideas. 

I also don't know how to group based on individual instancepath, if I knew that than I guess I could assign everything manually based on groups.

Share this post


Link to post
Share on other sites

how about assigning the material before you scatter the instances? all you need to make sure of when after the scatter is that each of them still holds the shop_materialpath primitive string attribute

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×