Mars a 'la MOLA

VNS

Before we start, you'll need some Mars data. We'll use a MOLA dataset of approximately the same level as Earth GTOPO30 data, though much less time consuming to import. MOLA stands for Mars Orbiter Laser Altimeter and the data represents a topographic map of Mars at a resolution of 0.0625° by 0.0625° based on altimetry data acquired by the Mars Global Surveyor MOLA instrument.

Site: ftp://ltpftp.gsfc.nasa.gov/pub/projects/tharsis/MOLA/GRIDS/
DEM file: Retrieve ieg0062t.img.gz and uncompress it for import
DEM Label: ieg0062t.lbl contains important data information for import

1. Create a new Coordinate System. The WCS Back-compatible Sphere will work just fine. You could also do this during the Import Wizard process, but we're trying to get into good habits here and think VNS (for those of us who also speak WCS).

2. Coordinate System Ellipsoid page. Change the Semi-major and Semi-minor Axis to 3396 km. The radii are given in the ieg0062t.lbl file.

A_AXIS_RADIUS = 3396.0 <KM>
B_AXIS_RADIUS = 3396.0 <KM>
C_AXIS_RADIUS = 3396.0 <KM>

3. Now for the Import Wizard. The ieg0062t.img should be correctly identified as a binary file in the first window.

4. Import Wizard LOAD AS window. No change.

5. Import Wizard OUTPUT FILE TYPE AND NAME window. No change.

6. Import Wizard COORDINATE SYSTEM SUMMARY window. No change.

7. Import Wizard BINARY INPUT SETTINGS window. Following the SAMPLE_BITS and SAMPLE_TYPE information in the ieg0062t.lbl file, select Value Bytes of Two (16 bits=2 bytes) and Byte Order of High-Low/Motorola/Big.

SAMPLE_TYPE = MSB_INTEGER
SAMPLE_BITS = 16

8. Import Wizard INPUT COLUMNS, ROWS, AND HEADER window. Following the LINE_SAMPLES and LINES information in the ieg0062t.lbl file, use the dropdown box to select 5760 x 2880.

LINES = 2880 Rows
LINE_SAMPLES = 5760
Columns

9. Import Wizard REFERENCE COORDINATES window. Following the POSITIVE_LONGITUDE_DIRECTION information in the ieg0062t.lbl file, make X (Lon) + to East.

POSITIVE_LONGITUDE_DIRECTION = "EAST"

10. Import Wizard HORIZONTAL EXTENTS window. The latitude and longitude extents are included in the ieg0062t.lbl file. These values are the outside extents of the data, the column and row edges, if you will. VNS thinks in terms of cell centers, so we'll use a West Lon of and an East Lon of 359°. North Lat is 90° and South Lat is 90°.

MAXIMUM_LATITUDE = 90.0 <DEGREE>
MINIMUM_LATITUDE = -90.0 <DEGREE>
WESTERNMOST_LONGITUDE = 0.0 <DEGREE>
EASTERNMOST_LONGITUDE = 360.0 <DEGREE>

Explanation

Yes, you're right, the West and East longitude values are going to very slightly offset and compress our data west of where it should be and leave a gap. Why? Here's an explanation you can work into your next dinner party.

» Data extents go from 0° to 360°. VNS imports by cell centers.
» Cells are 0.0625°x 0.0625° so the first cell center in each row is 0.0625°/2 or 0.03125° east of 0° and the last cell center is 0.03125° west 360°.
» West Lon should be 0° + 0.03125° or 0.03125°.
» East Lon should be 360° - 0.03125° or 359.96875°.
» Importing data at a West Lon of 0° will shift the data west by 0.03125°.
» Importing data at an East Lon of 359° will shift data west by 0.96875°.
» A gap of 0.9375° will be left between 359.03125° (359° plus a half cell) and 359.96875° (0° less a half cell).

According to 3D Nature's Import Wizard, Frank Weed, the 0-359° method may not be scientifically accurate but it is necessary to keep the planet wrapping code from blowing up in your face. It also prevents holes from appearing at the poles.

11. Import Wizard PRE-PROCESSOR SETTINGS window. No change.

12. Import Wizard NULL DATA window. No change.

13. Import Wizard VERTICAL EXTENTS window. Elev Units should default to Meters, which is what we want. Enter the MINIMUM and MAXIMUM values in the ieg0062t.lbl file into the Low Elev and High Elev boxes, respectively.

UNIT = METER
MINIMUM = -8156
MAXIMUM = 21191

14. Import Wizard OUTPUT DEMS window. No change.

15. It shouldn't take VNS long to import the data. Open the Planimetric Camera. Don't be alarmed! Planet data often looks odd in this view. If you run a Preview Render with the default Ground Effect you'll get a better look at the Red (Gray?) Planet.

Note

Yes, we have seam (see Step 10, Explanation box). Such is the price we pay to not blow up Mars. As the honorary Dr. Frank Weed would probably say, "If it hurts when you see it, don't look".

16. The nice folks at NASA have made it easy to texture Mars. You'll find the 7.4 Mb color.jpg in the same directory as the rest of the MOLA data.

17. To make your VNS life easier, copy the image into your WCS>Components>Image>Color Map folder and rename it MarsMap.jpg. Create a new Color Map and add the MarsMap.jpg.

18. We need to position the Color Map on Mars, so select Edit Image Object to open the Image Object Library. The MarsMap.jpg will be the active item; click the Add Geo Reference Attribute button to open a Geo Reference page. Select the Coordinate System, enter the following bounds, and select Cell Edges. Refer to the Step 10, Explanation if you're curious where the left and right values came from.

Top

  90°

Left

  -0.03125°

Right

  359.03125°

Bottom

  -90°

Note

The Color Map covered Mars from 0° to 360° and we could have used those values as Left and Right bounds, respectively, and been close enough. However, since we shifted our DEM data on import to make it work, we should also shift our Color Map accordingly. From altitude, the difference wouldn't be noticeable. At lower elevations and with a higher resolution Color Map, the Color Map could have been off up to 60 km.

19. Make another Preview Render of your planimetric camera. VNS' default Haze is tinting the image map and making shadowed portions visible.

20. Disable Atmospheres and make another Preview Render of your planimetric camera.

21. Disable Skies, add a Starfield, and open your default perspective Camera view for a Preview Render.

22. If you want a better look at the topography, open the Planet Options Editor and increase the Vertical Scale to 2000%.

23. Another Preview Render will show a bit more relief.

24. Here's a Preview Render of the default Overhead Camera with the same vertical exaggeration.

25. That's more comical than awe inspiring. Let's return the Vertical Scale to 100%.

26. Here are some other suggestions from Frank for would-be Mars MOLA explorers.

» Work with a low resolution stand-in dataset first. The dataset in this tutorial is large enough to see some detail but not so big as to totally bog down your machine. Once cameras are positioned and animations set up, you can import a higher resolution dataset.

» Set up camera positions with unnecessary OpenGL views closed. This will speed up redraws and may prevent the OpenGL crashes that sometimes come with huge datasets.

» You may need to turn on Render Beyond Horizon for perspective cameras.

Home
Copyright 2002 R Scott Cherba All Rights Reserved