Skip to content
forked from deiss/fftocean

Ocean Simulation based on J. Tessendorf's paper - C++, OpenGL

License

Notifications You must be signed in to change notification settings

Throbbing/FFT-Ocean

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project : FFT-Ocean

Author : DEISS Olivier

Last update : 02/01/2015

This project is a basic implementation of J. Tessendorf's paper : http://graphics.ucsd.edu/courses/rendering/2005/jdewall/tessendorf.pdf

Language : C++
Libraries : OpenGL, Glut


Youtube video :

http://youtu.be/JSNyfPAvYbg

Images :

Screenshot 1 Screenshot 2


The project is only available for MacOS and Linux users AT THE MOMENT. Some changes will come to make it also run on Windows platforms.

I wrote the project in french, so you may not understand some directories names or file names. I'm working on the translation of the whole sourcecode. All the files in the directory Ocean are now translated, excepted the functions that belongs to other files. Translation still in progress.


You can find the following directories :

  • Affichage : GUI of the project, creates a window, deals with the keyboard etc
  • FFT : my own implementation of the Cooley-Tuckey algorithm, for scientific purposes. This can be replaced by using CUDA library.
  • Ocean : classes that are specific to the project

You can find both the classes Camera (to move over the water with the Z, Q, S, D keys) and Affichage (to provide the GUI) in my repositories.

Feel free to leave any comment about the project, or if you want to improve it.


Compilation :

  • MacOS : add GLUT, OpenGL and ApplicationServices frameworks
  • Linux : $ make && make clean

To close the application :

  • MacOS : cmd+Q
  • Linux : alt+f4 or escape key

To do :

  • comment files in Affichage and FFT directories
  • add Windows version and information to compile the project (libs etc)
  • use another library instead of GLUT which is deprecated
  • add Perlin noise to compute further waves at a lower cost
  • add textures to the waves
  • keyboard control to switch parameters while running the program

About

Ocean Simulation based on J. Tessendorf's paper - C++, OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.0%
  • Makefile 3.0%