Jump to content

Grains - how to make 'em bounce off surfaces


Whatsinaname

Recommended Posts

Particles will bounce off a collision object, and I can influence that using the collider's Bounce parameter. Great.

However, if I change my particles to grains, they will not bounce anymore, but slide. No matter what I do and this goes for pop grains as well as for Vellum grains. Settting ispbd to 0 is not a real solution, as this means I am not using PBD/Grains, anymore.

Any idea?

 

Here's a very simple test scene, using a pighead. Just activate/deactivate the POP Grains node in DOPs.

 

 

 

collision_grains.hipnc

Edited by Whatsinaname
Link to comment
Share on other sites

Thanks, Karl, but unfortunately that is not the solution I am looking for. Setting ispbd to 0 will turn off Position Based Dynamics, which is what separates Houdini particles from grains. 

I was wondering if any bouncing behavior can be achieved with Houdini grains/PBD at all.

It seems like grains and Vellum grains in their current implementation are incapable of bouncing.

Link to comment
Share on other sites

Look closer. I know it seems like setting ispbd to 0 would disable the grains entirely, but it doesn't! The particles bounce, but still maintain distance. It's hard to see in your test scene so I made one that illustrates this better.

ispbd_test.hipnc

The ispdb flag does not disable grains, it is there to tell the pop solver that a given particle is under control of pdb, so don't apply all the regular pop physics. Indecently,  before I was aware of this flag I would fake a bounce by giving each particle a random upward velocity on the first impact.

 

Edited by KarlRichter
  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...

According to Jeff lait from SideFX, PBD in its current installment won't allow any bouncy behaviour. So Karl's solution might be the only viable one, deactivating PBD behaviour in order to make the particles bounce.

(He says it in this video, at about 27:40)

 

 

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...