|
![](/i/fill.gif) |
On 01/14/2011 03:36 AM, Anthony D. Baye wrote:
> Often I find it more convenient to scale by a single vector component (e.g.
> scale 4.0*x)
>
> the problem is that when I go to render, I get massive numbers of parse
> warnings, especially if I do this in a loop.
>
> Is it really necessary to warn the user that scale assumes a value of 1 for any
> undefined component?
>
> Regards,
>
> A.D.B.
>
>
you could turn off the warnings stream:
http://wiki.povray.org/content/Documentation:Reference_Section_1.3#Text_Streams
or a macro:
#macro SFx (SF)
#local SF = <SF,0,0> + <0,1,1>;
scale SF
#end
box {<-1,-1,-1>, <1,1,1>
pigment {rgb <1,0,0>}
SFx (4)
}
Post a reply to this message
|
![](/i/fill.gif) |