Jump to content

Sourcing whitewater from points


db.digital

Recommended Posts

Hello! I feel like this has an easy solution that I'm just totally missing, so at the risk of sounding dim:

I have some scattered points over some geometry, and I want to use those scattered points to emit/create whitewater. What is the process involved in having points used in the whitewater solver?

Thank you!

Link to comment
Share on other sites

I think I'm following what you're doing, but I'm having trouble applying it to what's in my scene. I've attached a hip file because I'm not quite sure how to describe what I'm trying to do. I have isolated points over a deformed grid to be used as whitewater (and the reason I'm not using the standard ocean displacement is due to the hda I'm using)

Thank you!

 

whitewater.zip

Link to comment
Share on other sites

You're almost there. Use a trail sop to calculate the velocity of your surface mesh, then use an attribute transfer to transfer the velocity to your scattered particles. Use that as the source for the whitewater. If you want the particles to float, you will need to make a surface VDB from the water mesh and plug that into the whitewater solver as well.

 

 

Link to comment
Share on other sites

VDBs cannot calculate with such a thin surface. Do a extrude volume before your vdbfrompolygons node. It always has to have thickness. 

However that is not your main problem, I believe that the whitewater source node is supposed to be taking in dop import from a sim that was already previously done. The whitewater solver I believe needs to be pointed to your "dop import fields" node that pulls in your flip sim. (I realize you don't have a flip sim, maybe make one? Not sure what you are trying to achieve with this setup)  It takes the surface and vel volumes from the flip sim along with the points you give it as well. So you making a vdb from polygons is kindof useless anyway. 

houdini 16 has a ocean foam node that calculates all those points for you. You don't need to do all that calculation (measuring curvature) you are doing

Also your ocean is tiling. You can fix that by just having a grid as big as you want your ocean and scattering points on it with relax turned on. Put like 2000 points in the scatter node. Plug the scatter node in the first input in your ocean spectrum node. You won't get tiling anymore because the new ocean spectrum randomizes the oceans on points which is incredible!

Edited by Tyfx567
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...