Skip to content

Latest commit

 

History

105 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# ValGrindr — Dinosaur Adventure Golf
COS344 Graphics Assignment | University of Pretoria
Team: Luan Reyneke, Daniel Cohen, Donovan Nelson

## Build & Run

    make
    ./main

If you get an OpenGL version error on Mesa/WSL, set:

    export GALLIUM_DRIVER=d3d12
    export MESA_GL_VERSION_OVERRIDE=3.3

---

## Keyboard & Mouse Controls

### Movement
| Key        | Action                          |
|------------|---------------------------------|
| W          | Fly forward                     |
| S          | Fly backward                    |
| A          | Strafe left                     |
| D          | Strafe right                    |
| E          | Fly up                          |
| Q          | Fly down                        |

### Camera
| Input                  | Action                                      |
|------------------------|---------------------------------------------|
| Right-click + drag     | Rotate camera (disables auto-align)         |
| F1                     | Re-enable auto-align (levels the horizon)   |
| Tab                    | Cycle projection: Perspective → Fisheye → Orthographic |
| = (equals)             | Zoom in (decrease FOV by 10°)               |
| - (minus)              | Zoom out (increase FOV by 10°)              |
| N                      | Toggle night vision (green IR effect)       |

### Time of Day
| Key | Action                          |
|-----|---------------------------------|
| F2  | Slow down day/night cycle       |
| F3  | Speed up day/night cycle        |

### Misc
| Key    | Action                              |
|--------|-------------------------------------|
| Space  | Reset drone to origin               |
| Escape | Quit                                |

About

Homework assignment for computer graphics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages