Jump to content

Solver SOP: output multiple objects (volumes)?


hebi

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