This project is solving the Tour of the Moon challenge.

This is a quick application I created that takes in a gray-scale elevation image and then procedurally produces a sphere and alters the vertexes to map the elevation data. This produces a 3D model of the moon.

This has then been extended to render only current visible segments of the moon, ready to simulate walking on the moon.

This requires an opengl, sdl and sdl image.

Compiled using g++ moon.cpp -lGL -lSDL -lGLU -lSDL_image

Project Information

License: GNU General Public License
Source Code/Project URL:


HeightMap Site -
HeightMap Data -