POV-Ray : Newsgroups : povray.binaries.images : Contour Maps 35.9 KB Server Time
3 Oct 2024 15:10:31 EDT (-0400)
  Contour Maps 35.9 KB (Message 1 to 3 of 3)  
From: Andrea Ryan
Subject: Contour Maps 35.9 KB
Date: 16 Jan 2000 16:43:54
Message: <388238B3.A36829A0@global2000.net>
Hello,
How can I make contour maps?  I made contour lines by scaling down a
color_map but it does not have one color for a range of heights.


Post a reply to this message


Attachments:
Download 'contour.jpg' (36 KB)

Preview of image 'contour.jpg'
contour.jpg


 

From: Peter Popov
Subject: Re: Contour Maps 35.9 KB
Date: 16 Jan 2000 18:28:27
Message: <tVOCOKJtFH3m+CWY=DaV39zrLhPE@4ax.com>
On Sun, 16 Jan 2000 16:31:31 -0500, Andrea Ryan <ary### [at] global2000net>
wrote:

>Hello,
>How can I make contour maps?  I made contour lines by scaling down a
>color_map but it does not have one color for a range of heights.

Try:

height_field
{
  tga "foobar.tga"
  smooth
  pigment 
  {
    gradient y frequency 20
    color_map { [0 rgb 0][0.9 rgb 0][0.9 rgb 1][1 rgb 1] }
  }
}

etc.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Andrea Ryan
Subject: Re: Contour Maps 35.9 KB
Date: 16 Jan 2000 20:07:54
Message: <388268A3.57EEB813@global2000.net>
Thanks!  I rendered the contour map at 1280x1024.
Brendan Ryan

Peter Popov wrote:

> On Sun, 16 Jan 2000 16:31:31 -0500, Andrea Ryan <ary### [at] global2000net>
> wrote:
>
> >Hello,
> >How can I make contour maps?  I made contour lines by scaling down a
> >color_map but it does not have one color for a range of heights.
>
> Try:
>
> height_field
> {
>   tga "foobar.tga"
>   smooth
>   pigment
>   {
>     gradient y frequency 20
>     color_map { [0 rgb 0][0.9 rgb 0][0.9 rgb 1][1 rgb 1] }
>   }
> }
>
> etc.
>
> Peter Popov
> pet### [at] usanet
> ICQ: 15002700


Post a reply to this message

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