/solar-system

Solar system implemented in OpenGL and GLUT

Primary LanguageC++MIT LicenseMIT

Overview

A solar system implemented in OpenGL and GLUT. Inlcudes a sun as the center of the system, four rotating planets with different size and colors and some stars as the background. An .obj file is used to form the shape of the planets.

You can control the animation with specific keys, as described below:

  • "Q": Exit the program.
  • "P": Pause the animation.
  • "W": Move the camera up.
  • "A": Move the camera to the left.
  • "D": Move the camera to the right.
  • "S": Move the camera down.

Solar system