POV-Ray : Newsgroups : povray.general : creating heightfields from contour maps : Re: creating heightfields from contour maps Server Time
16 Nov 2024 13:23:31 EST (-0500)
  Re: creating heightfields from contour maps  
From: Adrian Pederson
Date: 12 Aug 1998 12:23:37
Message: <35d1b379.0@news.povray.org>
I guess I should clarify my last point, i'm aware that changing the
vertical scaling will have a direct effect on the slope. What I'm trying
to do is create a smoothly contoured gradiant over large odd shaped areas
in the heightfield image. It would be nice to do this in a somewhat direct
way, rather than by going through a multiple trial and error filtering
process.

Adrian Pederson


> Well, the thing to remember in _any_ terrain editor is that the
>relationship between any given pixel value on the height field image and
>the altitude at the corresponding point on the resultant height field is
>dependant on the vertical scale of the height field. Try creating a height
>field, in whatever way you wish, then, create a pov scene where you can see
>the entire height field. Now, insert scale<1,100,1> into the height field
>definition and you'll get a height field with very steep hills. Now, change
>that to scale<1,0.001,1> and you'll get an almost flat height field ! Now
>keep experimenting with that scale instruction and you'll see you can
>adjust easily adjust the apparent steepness of the hills.

>
>--
>Scott Hill


Post a reply to this message

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