Jump to content

How to use whitewater with deformed ocean only (no FLIP sim)?


kemijo

Recommended Posts

I posted about this on the sidefx.com forums and got no response. This is about a feature that SESI has shown and discussed in the Houdini 17 Launch Presentation video. I'll link to the original post and copy it below.

https://www.sidefx.com/forum/topic/61375/

"In the Houdini 17 Launch Presentation video https://vimeo.com/293116223 [vimeo.com] at around 1:20:00, Scott Keating briefly shows and mentions using the whitewater solver for spray and foam with only a deformed ocean surface (no underlying FLIP sim needed). I can't seem to find anything on how to actually do this in Houdini 17. The whitewater nodes and shelf tool still expect a FLIP sim. Can anyone point to what I am missing?"

Anyone know how to do this? Or at least can confirm that this feature is missing? It'd be great to know either way. Thanks!

 

Link to comment
Share on other sites

When setting up your Whitewater Source SOP you can pipe the water (eg ocean) into the left input and any emitter you set up into the second input. I've only tried this one time but I used the cached out points from the water simulation rather than the surfaced data as the left input. For the second input you can use any geometry you want. Set an emit attribute on it then in the Whitewater Source turn off all of the Emit from Curvature, Acceleration and Vorticity. Instead use the Extra Sources (by enabling "Add Extra Sources") which by default uses emit attribute you already set up as the Emission Attribute. I used this method to generate whitewater from obstacles in the water (eg rocks) so I haven't tried it for what you want. However, (guessing a little here) you should be able to use something like this for generating whitewater from the surface too using traditional methods to isolate sources such as whitecaps. You'll basically need to grab the surface and make your own curvature, acceleration and vorticity calculations.  

  • Like 1
Link to comment
Share on other sites

Further thought: the easiest test would probably be just to isolate points in the whitecaps as your source, make sure they have velocity set  and set the emit attribute to 1 for those points and pipe that into the second input of the whitewater source as I described above to see what you get.

  • Like 1
Link to comment
Share on other sites

  • 5 months later...
  • 4 weeks later...

Hey! Sorry I didn't realize I had not responded to this. Grasshopper, yes I'm aware I can create my own source points to use with the whitewater solver, but it was designed to be used with a FLIP sim. I was asking about what Scott Keating suggested was a new feature in the linked video - using the whitewater solver with only an ocean spectrum. The shelf tool does not let you create the whitewater nodes unless you have a dynamic fluid node selected. Just checked the python lib that the shelf button runs, it still seems to expect a fluid node only in 17.5.

DANjustYEAH, nope, still no idea how to make this work as suggested in the video and no response yet from someone that knows whether this is a thing or not.

Link to comment
Share on other sites

  • 5 months later...

Hello, 

I needed to this this today and I just figure it out.

In the white water solver, for the "Source Volume" you can use the surface SDF generated from an Ocean Evaluate node (volume tab).

In the "Emission Source" you can use any particles converted to a vdb named "emit" and that will work.

For instance, you could use the "Ocean Foam" to generate the source particles and merge them with any other particle source that you wish.

I hope that helps.

 

Cheers,

Dani

Edited by danillusi
Link to comment
Share on other sites

  • 4 months later...
On 2/21/2020 at 4:15 PM, danillusi said:

Hello, 

I needed to this this today and I just figure it out.

In the white water solver, for the "Source Volume" you can use the surface SDF generated from an Ocean Evaluate node (volume tab).

In the "Emission Source" you can use any particles converted to a vdb named "emit" and that will work.

For instance, you could use the "Ocean Foam" to generate the source particles and merge them with any other particle source that you wish.

I hope that helps.

 

Cheers,

Dani

I'm trying this...but to no avail. I feel I'm missing something. would you care to share a example file?

much obliged

Link to comment
Share on other sites

  • 1 year later...

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