This code was written for the Introduction to Computer Graphics class at EPFL.
Clone the repository or download zip. Create build directory:
mkdir build
cd build
cmake ..
make
Execute the code:
cd project
./project
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
Unless otherwise stated, this source code is subject to the terms of the Mozilla Public License 2.0.
