Programmer : Kamil Saykali
Course : CS496 (OpenGL programming)
Project : Final Program
Instructor : Dr. Steve Cunningham
Purpose:
This is the final project of the OpenGL course at San Diego State University.
This class was taught by Dr. Steve Cunningham for one semester. This program
displays the inner planets (Sun, Mercury, Venus, Earth, Earths moon, and Mars).
This program was written to show how OpenGL can be used to display Scientific
Visualization.
Function:
Each planet is selectable by the left mouse button. This will zoom the camera
in on the planet and it will display information about the planet. If a middle
button is pressed on a planet the camera will be positioned at the location of
the planet. This way you may be able to look at a planet from a different planets
point of view. All planets are sized correctly to each other (excluding the Sun).
They all rotate at the right speed. And the textures of the planet surface have been
taken from www.nasa.gov and are assumed to be correct.
Usage:
The program can be controlled by either the mouse of the keyboard. You may chose
a planet by pressing the numbers 1-5 to focus on that planet, or holding the shift
button while pressing 1-5 to move the position of the camera to that planet.
Also pressing the o/O will turn on/off the orbit of the planets. Pressing e/d will
zoom in/out of the planet selected. Also if the mouse if pressed on no planet it
will be repositioned at its initial position looking at the solar system from afar.
Here are some pictures:
Here is the source code, there is also a word document that
discribes what this program is and how to use it: planets.zip (2.994 meg)
The executable file is Kamil_Saykali_planets.exe. If you want to run it , make sure to include
the .raw files in the same directory.