Skip to content

andrewrch/orrery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orrery

This is a small program written in C, using OpenGL which renders all the planets in the solar system as well as their moons.

Features

  • As you'd expect planets rotate the sun
  • Likewise moons rotate planets
  • Planets orbits and radii are scaled slightly to make them more visible
  • Stars read from HYG database and so are in realistic positions
  • Can toggle asterisms
  • Names displayed above celestial body
  • Planets are textured
  • Free camera
  • Point light from sun's centre casts shadows on planets from their moons

Todo

  • Tweak scales slightly - perhaps give up on realism completely and make it prettier
  • Rewrite sun shader to be a bit more exciting

About

Orrery written in C and OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published