SC443 Computer Game Programming
Assignment #04: Unmanned Flight Simulator

For this assignment, we had to create a simulation program. An unmanned Flight Simulator. I have used a tutorial from http://www.gldomain.com/ as basic code.

What my flight  is a milkshape-model (was in the tutorial) and it will stay in front of the camera when you move it. Also a cool thing implemented, is that when you want turn, it will turn as if it was a real flight (turning right will make right wing go down and left wing go up). See figure 1.
You might notice that it's not a skybox that is have used, but a randomly generated landscape. This caused me some problems, since I wanted to do some collision detection with the landscape. This I found not to work, so it's not implemented, witch unfortunally makes it all unreal. That you can fly right through the terrain and come out on the other side..


                       

 

 

 

 

 

 

 

                   
                            Figure 1: Turning right

 



                            Figure 2: Wireframe Mode

== CONTROLS ==
T - Take off
S - Stops the plane
Arrow Keys - Maneuver
1..9 - Controls thrust
0 - Afterburner
L - Toggles water on/off
F - Toggles framerate limiter on/off
W - Toggles wireframe mode on/off
(+/-) on the numpad - Increases/decreases number of triangles in the terrain
ESC - exits


Source files and textures can be found here
The assignment given can be seen here


Thanks to Steve at gldomain.com for having this tutorial that have tought me a lot.

 

Hosted by www.Geocities.ws

1