FFT Ocean simulation [Share tox]

Hi,

This composant allows you to simulate ocean waves in realtime.
The rendering is optimised by using the Inverse Fast Fourrier Transform algorithm.
This allows you to change, on the fly, parameters like the wind force, the viscosity of the waves, the field size, etc.

Overview:

VIDEO: Vimeo

Parameters:

config

Credit & references

All the math behind was strongly inspired by the creator of OREON ENGINE thanks to his share on the subject:

For more theorical infos, check the original paper writen by Jerry Tessendorf:

Download

FFTOcean.tox (23.8 KB)

6 Likes

This is fantastic, thank you!

1 Like

Beautiful! And runs so smoothly too.

Is there a way for a noob to change the style to a PBR-like surface material to make it look like actual water?

1 Like

you can, I started fiddling around with it, but haven’t gotten it all worked out yet. I think the ideal solution is to generate a physically accurate normal map representing real angles of the geometry.

FFTOcean_pbrWIP.tox (28.2 KB)

4 Likes