POV-Ray : Newsgroups : povray.general : Dem to POV-Ray tga heightmap problem Server Time
4 Nov 2024 17:34:11 EST (-0500)
  Dem to POV-Ray tga heightmap problem (Message 1 to 3 of 3)  
From: Bridgeofstraws
Subject: Dem to POV-Ray tga heightmap problem
Date: 13 Aug 2008 10:35:03
Message: <web.48a2f0374358a45d53d33dc20@news.povray.org>
Hello everyone,

Yesterday I got the idea that making a POV scene with real-world scenery would
be a great thing for me to try for my next project.  I found out about these
so-called DEM files, which apparently hold the real scenery I`m looking for.
Now I found a program called 3DEM which would apparently allow me to at least
view these DEM files and convert them to terragen files.  Seeing that I knew I
could at worst case scenario convert these terragen files to a POV-Ray tga
files with world machine.  I have gotten this to work, but the problem is the
heightmap is very downgraded in resolution due to the fact that I don`t have a
licence for terragen or world machine.  Not being satisfied with this I
searched the internet for DEM to POV converters and found 3:

1-dem2pov (http://www.travelnotes.de/rays/grandcan/index.htm)
2-asc2tga (http://www.odi.ch/prog/povtools.php)
3-DEM2POV2 (http://www.terrainmap.com/rm3.html)

I can`t get any of them to work.  I`m using USGS ASCII DEM files for both
dem2pov and DEM2POV2 and an ASCII terrain matrix built by 3DEM for asc2tga (I
found that 3DEM doesn`t output the correct format for the heights (it uses
floats instead of unsigned integers and it doesn`t write the correct header for
the file either, based on the specification that came with asc2tga).

So does anyone know how I might convert a DEM file to POV tga with or without
3DEM?  And which format of DEM I`d need.

By the way, I went to http://seamless.usgs.gov/website/seamless/viewer.htm to
get a few DEM files of the Grand Canyon in GeoTiff format.  The reason I choose
GeoTiff was the fact that it is openable in 3DEM and the file format stores the
image map of the terrain not just the height values.

Thank you in advance for all the help.

Bridgeofstraws


Post a reply to this message

From: pan
Subject: Re: Dem to POV-Ray tga heightmap problem
Date: 13 Aug 2008 11:57:45
Message: <48a30479@news.povray.org>
"Bridgeofstraws" <bri### [at] inboxcom> wrote in message 
news:web.48a2f0374358a45d53d33dc20@news.povray.org...
> Hello everyone,
>
> Yesterday I got the idea that making a POV scene with real-world 
> scenery would
> be a great thing for me to try for my next project.  I found out 
> about these
> so-called DEM files, which apparently hold the real scenery I`m 
> looking for.

Wilbur can export dem to pov
http://www.ridgenet.net/~jslayton/wilbur.html
and other formats


Post a reply to this message

From: Bridgeofstraws
Subject: Re: Dem to POV-Ray tga heightmap problem
Date: 13 Aug 2008 13:15:00
Message: <web.48a315e464d765d553d33dc20@news.povray.org>
Thank you very much for helping!  This is exactly what I was looking for.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.