| 
  | 
On Thu, 16 Sep 1999 22:13:29 -0500, "John M. Dlugosz"
<joh### [at] dlugosz com> wrote:
>If I use a scale instead of frequency, I get the desired effect.
>The docs say that the effects should be identical.
>
>What's up?
You're misreading the docs.  
| The frequency keyword adjusts the number of times that a color map 
| repeats over one cycle of a pattern. For example gradient covers color    
| map values 0 to 1 over the range from x=0 to x=1. By adding frequency
| 2.0 the color map repeats twice over that same range. 
The pattern doesn't change.  Just the color map does.  So saying
  color_map {[0 rgb 0][1 rgb 1]} frequency 2.0
is like saying
  color_map {[0 rgb 0][1/2 rgb 1][1/2 rgb 0][1 rgb 1]}
but saying
  color_map {[0 rgb 0][1 rgb 1]} frequency 1.5
is like saying
  color_map {[0 rgb 0][2/3 rgb 1][2/3 rgb 0][4/3 rgb 1]}
except that that isn't legal.  So POV truncates the color
map at 1.
You're probably referring to this sentence:
| The same effect can be achieved using scale 0.5*x so the frequency keyword 
| isn't that useful for patterns like gradient.
The problem is, that sentence isn't definitive.  It just points out
that the results of THAT SPECIFIC OPERATION are identical to a scale.
Noninteger frequencies are not identical to a scale.
 
 Post a reply to this message 
 | 
  |