A C project with various shader implementations in glsl and a graphical pipeline implementation in OpenGL.

You need to have glew, freeglut, and g++
Just use the provided script
./run.sh
There is a very rudimentary config system in features.h. You can change the scenes here.
| Key | Action |
|---|---|
WASD |
Move around |
Space |
Move upward |
C |
Move downward |
| Key | Action |
|---|---|
R |
Pitch up |
F |
Pitch down |
T |
Yaw right |
G |
Yaw left |
Q |
Roll clockwise |
E |
Roll counter-clockwise |
| Key | Action |
|---|---|
XYZ |
Move along +X, +Y, +Z |
XYZ+Shift |
Move along -X, -Y, -Z |
| Key | Action |
|---|---|
M |
Cycle polygon mode: Point → Line → Fill |
1 |
Switch to perspective projection |
2 |
Switch to orthogonal projection |
B |
Cycle through available shader programs |
Shift+Q
The project structure is quite messy, it should be fixed sometime.