Jump to content

[SOLVED (sort of)] Threshold issue when converting to SDF


iamyog

Recommended Posts

Hi

 

I'd like to reshape a volume in a volumeVOP by using SDF informations.

While it works properly on a static volume, I'm facing a problem with something evolving through time : please have a look at the attached file, my input is a simple smoke sim.

I can't find a way to compute the SDF information right inside the smoke solver (the only gas microsolver are for Geometry or particles) so I tried to convert the "DOP imported" sim.
Problem is that either via VDB or standard volumes, I obviously need to specify an IsoValue that define what's inside or outside. I suspect this threshold to be the cause of some flickering when I convert that back to normal fog.

Just flipbook a few frames on my example file, you'll quickly understand what I mean : the low density edges are flickering. It is indeed visible afterwards in my reshaping and at render time. I know I can reshape by using the density only but I'd like to use the SDF.

 

Is there any way to prevent this behaviour ? or maybe there's a simple way to output SDF values from the solver itself.

 

Thanks

smoke_to_sdf.hip

Edited by iamyog
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...