Project: Blender Extensions
Tracker: Py Scripts Contrib
Script name: LRO Lola &amp; MGS Mola img Importer
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Import-Export/NASA_IMG_Importer
Category: Import Export
1) download io_import_LRO_Lola_img.py
2) then copy it into your \scripts\addons folder
3) start blender
4) Open Blender and go to the addons tab in User Preferences.(CTRL+ALT+U) and Enable the script (it's in Import Export category)
5) in the Tool shelf, you can see the User interface
1) Choose a DTM:
For the Moon, here: ftp://pds-geosciences.wustl.edu/lro/lro-l-lola-3-rdr-v1/lrolol_1xxx/data/lola_gdr/cylindrical/img/
You must download the IMG file and the LBL file with the same name. Use the file that starting with LDEM no LDEC. The first number after LDEM is the resolution: 4=4 pixel/deg 16 =16 pix/deg and so on. From LDEM 4 to LDEM 128 you have the global planet, with LDEM 256 you have 1/4 of the planet, with LDEM 512 you have 1/16 of the planet.
For Mars, here: http://pds-geosciences.wustl.edu/missions/mgs/megdr.html
You must download the IMG and the LBL file, Map type= Topography. File from meg004 to meg016 are global planet, meg064 is 1/4 of the planet, meg128 is 1/16 of the planet.
2) Wit the User interface select the file. You can select the IMG or the LBL file, is the same. Select the coordinates that you want imported.
***** Very important: Northernmost Lat. must be higer than Southernmost Lat. Easternmost Long. must be higher than Westernmost Long. *****
3) If is all OK you can see more data and the button for import the data, before you click it, check the Numbers of vertex to be imported. The max quantity depend by memory that you have.
4) You must setting the camera to sse the result:
Location: X=0 Y=0 Z=8000
End Clipping: 10000
With these setting, when you use Camera View, you have North on top, South on bottom, West on the left and East on the right
Scale is: 1 Blender Unit=1 Km