The Wayback Machine - https://web.archive.org/web/20200918132927/https://github.com/stanfortonski/Ocean-OpenGL
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 6, 2020
src
Mar 8, 2020
ss
Mar 8, 2020
Mar 8, 2020

README.md

Ocean-OpenGL

Simple Ocean OpenGL 4.1 C++

Ocean surface

YouTube video: https://www.youtube.com/watch?v=H5PJNWV3I7M

How it works?

This example do not calculate physics but do only simple interpolations between normalmaps, heightmaps. Tessellation allow us to divide plane and apply the heightmaps. Fragment allow us to calculate light so material color. For this project I used 14 normalmaps, 14 heightmaps and one texture with color.

Input/Control:

  R - start rotate camera
  T - stop rotate camera
  ESC - exit

Libraries:

Requirements:

  • Graphics card that support OpenGL in version 4.1
You can’t perform that action at this time.