POV-Ray : Newsgroups : povray.binaries.images : Mont Blanc : Re: Mont Blanc Server Time
5 Nov 2024 18:23:07 EST (-0500)
  Re: Mont Blanc  
From: Sylvain
Date: 22 Jun 2006 04:40:01
Message: <web.449a571d7be75ba49e4a59f60@news.povray.org>
"HENON fabien" <fab### [at] caramailcom> wrote:
> "Sylvain" <rem### [at] lapostenet> wrote:
> > Hi there
> > this is a small test using a 30mx30m elevation grid on which I mapped the
> > corresponding roadmap. This is the Mont Blanc area (the winding road in red
> > above Chamonix is the one going to the tunnel entrance).
> > Maybe I'll try to add some small clouds later on...
> > Sylvain
>
> Hi, nice stuff.
>
> Some time ago, I tried to render DEM files with povray, but there are lots
> of differents types of DEM files.
> What type did you use, what converter, where did you find the DEM where the
> maps?
>
> Cheers,
>
> Fabien

I got the data from somewhere on the net (can't remember where though). A
great resource for elevation data is the Nasa SRTM data (google for SRTM or
go to : ftp://e0srp01u.ecs.nasa.gov/)

Once you've obtained the file containing the elevations (a n x m matrix,
each of the element being an altitude), edit it in a text editor. As the
file is in binary format, you'll see tons of silly characters. Just add at
the begining of the file the following lines :
P5
1201 1201
65535
and save the file with extension ".pgm". You'll then have a picture that you
can use with POV. 1201 1201 is the size of the matrix, so adapt it to your
data. 65535 is the max value.
See also :
http://www.imagico.de/pov/earth_scene.html
and
http://news.povray.org/povray.general/thread/%3Ce5n9e0%24dn6%241%40chho.imagico.de%3E/
where I asked about the same question and Christoph kindly gave his reply.

I hope this has been helpful...

S.


Post a reply to this message

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