Skip to content

This is an OpenGL based little lake simulation demo using IFFT algorithm. The height map of the lake surface is generated by implementing IFFT on a Phillips spectrum texture, using so called compute shaders (GPGPU) to generate in real time. The lighting model is simply Blinn-Phong model and further optimizations are expected.

Notifications You must be signed in to change notification settings

supertan0204/IFFT-Lake-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IFFT-Lake-Simulation

This is an OpenGL based little lake simulation demo using IFFT algorithm. The height map of the lake surface is generated by implementing IFFT on a Phillips spectrum texture, using so called compute shaders (GPGPU) to generate in real time. The lighting model is simply Blinn-Phong model and further optimizations are expected. The final result looks like:

image

and

image

Please access my thesis for this project here (in Chinese).

About

This is an OpenGL based little lake simulation demo using IFFT algorithm. The height map of the lake surface is generated by implementing IFFT on a Phillips spectrum texture, using so called compute shaders (GPGPU) to generate in real time. The lighting model is simply Blinn-Phong model and further optimizations are expected.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published