Skip to content
/ cg Public

Solar System simulation made with OpenGL/GLUT.

License

Notifications You must be signed in to change notification settings

xfn14/cg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar System

Solar System simulation made with OpenGL/GLUT.

Authors

Prerequisites

  • OpenGL/GLUT

Debian/Ubuntu

$ sudo apt-get update
$ sudo apt-get install freeglut3-dev

Images

Usage

Generator

$ ./generator plane <units> <divisions> <filename>
$ ./generator box <units> <divisions> <filename>
$ ./generator cone <radius> <height> <slices> <stacks> <filename>
$ ./generator sphere <radius> <slices> <stacks> <filename>
$ ./generator tronco <radius1> <radius1> <height> <slices> <stacks> <filename>

Engine

$ ./engine <path> <xml_file>

Keys

  • () Rotate the camera to the right.
  • () Rotate the camera to the left.
  • (f) Toggle xyz axis render.

About

Solar System simulation made with OpenGL/GLUT.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •