Final Project - CSE 167 - Patrick Moench
Comments
My project came out almost exactly as I had intended, except for the ugly textures. Basically, my program is the beginnings of a first person shooter. It uses a map reader to read in a file and create a 3D world that the user can then move around in. It also uses time based movement instead of the frame based movement that we've used before. This means that no one will be able to move around faster than someone else, even though they have a better graphics card.
The map reader uses a file that contains all the information needed to create the 3D environment. Each surface is described as a quad with a texture or material properties. This allows for a very dynamic program. Users could create their own maps if they wanted. Looking at the example map should give enough insight in to how to create a map of your own, not that you'd want to.
If you want to go for a test run, get the zip file and unzip it.Then, run the executable. It will say something about missing textures, but that's ok. I took them out to save space. If something else goes wrong, let me know. (pmoench@ucsd.edu)
Note: this program runs annoyingly slow on the lab computers.
Movement Controls:
This might be easier for some of you... the movement controls are the same as in Counter-Strike. Now, for those of you who haven't played cs:
| w | move forward | |
| a | strafe left | |
| s | move backward | |
| d |
strafe right |
|
| mouse | controls view | |
| shift | hold to walk | |
| control | hold to crouch |
Other Controls:
| z | toggles wire frame mode | |
| x | toggles lighting | |
| c | toggles back culling | |
| 1, 2, 3, 4 | toggle lights on and off | |
| -, + | did change rate of movement, was removed when I changed to time based movement |
What's Left To Do:
For the actual program, I doubt it will happen, but maybe I should add some collision detection. It would also be nice to have the ability to go up and down (i.e.. ramps, stairs, ladders). Gravity and jumping would be nice. As would a whole lot of other stuff that probably won't happen. For the map, I need to add windows, a ceiling, some doors, better textures, and maybe some furniture.

Warmth

A painting and the entrance to the bathroom

A view from the outside in wire frame mode