This code allows you to create Moon textures, RGB normal map and heightmaps from the fantastic public domain LROC images. LRO(C) stands for the Lunar Reconnaissance Orbiter (Camera) satellite from NASA/GSFC/Arizona State University.
Checkout the wikipedia webpage or the LROC page for more details and direct access to the data.
You need a working installation of imagemagick (API6>=), the normalmap binary that can be obtained at (https://github.com/eatdust/normalmap) and a working installation of GDAL.
Then launch the bash script:
$ ./moontextures moon heights 8k
The script is adapted from the one by Chris Blues which generate Earth textures, more info can be found at NASA2FGearthview
As an illustrative example, here the FlightGear's UFO above Mare Orientale. The GLSL shaders are provided in the moonshaders repository.
-
Chris_Blues (https://github.com/chris-blues/Nasa2FGearthview)
-
LROC images, NASA/GSFC/Arizona State (http://lroc.sese.asu.edu/about/terms)
- Check out the FlightGear's forum (https://forum.flightgear.org/viewtopic.php?f=19&t=37534)