Jump to content
pamplemousse

Looping FLIP Fluid Sim

Recommended Posts

Hi, 

I'm trying to loop a FLIP fluid simulation, it's a simple water container with various floating objects interacting with the water. I need to loop the sim and didn't have any luck with the "Make Loop" node from the Games shelf. Anyone know how to get this to work with a fluid sim?

Thanks! 

 

 

Share this post


Link to post
Share on other sites

You may try to key animate curve with particle scale before convert them to SDF,first key value is 0-1-0,second is 1-0-1.

Share this post


Link to post
Share on other sites

I've had decent results by creating an sdf of the simulation, mixing it with a timeshifted copy of itself so that it loops seamlessly, and then meshing it. Obviously results may vary as you wanna have the start and end as similair as possible; some blending artifacts are going to be visible.

Perhaps a better solution could involve calculating some kind of difference velocity field towards the end of the sim by comparing it to a timeshifted copy of itself, and then use that to advect the present-time sim... Then blending the two results as above. Just a thought though, wouldn't really know how to set this up properly.

Edited by Neronie

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

×