Jump to content
pau22

Ripple solver on a deforming mesh

Recommended Posts

Hi!

I wonder if it's possible to use the ripple solver, either before or after meshing a flip sim, to get extra details on the surface.

I've tried to transfer the fluid surface mesh positions to a grid, so the geometry stays constant, without much success. I've looked some other threads but all the examples uses a static geometry. 

 

Any idea? 

Thanks!

 

 

Share this post


Link to post
Share on other sites

Hi, you can try this way:
create a flat grid roughly matching shape of your flip simulation. Simulate ripples on flat grid. Then transfer position offset from deformed grid to the static one (input to ripple sim). Then attrib transfer those offsets from flat grid to flip mesh and displace points with the offset.

Something like that could work, but you will need a lot of geometry resolution to capture and transfer small details.

 

Another way would be to get more details during shading using displacement. UV-ing flips shold be easy with the new flip tools.

Share this post


Link to post
Share on other sites
1 hour ago, Juraj said:

Hi, you can try this way:
create a flat grid roughly matching shape of your flip simulation. Simulate ripples on flat grid. Then transfer position offset from deformed grid to the static one (input to ripple sim). Then attrib transfer those offsets from flat grid to flip mesh and displace points with the offset.

Something like that could work, but you will need a lot of geometry resolution to capture and transfer small details.

 

Another way would be to get more details during shading using displacement. UV-ing flips shold be easy with the new flip tools.

Yes, it works! Thank you Juraj!

However, I will try to use displacement at render time because transferring the position offset directly to the flip mesh requires quite a lot of resolution.

Cheers!

ripple_to_deforming_mesh.png

Share this post


Link to post
Share on other sites

Hello, can you elaborate more on how to " transfer position offset from deformed grid to the static one (input to ripple sim). Then attrib transfer those offsets from flat grid to flip mesh and displace points with the offset." 
 

I get it in theory but am working at scratch from home atm and looking for a bit of a head start.

Thank you!

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

×