/LROC2FGearthview

Moon textures converter for FlightGear earthview

Primary LanguageShellGNU General Public License v2.0GPL-2.0

Moon textures generator for FlightGear's Earthview

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.

Running

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.

orientale

Credits

Videos

License

GPLv2