Download the full source code for opengl solar system program
OpenGL Projects is new initiative in the field of education.OpenGL Projects is one site that provides source code and materials for VTU 6th sem CSE students. Our first Program is - Solar System. Download source code of solar system in OpenGL and read the description below.
Description: Program to demonstrate how to use a local coordinate method to position parts of a model in relation to other model parts. Draws a simple solar system, with a sun, planet and a moon.
Based on sample code from the OpenGL programming guide by Woo, Neider, Davis. Addison-Wesley.
Software accompanying the book: 3D Computer Graphics: A Mathematical Introduction with OpenGL, by S. Buss, Cambridge University Press, 2003.
USAGE: Press "r" key to toggle (off and on) running the animation.
Press "s" key to single-step animation.
The up arrow key and down array key control the time step used in the animation rate.
Each key press multiplies or divides the times by a factor of two (2).
Press ESCAPE to exit.
Project Code: Downloads *
* Also required the header file Download .h file