Jump to content
breadbox

Debris source

Recommended Posts

Can you get unique point id's from the "debrissource" SOP tool?

I need this because the "scatter points" have an age and so they die which tosses ptnum out the window for instancing. It seems like ID would be a built in option for this sort of thing?

Share this post


Link to post
Share on other sites

Many nodes in Houdini are just collections of other nodes. The debris source is one of them. Which means you can simply dive in and change the behavior however you want

Example:

 

 

odf_debris_id.hip

Share this post


Link to post
Share on other sites

yea i noticed you could dive into it but wasn't sure the "standard" way to make an id... looks like in this case its just ptnum. 

In the case of the debris asset, I was worried about using id=point number because it seemed to adding, removing and changing point numbers on the output and creating an id based on that might lead to bad or inconsistent results. Now I see that you added the ID before the point culling "visualization" wrangle happens which makes it work.

Now I also know how to also add in a rest position! It looks like this mysterious asset at its heart is a fancy scatter points.

Cool!

 

 

 

 

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

×