Skip to content

DarrenTsung/ocean-breeze

Repository files navigation

Ocean-Breeze

Continuation of the perlin noise generator project I made previously. The sin-wave properties of the vertex are added on in the vertex shader (src/vshader1.vert) and the exercise was to figure out how to load / debug / compile shaders and link and use a program with those shaders. gif

Dependencies

  • OpenGL and GLUT.
  • Cmake.
  • Eigen.
  • C++ compiler with C++11 support.
  • Other dependencies are git submodules (glfw).

Build

Install Eigen on your computer:

'cd path/to/unzippedEigen'
'mkdir build'
'cd build'
'cmake ..'
'make install'

Clone this repository and update the git submodules (git submodule update).

Just run cmake to build the Makefile, and then make. The executable will be placed inside bin folder.

Commands

  • up, down, left, right - rotate the model
  • SHIFT + up, down, left, right - translate the model

Acknowledgments

About

shader implementation of sin wave movement on perlin noise in GLSL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published