|
![](/i/fill.gif) |
You can add, subtract, divide and multiply pigment vectors the same as any
other vector:
rgb <1,1,1>*5
rgb <1,0,0>+<1,1,0>
rgb <1,1,1>*<1,2,1>
....etc.
-tgq
"Elias Pschernig" <eli### [at] aon at> wrote in message
news:3bc6a83d@news.povray.org...
> > You can use larger values in the declarations of the two source
pigments.
> > If you make your red stripes be rgb <2,0,0> it should balance out in the
end.
>
> Yes, that's what I'm doing in my complicated method, but it only works for
> patterns, not pigments. Or is there an easy way to take a pigment, and
> multiply it by 2?
>
> --
> #macro C(X,Y)cylinder{X*x<X,0,-Y/2>.1}#end#macro
U(R,X,Y)intersection{torus{.9
> .1}box{-1 0rotate y*R*90}translate<X,0,Y>scale 1-z*.5}#end
union{U(0,0,0)U(1,0
>
,0)U(2,-1,-1)U(1,1,0)U(1,1.5,-3)U(1,2,0)U(3,1,0)U(2,2,0)U(0,3,0)U(3,2,.5)C(.
1,
> 2)C(.8,1)C(.8,-1)C(1.1,1)C(1.9,-1)pigment{rgb 10}rotate
x*90translate<-1,0,4>}
>
Post a reply to this message
|
![](/i/fill.gif) |