Jump to content

SDF from density in Dops


Drughi

Recommended Posts

In this article: https://www.gridmarkets.com/alejandro-echeverry  Alejandro describes the process of doing a pyroclastic smoke simulation. And he says: "Because we need a signed distance field to better compute the necessary fields, I did convert the density field to a SDF representation." But I can't figure out how to do that.

Edited by Drughi
Link to comment
Share on other sites

Regards speed, I think it mainly depends on the method, but the vdb one is the best in terms of control, because you can continue to filter and reshape the field using the vdb arsenal. Sometimes the gas reinitializesdf microsolver is faster, but it can also become a weird bottle neck with huge boundaries, for example if you want to compute a gradient out of an sdf and you need the gradient to cover the whole volume container or to have a better extrapolation, in this case vdb can be a pain because of his sparse nature, of course you can expand or extrapolate your sdf using the amazing vdbactivatesdf, but that can be even slower than to use the microsolver directly.

  • Like 1
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...