Skip to content

A real-time ocean surface simulated using Tessendorf's algorithm and OpenGL.

Notifications You must be signed in to change notification settings

jiasli/OceanSurface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ocean Surface

Authors: Jiashuo Li, Xie He, Ting Gong

A real-time ocean surface simulated using Tessendorf's algorithm, rendered with OpenGL. This is the team project for USC CSCI-580 Computer Graphics in Fall 2015.

This project is only designed for Windows and should be compiled with Visual Studio 2015.

Libraries Used

  • FFTW for Fast Fourier Transform.
  • GLFW for window management.
  • GLEW for GLSL.
  • SOIL for screen capturing.
  • FFmpeg for converting screenshots to video.

Framework

The framework is based on the code from Learn OpenGL.

Algorithm

The algorithm is based on Tessendorf's paper Simulating Ocean Water.

Our Paper

You can also find our paper Simulating Ocean Surface under release. It explains the implementation in detail.

Result

We made two videos for a wavy surface and a calm surface with N = M = 1024.

Here are some screenshots.

About

A real-time ocean surface simulated using Tessendorf's algorithm and OpenGL.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages