bifrost Posted June 24, 2016 Share Posted June 24, 2016 Hey guys! How is it going? So I have been working on a way to mix and match flip fluids and infinite ocean geo. I thought the biggest problem that I would run into would be matching the displacement. Turns out that process was pretty simple. Instead I got stuck into a very petty issue. So whenever I am meshing my particles, the height doesn't match up. It's either a bit up or down. Any ideas how can I fix this? Or is this just a resolution thing? Thanks! Quote Link to comment Share on other sites More sharing options...
BRZ32 Posted June 28, 2016 Share Posted June 28, 2016 One option is to stitch the flip simulation to the ocean surface at the seams in a post process. The first thing is make sure you're only keeping the top surface side and deleting away the underside so you don't wind up with overlapping surfaces later. Easiest way to do this is to write out the surface volume along with your flip simulation and sample that volume using your newly created mesh. The underside faces will turn black and you can delete them that way. Next you want to create a 0-1 ramp from the center of your flip mesh to the edge so the edge is white and the center of your sim is black. You can use that ramp to blend to the normals and point position of the ocean geo. They will match at the very edge and slowly deviate into the simulation towards the center. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.