POV-Ray : Newsgroups : povray.general : scaling a PATTERN: using SCALE vs.FREQUENCY : Re: scaling a PATTERN: using SCALE vs.FREQUENCY Server Time
21 Jun 2024 16:03:14 EDT (-0400)
  Re: scaling a PATTERN: using SCALE vs.FREQUENCY  
From: Kenneth
Date: 20 Oct 2005 23:05:01
Message: <web.435859976294c8e46a521a540@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote:

> The frequency-modifier however can be seen as to modify the color_map,
> the lookup-table so to speak.
> For example: adding frequency 0.5 will have the same effect as only
> using the first half of the color_map as the whole color_map, resulting
> in the following color_map:
>
> color_map {
>     [0 red 1]
>     [1 green 1]
> }
>
> And the result will be a gradient-like pigment along the x-axis with
> colors interpolated between red at x=0 to green at x=pi/2 and again
> back to red at x=0

Honestly, that didn't occur to me; thanks!  Your reply (and others here) has
really been helpful to me in understanding how functions work together with
a map's "list of values" .  Lots of info to absorb and digest, but it's
becoming MUCH clearer. And now I see that a color_map's list is JUST a
list, with no intrinsic "orientation" or "direction".  I might post a
follow-up, just to consolidate or distill all that's been said (and to make
sure I've "got it right.")

Ken


Post a reply to this message

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