Skip to content

ealain/icg-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Procedural terrain with OpenGL 4.5

This code was written for the Introduction to Computer Graphics class at EPFL.

Screenshot and video

Project's promotion video

Installation

Clone the repository or download zip. Create build directory:

mkdir build
cd build
cmake ..
make

Execute the code:

cd project
./project

Use

You may try the following keys:

  • Q, E, A and D -- or the mouse -- to change the camera's orientation
  • W, S, Z and C to translate the terrain
  • T and G to move the camera in the scene
  • P and L to change the aspect of the terrain
  • B to enter Bézier mode -- select path with 8 and 9
  • 1 to enter FPS mode -- 2 to leave
  • F to toggle fog

License

Unless otherwise stated, this source code is subject to the terms of the Mozilla Public License 2.0.

About

Computer graphics project at EPFL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors