Simple OpenGL simulation of part of the solar system.
| build | ||
| include | ||
| src | ||
| Makefile | ||
| README.md | ||
OpenGL planets
README:
This software has been tested under:
- Arch Linux 6.14.6-arch1-1 x86_64 using sdl3 3.2.12-1, sdl2-compat 2.32.56-1, glew 2.2.0-7, mesa 25.0.5-1, and gcc 15.1.1+r7+gf36ec88aa85a-1.
- Ubuntu 25.04 (Plucky Puffin) Linux ubuntu 6.14.0-15-generic x86_64 using libsdl2-dev 3.32.2+dfsg-2, libglew-dev 2.2.0-4build1, mesa 25.0.3-1ubuntu2, and gcc 14.2.0
You need SDL, GLEW, a C++ compiler (such as GCC g++), and a compatible OpenGL graphics driver stack.
For example, to install required software on Ubuntu 25.04 (Plucky Puffin):
apt install build-essential libsdl2-dev libglew-dev
To use the Linux Makefile (./Makefile) just run 'make' to compile and 'make run' to run in this directory.
CONTROLS:
SPACE - pause/unpause A - speed up (earth) Z - slow down (earth) S - speed up (moon) X - slow down (moon) ESCAPE - quit program