A planetary renderer using C++ and OpenGL