|
|
On Thu, 13 Dec 2001 00:21:21 +0100, Rune wrote:
> "Alf Peake" wrote:
>> the difficulty of testing for <0,0,0>. This is the first time
>> I've seen this solution and it seems so simple. I can't believe
>> I missed it when I first tried to figure out an easy answer :(
>
> It's my preferred method too because it's so simple looking, and it even
> parses faster than the alternatives even though you wouldn't think so! Some
> tests I posted a long time ago (in povray.general I think) showed that.
Faster than vdot(Norm,Norm) (probably, because the latter takes longer to
parse...)
--
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker
Post a reply to this message
|
|