Final Project - CSE 167 - Students: Matthew Jordan and Chris Frohoff
A long time ago, in a galaxy far, far away . . .
OPENGL WARS
Episode V: The Final Project
The roommate alliance had been nearly destroyed by the lack of group assignments
in CSE 167 when news came of groups being permitted in the final project.
One evening, the incessant humming and flickering of the television presented to them
a plan to rekindle the bonds of the roommate alliance in the form of a moving starfield.
The varying movement of tiny white pixels on a screen eventually evolved into
a full-blown flight simulator featuring none other than
the ever-so-popular X-Wing fighter spacecraft.
THE FEATURES
Implemented by Matthew Jordan:
- An X-Wing style spacecraft was designed with home made triangle and quad functions that automatically calculate surface normals.
- Several texture images were designed to go on the sun, planets, and R2D2. Some textures (such as Earth and Jupiter)
were downloaded off the net. Most downloaded textures were heavily modified to make them more visually appealing or to make
them wrap onto spheres better.
- Solar system design
Implemented by Chris Frohoff:
- Fully object oriented design approach makes adding and manipulating objects in the universe easy.
- Ship can be navigated throughout this universe and the camera can change its viewing distance and angle.
- Home made sphere drawing object that automatically implements texturemaps.
- Light speed intro sequence
- Wire grid overlay option to make navigation more user friendly
- helped with texture designs.
THE CONTROLS
Navigation
UP ARROW - turn up
DOWN ARROW - turn down
LEFT ARROW - turn left
RIGHT ARROW - turn right
'a' - accelerate
'z' - decelerate
Camera
CTRL + UP ARROW - move camera angle up
CTRL + DOWN ARROW - move camera angle down
CTRL + LEFT ARROW - move camera angle left
CTRL + RIGHT ARROW - move camera angle right
CTRL + 'a' - move camera away from ship
CTRL + 'z' - move camera towards ship. Move it past the ship for first person viewpoint
Miscellaneous
'w' - toggle wireframe mode
'c' - toggle grid overlay
's' - toggle smooth shading
'm' - decrease the mesh count of planets (decrease by 5. Minimum mesh is 5)
'M' - increase the mesh count of planets (increase by 5)
ESC - ends the program
THE WONDERFUL IMAGES
Sandurz: Prepare for light speed.
Helmet: No, no, light speed is too slow.
Sandurz: Light speed too slow?
Helmet: Yes, we'll have to go right to...Ludicrous speed!
Sandurz:Ludicrous speed! Sir, we've never gone that fast before. I
don't think the ship can take it.
Helmet: What's the matter, Colonel Sandurz...CHICKEN?!
Even better than going to the Plane-arium.
Too bad I can't make these babies appear while I'm driving my car. Perhaps then
my girlfriend wouldn't always be saying, "We'd have been here on time if you just stopped
to ask for directions!"
Ladies and Gentlemen, this is Chewbacca. Chewbacca is a Wookie from the planet Kashyyyk
who carried a gun and ran from the mob. But Chewbacca lives on the planet Endor. Now think
about it. That does not make sense. Why would a Wookiee, an eight-foot-tall Wookiee,
want to live on Endor with a bunch of two-foot-tall Ewoks. That does not make sense.
No, that's not Jupiter! Didn't you read the text at the top of this page?
I said it was in a galaxy far, far away. that planet just LOOKS like Jupiter.
I'll see you on the dark side of the moon.
Beep boop boop beep
We had to put a dark tint on the windows of the X-Wing because the only person that
showed up for our Luke Skywalker casting call was Mark Hamill. Even though he was
willing to take payment in Ramen noodles, he was too fat and bald to play the part of
Luke Skywalker.
This beautiful piece of machinery could be yours for only $700 down, $499 a month!
. . . for 500,000 months. . .
If you were really this close to the sun, you'd be dead by now.
Warning: This program is very power hungry. It runs at default with a meshcount
of 20. At a mesh of 20, my 1.3Ghz Pentium M with Radeon 9000 64MB video card
gets severely taxed. I wouldn't recommend running it if you are using an
integrated video card. Also, due to the massive amount of texturemaps and very small file size
restrictions on this web page, most of the planet textures are not contained in this zip file.
Download the executable
Find missing bitmaps here
ReadMe File