foam from ocean and collision objects

   661   4   2
User Avatar
Member
51 posts
Joined: 7月 2015
Offline
hi,

i have a terrain island with some beaches and cliffs, and an ocean.
is it somehow possible to create foam from the ocean and the island and other objects in the ocean as a collision object?
as "fake" foam, without going into a flip sim...
any hints are welcome.

Edited by soulcage_dpt - 2024年9月30日 13:24:41

Attachments:
island_foam.png (1.3 MB)

User Avatar
Member
252 posts
Joined: 1月 2008
Offline
Ive done this kind of stuff with curves emitting particles.

Taking the intersection of water/objects, creating lines and animate them traveling towards the shore.
You can use the velocity from some pyro sims to get swirly motion and render density as bubbles.
User Avatar
Member
51 posts
Joined: 7月 2015
Offline
thx for the reply and the hint. this is a cool idea and i will try.

just thinking of using the ocean as a heightfield in conjunction with the shallow water solver to create foam masks. have to do some research, because i dont know yet how to start.
i just saw a tutorial where a wake from a boat was solved with the shallow water solver.
Edited by soulcage_dpt - 2024年10月3日 06:37:20
User Avatar
Member
4 posts
Joined: 10月 2023
Offline
soulcage-dpt
thx for the reply and the hint. this is a cool idea and i will try.

just thinking of using the ocean as a heightfield in conjunction with the shallow water solver to create foam masks. have to do some research, because i dont know yet how to start.
i just saw a tutorial where a wake from a boat was solved with the shallow water solver.

Hi, if you ever succeed in your project and you would like to share the technique or the hip files that would be nice. Thank you.
User Avatar
Member
51 posts
Joined: 7月 2015
Offline
in the end i was able to do it with shaders in-render without any simulation, like here.
https://youtu.be/bF_dIgupNuA?si=sRIweVYbFczlm4Vz [youtu.be]

https://youtu.be/wODhfIgLlSw?si=iXL3JMl1cTr17RV7 [youtu.be]
  • Quick Links