• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    C++
  • License
    MIT License
  • Created almost 4 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OpenGL Demo: Simulating Ocean Waves with FFT

OceanFFT

Realistic ocean wave simulation, primarily based on J. Tessendorf's paper, using OpenGL compute shaders. Checkout the demo video here.

demo_image

In the quest for more realism, a different spectrum is used than the Phillips spectrum mentioned in the original paper. Stockham formulation of FFT is used to better map the problem to the GPU and avoid expensive bit-reversal operation required for the vanilla Cooley-Tukey algorithm.

Build Instructions

  1. Clone recursively with submodules via git clone --recurse-submodules git://github.com/achalpandeyy/OceanFFT.git
  2. Run CMake in the root directory

Dependencies

Uses my OpenGL framework Ogle as a submodule.

References