POV-Ray : Newsgroups : povray.general : creating heightfields from contour maps : Re: creating heightfields from contour maps Server Time
13 Aug 2024 15:31:43 EDT (-0400)
  Re: creating heightfields from contour maps  
From: Scott Hill
Date: 12 Aug 1998 11:01:38
Message: <01bdc5f9$c4da2080$8c00a8c0@shindo.ddlinks.co.uk>
Adrian Pederson <ape### [at] mailtdsnet> wrote in article
<35d12507.0@news.povray.org>...
> Not sure if this is the best place to ask this, let me know.
> I am trying to create a heightfield image and would like to
> be able to do it by initially creating a contour map. I just
> downloaded Leveller and while it is a nice, 5 min to learn
> type program, it doesn't quite do what i would like.
> 
> What i'm trying to create is a golf course terrain. It
> should have gentle rolling hills, i.e. only a small
> amount of elevation change, but i'm having difficulty
> getting it to look the way i want.

	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
Sco### [at] DDLinkscouk
Software Engineer (and all round nice guy)
Company homepage : http://www.ddlinks.demon.co.uk

"The best trick the devil ever pulled was convincing people he didn't
exist..."
								- Verbal Kint.

"the Internet is here so we can waste time talking about nothing in 
 particular when we should be working" - Marcus Hill.


Post a reply to this message

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