Jump to content
velk

Objects instanced on collider geometry instead of particles

Recommended Posts

Posted (edited)

Hi,

I have a very simple DOP network with 2 static object colliders. (Houdini 16.5)

In my scene, I'm instancing sphere on the particles from the DOP simulation.

The spheres are instanced perfectly to the particles of the dynamic sim, but they are also wrongly getting instanced on each verts/points of my collider objects (the 2 staticobjects on the top left).

My instancer node in the scene is set to "full point instancing" (in the point instancing option), which could be the problem, but that is the only option that instances the spheres to my partciles.

Any tip would be greatly appreciated.

Thanks

houdini1.JPG

Edited by velk

Share this post


Link to post
Share on other sites
Posted (edited)

Are you just keeping the dopnet as the output with the display flag on it? If so, go to the object merge tab and change from "*" to something like "pop*" or just the whole dopobject name "popobect1". This way, you're only importing the particles from dops and not the rest of the geo.

dopmerge.png.617daad127a734ae4d28314dc1d08180.png

Or use dopio

 

ordopio1.png.58bf99b31d3b26cda3e6a1c994acdfba.png

Edited by jamesr
added screenshots

Share this post


Link to post
Share on other sites
Posted (edited)

Hey James,

Thanks for the reply and recommending 2 solutions!

I kept experimenting with my limited knowledge of Houdini and used the workaround attached. Added a separate Delete node (eliminating the collider object) and used the result from that to instance my spheres onto.

Your first solution works great and is much more elegant. I knew it had to be a matter of checking a box or adding a simple parameter somewhere.

It feels counter-intuitive to have to "filter" out the collision objects whenever performing a DOP sim. But I guess it's the normal workflow? 

houdini_2.jpg

Edited by velk

Share this post


Link to post
Share on other sites

No, you shouldn't have to do any deleting like that in DOPs.

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

×