Jump to content

erodding vdbs with pops


rich_lord

Recommended Posts

I'm trying to set up an erosion effect using vdbs. I've found a few example files and have managed to set up the effect. It uses a vdb combine in a sop solver. This cuts away the surface and updates the collision of the vdb.

However, I'm not getting any run-off. The particles just cut straight through the vdb and make holes. I don't know what to change to stop the particles doing this and make them flow down the surface.

I can achieve this effect with polys, by pushing the geo along its normal, but id like to get it to work with VDBs also.

Any idea what I need to do to make my setup work better? Thanks!

erode.hip

erode.jpg

Edited by rich_lord
Link to comment
Share on other sites

Thanks BRZ32. Yeah, I could grab that and use it as a force. I was hoping the particles would automatically run down the surface, like they do before I start eroding it. 

Alot more points with much smaller diameters worked a little better.

I'll keep experimenting!

Link to comment
Share on other sites

The solver you have going is exactly right but there isn't a force strong enough pushing them along the surface to keep it from just sinking. if you used the cross product of that gradient, it would be a force pushing along the surface rather than just away from it.

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