Jump to content

Turning Fluid Sim to Sample into a Vert Colour


Recommended Posts

Hi, I'm trying to replicate the vomit tool being talked about in this GDC talk:

I'm getting pretty confused by pretty much every step after simming the fluid. Im hoping someone can help me or point me in the right direction to learn about how I would:

  • Convert the fluid into an SDF
  • Write a script that will have every vertex in a grid sample the SDF
  • Use that value to return a colour value
  • Render out the resulting blob each frame 
  • aggregate all those frames into one texture that I can step through in engine

If anyone can help me with any information to get through those steps I would be hella thankful! 

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...