Forum: Poser - OFFICIAL


Subject: Underwater submarine

Helgard opened this issue on Jun 26, 2010 ยท 195 posts


Anthony Appleyard posted Fri, 01 August 2014 at 4:01 AM

As regards converting a "rounded the same upwards and downwards" procedural wave such as the procedural clouds surface, into a form more pointed on top like water waves, I have been playing about with equations.

If the vertical dimension is y, if the procedural clouds surface is y = f(x,z) :-

As a plain water wave train of only one wavelength moves, each surface molecule of water moves not straight up and down but in a vertical circle, forwards on top and backwards at the bottom. If a is the amplitude and b is how many waves in distance 2*pi, the plain wave train becomes a cycloid with pointed tops when a/b = 1.

Work out the procedural clouds surface at plenty of sets of values of x y z.

At each (x,z) point, work out u = integral y d x , and v = integral y d z

The lower integration limits should the same right through.

Replace each x by its x+u, and each z by its z+v.

In areas where this puts the points out of order in x or z and the y=f(x,z) surface is folded over itself, the wave has broken and there should be a foam patch there.