|
 |
On Thu, 17 Jan 2002 12:43:59 -0800, Anton Sherwood <bro### [at] pobox com> wrote:
> #declare tau = (1+sqrt(5))/2;
> #declare F0 = function {
> pigment { marble color_map { [0 rgb 0] [1 rgb 1] } }
> }
> #declare F1 = function {
> pigment {
> marble color_map { [0 rgb 0] [1 rgb 1] }
> scale tau-1
> }
> }
> #declare taumarble = function { (F0+F1)/2 }
BTW: you did it probably with megapov, right ? I think this becouse you not
attached (x,y,z) after F0 anf F1. For others playing with this on 3.5. Below
version afaik gives in 3.5 the same result as above:
#declare tau = (1+sqrt(5))/2;
#declare F0 = function{pattern{marble}}
#declare F1 = function{pattern{marble scale tau-1}}
#declare taumarble = function{(F0(x,y,z)+F1(x,y,z))/2 }
ABX
Post a reply to this message
|
 |