Gtopo30 Dem Data
by sixb0nes · in Torque Game Engine Advanced · 07/01/2006 (9:06 pm) · 2 replies
Hello,
I have a GTOPO30 DEM archive of Europe (W020N90) and would like to convert it to a format readable by Atlas. The terrain itself appears to be 4800x6000, 16bit (57mb) in big-endian format.
I just picked up TSE and am excited to try and get this to render.
How should I get this DEM into a format readable by generateChunkFileFromRaw16? Is Terragen the tool I should use for this? Also, are there size limitations I should be concerned with? Does it need to be squared?
Thanks for your help!
I have a GTOPO30 DEM archive of Europe (W020N90) and would like to convert it to a format readable by Atlas. The terrain itself appears to be 4800x6000, 16bit (57mb) in big-endian format.
I just picked up TSE and am excited to try and get this to render.
How should I get this DEM into a format readable by generateChunkFileFromRaw16? Is Terragen the tool I should use for this? Also, are there size limitations I should be concerned with? Does it need to be squared?
Thanks for your help!
About the author
#2
Exporting a .ter from Terragen resulted in a 2049x2049 heightmap. Attempting to load this in L3DT results in an error. What's up with that, why the extra unit in each direction?
So now, here is what I'm doing:
1) Load GTOPO30 DEM in 3dem, export as .TER,
2) Load .TER in Wilbur, resample as 2048x2048, export as .PNG,
3) Import .PNG into L3DT, then export as .RAW resampled at 2049x2049.
Does this sound right? I could also export the .RAW directly from Terragen, but since I can't work with textures on maps > 513x513 in the free version I wanted to handle it all in one package.
07/02/2006 (8:47 am)
Wow, confusion.Exporting a .ter from Terragen resulted in a 2049x2049 heightmap. Attempting to load this in L3DT results in an error. What's up with that, why the extra unit in each direction?
So now, here is what I'm doing:
1) Load GTOPO30 DEM in 3dem, export as .TER,
2) Load .TER in Wilbur, resample as 2048x2048, export as .PNG,
3) Import .PNG into L3DT, then export as .RAW resampled at 2049x2049.
Does this sound right? I could also export the .RAW directly from Terragen, but since I can't work with textures on maps > 513x513 in the free version I wanted to handle it all in one package.
Torque Owner sixb0nes
Found a utility to convert to a format readable by Terragen named 3dem, so I've answered my first question. Haven't tried yet, but it sounds promising.
I guess the second part of my question still stands. What sort of restrictions do I have on sizing and such?
http://www2.cs.uh.edu/~somalley/DemTutorial/#GTOPO30