POV-Ray : Newsgroups : povray.binaries.images : More Pattern Fun : Re: More Pattern Fun Server Time
1 Oct 2024 05:18:55 EDT (-0400)
  Re: More Pattern Fun  
From: Ron Parker
Date: 18 Sep 2000 10:59:03
Message: <slrn8scc69.3s4.ron.parker@fwi.com>
On Fri, 15 Sep 2000 23:07:51 -0700, Anton Sherwood wrote:
>Ron Parker wrote:
>> In a similar vein, try this one:
>> 
>> box { -5, 5
>>   pigment {
>>     crackle
>>     form 1.1*x
>>     metric 4
>	...
>
>wow, man, is that the official Partridge Family giftwrap?
>
>Why 1.1 btw?

The 1.1 helps scale the result of the distance computation to fit in the
0..1 range imposed by the color map.  I determined the specific value by 
trial and error, but there's probably a legitimate argument for it (possibly
that the fourth root of 2 is about 1.1...)

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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