ocean displacement with deformed geometry

   1660   0   1
User Avatar
Member
9 posts
Joined: Oct. 2016
Offline
Hello!

I am making a geometry deformer to simulate large waves for a student film (we don't have the resources or time to sim out a large tidal wave), and I'm having difficulties with the shader. I'm starting with the default ocean shader to get a feel for it, but the displacement and creation of the white caps and foam are being stretched and look wrong due to the deformer. My thought process is, is there some way to include my deformer in the displacement process so it is factored in when white caps/foam are made? If not, is there some other way to effectively use the ocean shader on a deformed grid (without losing the white caps/foam)?

my files are attached, I apologize for the messy VEX in the hda, I've been hopping between VOPs and VEX in its development. Also note: the displacement maps are set to .picnc instead of .pic because I am working in Houdini apprentice currently.

Thank you!

Attachments:
waveDef.zip (133.5 KB)

  • Quick Links