POV-Ray : Newsgroups : povray.general : Siggy : Re: Siggy Server Time
6 Aug 2024 12:28:33 EDT (-0400)
  Re: Siggy  
From: Corey Woodworth
Date: 22 Mar 2002 09:38:09
Message: <3c9b41d1$1@news.povray.org>

news:5lam9ugp70l9a8136abg2qae98kq4n96a8@4ax.com...

<abx### [at] babilonorg>
> wrote:
> > probably can be shorten in hands of Warp or Ron or somebody else...
>
> or even in my own - two spaces shorten
>
> blob{threshold#macro _(C,W)sphere{20*<C,W,10>,16,1pigment{rgb
9}}#end.7_(-5,0
> )_(5,1)_(5,0)_(3,0)_(1,0)_(1,1)#local I=5;#while(I)_(I,-1)#local
I=I-1;_(-I-1
> ,1)_(-I-1,-1)#end}

WOW! I thought this was beyond all understanding untill I spaced it out like
this:

blob{
  threshold

  #macro _(C,W)
    sphere{20*<C,W,10>,16,1 pigment{rgb 9} }
  #end.7_(-5,0)_(5,1)_(5,0)_(3,0)_(1,0)_(1,1)

  #local I=5;
  #while(I)_(I,-1)
    #local I=I-1;_(-I-1,1)_(-I-1,-1)
  #end
}

 I'm not gonna tell you how long I was looking for the _ operator in the
help files :)

Corey


Post a reply to this message

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