Hi everybody, I've been trying to figure out the Mola map shader so I can do some Martian terrains. I found this page:
http://pds-geosciences.wustl.edu/missions/mgs/megdr.html (http://pds-geosciences.wustl.edu/missions/mgs/megdr.html) Mars Global Surveyor: MOLA MEGDRs
Is that the right place to get MOLA data for Terragen?
I downloaded these files: megt90n000eb.img and megt90n000eb.lbl In TG2 I selected MOLA Map Shader from Add Terrain and got a bunch of error messages about files not found, I clicked OK on each error. Then I tried to add megt90n000cb.img with "Image filename" but it says it's unable to open megt90n000cb.imgmegt90n180gb.img Does this mean I need more img files? Any suggestions appreciated!
I never got this to work correctly. Not sure why.
Yes, I was wondering about the Mola shader as well, and how do we use it? It would be sweet if we had a good tutorial to go to about now for it??? /hint /hint if there is one anyway. That would be sweet. Maybe contact MeltingIce and ask him? hes good at that stuff /winks......
DT ::)
Hi Trailgirl,
There are 4 different sets of data that you can use. If you click on the "Data set" dropdown in the MOLA shader you can see the format of the filenames that are needed. The files you downloaded have "eb" in the filename, which means they are from the "4 pixels per degree" dataset. [EDIT: the 4 pixel/degree set is not supported by the MOLA shader]
On the website you linked to you can also download the data for 16, 32, 64 and 128 pixels per degree. However, the 64 dataset is split into 4 tiles (4 .img and 4 .lbl files, 8 files in total), and the 128 dataset is split into 16 tiles (16 .img and 16 .lbl, 32 files in total). For the best reliability in TG2 you should stick to the 16 or 32 datasets, as these only use a single tile. The default setting for the MOLA shader is 64, but it's probably best to get to grips with the lower sets first.
Matt
Correction to the above: the MOLA shader does not support the 4 pixel/degree dataset. The first option in the dropdown corresponds to the 16 pixel/degree, or "megt90n000eb.img/lbl" files.
Thank you! This is fantastic! When the terrain first loads it looks really strange with a tall spike and radiating grooves but I zoomed out and moved around the planet (Planet 01) and then found some interesting craters and canyons. I can't tell if the terrain covers the whole Terragen planet or not, and I'm not cmpletely oriented as far as finding specific craters and mountains but it's a great start. I've been playing around with surface layers at various altitudes with different colors, it really brings out the terrain, especially when zoomed out to see the whole planet.
I am not sure i figure out, which exactly files i can use, cause i used 64 and if i input mola
Topography
megt00n000gb.img,
megt00n00gb.lbl
megt00n180gb.img,
megt00n180gb.lbl
but it doesnt work, you can do it in different way with 3DEM but i dont like it
(if you can write exactly the names of files i will thank you)
how you can stick them together?
The .img files are what you want to load. As Matt said above, it's more reliable to use the 16 or 32 data sets. But I believe you should be able to load the 64, though I'm not sure if it will stitch the tiles or not. But if you're getting no result whatsoever I think you must not be doing something quite right. To be sure that nothing is wrong in TG2, I would try using the recommended data sets and, if you have success with those, try replacing them with the 64.
- Oshyan
i understand it i need .img files, labels are only carry specific information
but say me what i do it wrong,
1. i make a new scene
2. click on terrein ->Add terrain -> Displacement shader -> Mola map shader
3. from menu i choose 32, and open megt90n000fb.img
but nothing happened, whole planet it still empty,
i grow up Height multiplier and its lift up some parts of terrain, but we cant talk about the cannons.
64,128 can have more details but how i cen give them to scene? make four MOLA shaders, it will mapping right? Idont know if TG2 is using degrees when mapping or how he is mapping it.
4Runner, you may need to zoom out to see the whole planet and move around to find some features. I have my camera set on :
xyz: -6.39024e+06, -2.63101e+06, 2.11498e+06 for a view of a lovely canyon.
ok i have last question, how i can map the 128 or 64, its 4 and more .img files, show me the way how correctly map it pls ;)
thank you all for help
You only need one MOLA Map shader in your scene. It reads multiple files from a folder and maps the whole planet.
I think 128 is unreliable (or very inefficient), but 64 should work. Simply choose one of the .img files in your 64 folder and the shader should automatically: A) remove the filename from the path so that it just points to the folder, and B) change the data set option. It will do that automatically. All you need to do is choose one of the .img files. You need to have downloaded all the files for the 64 data set and put them in the same folder.
Matt
If you only want to use a single tile from the data set, you can just load the .img file using a Heightfield Load just like any other terrain or image file. The MOLA Map Shader is designed to map the whole planet using all the files in the data set (resolution) of your choice.
Matt
thank you very much
QuoteSimply choose one of the .img files in your 64 folder and the shader should automatically: A) remove the filename from the path so that it just points to the folder, and B) change the data set option. It will do that automatically. All you need to do is choose one of the .img files. You need to have downloaded all the files for the 64 data set and put them in the same folder.
-Matt
(3yr later)....Hi Matt,
I tried that, but got this output......what do I need to do next?
Also found this thread (http://www.planetside.co.uk/forums/index.php?topic=7656.0) about using MOLAs, but am at a loss on how to proceed.
Thanks in advance. :)
Did you select the right data set type from the dropdown for the data you're using? I just tested with MOLA64 data, seems to be working. Try zooming out for a broader view of the planet...
- Oshyan
I think you're looking at the north pole here. The radial pattern is due to the distortion you get at the poles with spherical projection. If you move the camera out to space and down to a lower latitude you should see more interesting terrain.
I used just the meg032 .img files (http://pds-geosciences.wustl.edu/mgs/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg032/).
Will try zooming out to get a better view.
Thanks. ;)
I believe those are the MOLA32 files, so you need to be sure to select the MEGT032 option from the dropdown in the MOLA reader.
- Oshyan
Quote from: Oshyan on August 14, 2012, 01:23:22 PM
I believe those are the MOLA32 files, so you need to be sure to select the MEGT032 option from the dropdown in the MOLA reader.
That should happen automatically whenever you select a new file.
Matt
Yes, I did, and saw that it automatically selected the correct data set as well.
Probably a problem with the perspective. I need to go through the First Scene
guide and practice using the controls to get my bearings.
Your A,B,C directions seemed straightforward enough, so thought this would be a
good first project, and still do.
Launch TG2 > add terrain > displacement shader > MOLA map shader > load any one of the 3 .img files in the folder (?)
Then maneuver the camera higher and away from the pole (?)
Seems like even a noob could do it. ;)