Skip to content

fares-soliman/Ocean-Simulator-IFFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ocean Simulator

Ocean Simulator built in OpenGL

ocean_demo.mp4
  • Generates frequency spectrum using the JONSWAP spectrum equation via compute shaders
  • Converts frequency into time domain by leveraging the Cooley–Tukey algorithm to perform the Inverse Fast Fourier Transform (IFFT)
  • Includes sub surface scattering, specular and environment reflections, and foam accumulation
  • Wind direction and speed, ocean depth and fetch, and numerous other parameters can be tuned for any desired effect

Example 1 - Light Winds

ocean_calm.mp4

Example 2 - Strong Winds

ocean_windy.mp4

About

Ocean simulator using IFFTs in OpenGL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages