Jump to content
hebi

Solver SOP: output multiple objects (volumes)?

Recommended Posts

Hi odforce people!

Playing with the "solver" SOP, I was able to build some sort of dissolve effect (.hip file attached):

  • geometry is converted to VDB
  • each frame,
    • I'm displacing the surface and
    • boolean-intersecting the volume:

volume_surface.png

This works great but now I'd like to output not only the shrinking volume but also the "delta" volume (the boolean difference between the resulting surface and the previous frame's surface) because I want to emit particles from it.

volume_delta.png

Using a second "vdbcombine" node, I'm able to compute it but if I "merge" the volumes, they'll both be fed back into the solver loop and this creates infinite numbers of primitives after just a few frames. How can I prevent this from happening? Also, how can I split the results outside the "solver"? I tried adding group nodes and modifying the "name" attribute but can't get it running. Maybe solving the first issue will solve the second one.

solver_network.png

Any help would be greatly appreciated!
Thanks, Hebi

Edited by hebi

Share this post


Link to post
Share on other sites

Thank you so much! I had tried the "delete" and "split" nodes but only inside or outside the solver, not both. Makes total sense now, thanks again :)

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

×