Using DEMs as Heightfields to Create Realistic Terrain
by Eli McClanahan · in Artist Corner · 12/11/2002 (11:11 pm) · 12 replies
I saw some information on this when Luc posted about it in one of the latest snapshots. He posted some captured screenshots of examples of DEMs in action:
http://files.llamahunter.com/ss/space.jpg
http://files.llamahunter.com/ss/space2.jpg
http://files.llamahunter.com/ss/space3.jpg
http://files.llamahunter.com/ss/space4.jpg
http://files.llamahunter.com/ss/space5.jpg
http://files.llamahunter.com/ss/space6.jpg
I think those are right...
A DEM is a Digital Elevation Map. Think of a satellite image taken from space, and then used as a terrain in Torque. That's what I'm trying to do, basically.
I downloaded MicroDEM, a DEM utility, and was wondering how to incorporate it qith Torque, or how to use any other means.
http://files.llamahunter.com/ss/space.jpg
http://files.llamahunter.com/ss/space2.jpg
http://files.llamahunter.com/ss/space3.jpg
http://files.llamahunter.com/ss/space4.jpg
http://files.llamahunter.com/ss/space5.jpg
http://files.llamahunter.com/ss/space6.jpg
I think those are right...
A DEM is a Digital Elevation Map. Think of a satellite image taken from space, and then used as a terrain in Torque. That's what I'm trying to do, basically.
I downloaded MicroDEM, a DEM utility, and was wondering how to incorporate it qith Torque, or how to use any other means.
#2
I tried it for a while on my old (shall remain nameless cos I don't like it...) engine, haven't tried any thing in Torque though..
Nick
12/12/2002 (8:55 am)
I think terragen generates RAW heightmaps. Paint shop pro can open them :) you need to know the exact dimesions of the file as there isn't a header to tell the software that.I tried it for a while on my old (shall remain nameless cos I don't like it...) engine, haven't tried any thing in Torque though..
Nick
#3
And heres a place to get free DEMs from all over the country. www.gisdatadepot.com/dem/demdownload.html
12/12/2002 (10:31 am)
You will probably find this thread useful: www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=6444And heres a place to get free DEMs from all over the country. www.gisdatadepot.com/dem/demdownload.html
#4
12/12/2002 (10:41 am)
Reading DEMs directly would be a nifty feature though ;)
#5
Thanks!!!
11/16/2003 (3:38 am)
Can anyone suggest some other websites where I can download FREE DEM data? I've check the links above. Just need more choices, if possible. Thanks!!!
#6
http://www.cs.arizona.edu/topovista/sdts2dem/
You may want this tool. It's at:
http://www.cs.arizona.edu/topovista/sdts2dem/
04/27/2005 (4:32 pm)
I was doing a search for importing DEM files and I found that it is very difficult to get the "old" format of DEM files online anywhere. They are all SDTS format now. But I did find a cool tool to convert the new complex SDTS format back to the native DEM (ASCII) format. If you download a DEM from:http://www.cs.arizona.edu/topovista/sdts2dem/
You may want this tool. It's at:
http://www.cs.arizona.edu/topovista/sdts2dem/
#8
04/27/2005 (5:49 pm)
Yeah looks like a copy and paste error ;-)
#9
http://data.geocomm.com/dem/demdownload.html
It's just the link from above.
04/27/2005 (6:41 pm)
Sorry about that, it should be:http://data.geocomm.com/dem/demdownload.html
It's just the link from above.
#10
I was just reading up on these, I was gonna use them for some concept renders I'm making for a potential dev partner.
05/10/2005 (12:27 am)
Good Lord do we all have the same ideas? :)I was just reading up on these, I was gonna use them for some concept renders I'm making for a potential dev partner.
#11
Blackart
This utility can read DEMS and render them to bitmaps nicely. It does a lot of stuff that I have not yet had a chance to explore. But I have taken those bitmaps, set them to grayscale in photoshop, and imported them as terrains. It works quite nicely. My problem now is that I'm not a geographer, and I need to retain real-world scale when I import the heighmap...
05/10/2005 (7:53 am)
Cool. There is also a pretty sweet utility called blackart. Can be found at:Blackart
This utility can read DEMS and render them to bitmaps nicely. It does a lot of stuff that I have not yet had a chance to explore. But I have taken those bitmaps, set them to grayscale in photoshop, and imported them as terrains. It works quite nicely. My problem now is that I'm not a geographer, and I need to retain real-world scale when I import the heighmap...
#12
05/23/2005 (10:55 am)
There is a program out there called Daylon Leveller i believe, it is about 100 bucks but can import all the mentioned file formats above(DEM, USGS STDS, USGS DEM, and many more). It can export to a lot of formats as well. I have used it quite a bit for real world terrain. I just need to get some scale info because the scale is all wrong. Can someone post some info on the size and depth of the bmps that TGE and TSE use to create their terrain so i can try and get the scale correct.
Torque Owner Edward Gardner
The easiest way to get DEM data into TGE is to import it into a converter of some kind, and export a heightmap.
If you can get the terrain engine to import DEM's natively, that would be pretty cool. ASCII DEM's are just comma or space delimited X Y Z coordinates, there is a binary format, I think it's documented on one of the USGS sites, so you'd need a converter for that as well.
Normalizing DEM's as 256x256x256 heightmaps usually produces really good results, though. Basically, it's taking the XYZ data and normalizing it on the to 256 X, 256 Y (dimensions of the bitmap) and 256 Z (shades of grey in the bitmap), pretty standard in topographic mapping. If your data set isn;t set on a square, then it will stretch or compress (or both) the data a bit in one or both directions. Still useful, and so long as you are not doing topographic analysis, sufficiently accurate :)
I THOUGHT Terragen exported heightmaps as bitmaps, but I haven't do3wnloaded it in a while, and the conversation in the chat room yesterday yielded confusing results from whoever was trying to do it :)
Useful links:
http://www.usna.edu/Users/oceano/pguth/website/microdem.htm
http://tahoe.usgs.gov/viewers.html
This guy has some source code:
http://www.arq.net/~kasten/demtools/