Jump to content
Sign in to follow this  
Masoud

How can I convert the Flip-Fluid particles to an SDF

Recommended Posts

Hi guys,

I need the distance (depth) of each point from the surface of a FLIP-Fluid surface.

1) First, I tried to use the "surface" primitive attribute of the Flip-Fluid simulation output (as it is) in a point wrangle, but it didn't work.

2) Then I converted the particles to VDB using "vdbfromparticles" SOP, now I don't know what value should be set for the "Voxel size" and "Point Radius Scale"...

3) Finally I converted the particles to an SDF surface using the "particlefluidsurface" SOP. It works but I think this is not a good workflow to achieve the depth value of points, right?

 

So, what is the best way to convert the Flip-Fluid particles to an SDF?

 

Thanks for helping.

Depth from FLIP_Fluid.jpg

Depth from FLIP_Fluid.hip

Edited by Masoud

Share this post


Link to post
Share on other sites

Distance from fluid surface should work.

You nee calculate distance of the each point to the surface by xyzdistance

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
Sign in to follow this  

×