A project I made for an OpenGL course I had once. Simple but fun. Was before I learned how to program shaders, would be fun to add some to this project. The code is somewhat of a mess - there are lots of things I would've done differently today, but I'm definitely happy with the results and all the (cheap) scares I've achieved!
Made in May 2010.
It's been too long since I was into C++. I managed to build it now using Visual Studio. Make sure to have the glut32.dll in the same folder as the .exe for running it (or put it in one of the system folders)
Controls:
Mouse | look around |
W | move forwards |
S | move backwards |
A | strafe left |
D | strafe right |
E | interact with environment (open doors, pick up keys) |
F | toggle flashlight on/off |
N | start over (used mostly to check for memory leaks) |
M | spin the carousel in the middle |
0 | toggle whether to fill polygons, or just draw outlines |
Esc | shut down the program |
Copyright � 2012 Marcus Magnusson
Distributed under the Eclipse Public License.