3D version of the first Micro Machines game for the Computer Graphics course.
- Bruno Henriques (@zettca)
- Luís Silva (@luismrsilva)
- Sofia Reis (@sofiaisreis)
- Make sure you have g++, make, OpenGL, GLU, GLUT and SOIL installed. On Ubuntu (and variants), this command should install all of them:
sudo apt-get install g++ make freeglut3-dev libsoil-dev
-
Create a directory named
obj
inside the projet root directory, otherwise you'll get a bunch of errors. -
To compile, just run:
make
This will create an executable named micromachines
.
To run Micro Machines, from the project root:
make run
or, if it's already compiled:
./micromachines
If you wish, it is possible to compile the project without libSOIL (and no textures).
To do this, simply define NOSOIL
when compiling.
Use the arrow keys to move the car.
- 1 - Ortogonal Top View
- 2 - Perspective Top View
- 3 - Perspective Car View
- 4 - Ortogonal side view
- S - Pause
- R - Restart
- L - Enable Lighting
- N - Toggle Night/Day
- C - Toggle Candle lights
- H - Toggle Car Lights
- G - Toggle Smooth Lighting Model
- P - Toggle Car Ghost Mode (no collisions)
- B - Show Collision (AABB) Boxes
- T - Toggle (weird) Teapot