POV-Ray : Newsgroups : povray.general : scaling a PATTERN: using SCALE vs.FREQUENCY : Re: scaling a PATTERN: using SCALE vs.FREQUENCY Server Time
1 Jun 2024 10:55:17 EDT (-0400)
  Re: scaling a PATTERN: using SCALE vs.FREQUENCY  
From: Slime
Date: 19 Oct 2005 03:19:40
Message: <4355f38c$1@news.povray.org>
> That being the case, in what axis or axes can
> I expect  to see the visual results of FREQUENCY at work on the color_map?
> I guess that's my basic question AND conceptual difficulty.  I suppose the
> answer depends on the pattern specified(?)

If you haven't yet, try the following:

Render an animation of the following scene:

camera {
location y*7
look_at 0 // look down at plane
}
plane {
y,0
texture {
pigment {bozo color_map{[0 rgb 0][1 rgb 1]} frequency .1 + 10*clock}
finish {ambient 1 diffuse 0} // no light sources necessary
}
}

With +kfi0 +kff30 . Watch how the changing frequency alters the pattern.
Specifically, how the "bands" get smaller and smaller, but the pattern
itself doesn't *move* anywhere. Maybe this will help you understand the
effect it has.

What is essentially happening is the value of the pattern is being
multiplied by the frequency value you supply. Then, if the value is bigger
than 1, it is wrapped back around. (So the actual value is x - floor(x).)
There is no spatial movement involved.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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