POV-Ray : Newsgroups : povray.general : Earth heightfield, colormaps, etc... : Re: Earth heightfield, colormaps, etc... Server Time
4 Aug 2024 20:19:59 EDT (-0400)
  Re: Earth heightfield, colormaps, etc...  
From: Remco de Korte
Date: 16 Apr 2003 06:28:09
Message: <3E9D301F.EA84D3CE@onwijs.com>
Xilo Musimene wrote:
> 
> > I would have expected the land to be on the coast almost the same value
> > as the sea, but there is a definite sharp change from light gray(sea) to
> > dark gray(land), and that can be seen on all coasts...
> 
> Nevermind...  I fixed it...  after rereading again and again the
> documentation, I found out that the sea area, has the value -9999 (no
> data has been registered for the area)...  since the lowest plance on
> earth is at -400 meters I think. This give a value of -30, so I just
> changed all -9999 to 0 and BINGO!  I get a perfect heightfield of europe!
> 
> Though my program can only output a 8bit bmp...  I'll work out a way to
> write a Grayscale PNG of 16bit!
> 
> See ya!
>    Xilo

Great, that's what I had to figure out too. It's obvious once you know
it... :)
And yes, a great part of the Netherlands is below sea level. I'm sitting
in such a pit now.


Post a reply to this message

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