Skip to content

guicompeng/opengl-solar-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opengl-solar-system

3d OpenGl/c solar system

Demo

Prints

Run

Clone this project, then enter that folder and run:

./play

Instructions

p - Pause
l - Enable/disable light
1 - Cam mode 1
2 - Cam mode 2
w/s/a/d - Move cam
Bonus: Mouse click and drag

Edit and compile the game:

Dependencies

sudo apt-get install freeglut3-dev 
sudo apt-get install libglew-dev 
sudo apt-get install libsoil-dev 

gcc is also needed

Run

gcc main.c planetas/*.c -lGL -lGLU -lglut -lGLEW -lSOIL -lm
./a.out

Images

https://www.solarsystemscope.com/textures/

About

3d OpenGl/c solar system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages