Solar System Simulator

Interactive 3D solar system visualization with OpenGL, featuring planetary orbits, textures, and real-time animation.

Solar System Simulator

Interactive 3D solar system visualization built with OpenGL and C++. This project demonstrates real-time animation, orbital motion, texture mapping, and camera interaction in a desktop graphics application.

License MITC++/COpenGLFreeGLUT and GLEW

About The Project

Solar System Simulator is an educational computer graphics project focused on core OpenGL concepts:

  • 3D transformations and matrix operations
  • Planetary orbit and rotation animation
  • Texture-mapped celestial bodies
  • Interactive camera controls with mouse input
  • Dynamic lighting and rendering modes

Key Features

  • Real-time orbital animation with relative planetary motion
  • Texture mapping using BMP textures for planets and stars
  • Interactive controls for rotation, scaling, and menu options
  • Lighting and materials for improved visual depth
  • Multiple view modes including perspective and orthographic

Tech Stack

  • C++
  • OpenGL
  • GLUT / FreeGLUT
  • GLEW

Quick Run

make
./sample

Controls

  • Left Mouse Button: Rotate view
  • Middle Mouse Button: Scale view
  • Right Mouse Button: Open context menu
  • ESC: Exit

Contact

Project Link: https://github.com/freyzo/Solar-System-Simulator