|
|
"Shay" <Sha### [at] cccc> wrote in message news:46e01141$1@news.povray.org...
> [1] By my own mistake or a bug in POV-Ray. I'm not 100% certain yet, but
> I'm leaning towards bug. Pixie rendered the model without problems.
>
> [2] ie "Pass by reference" bug.
that's a bug? I thought it was a feature. I recently discovered that
macro-arguments are passed by reference, and a whole new world of
possibilities unveiled itself!
(I have to stop using difficult words however, 'cause I don't know how to
spell "unveiled" :) and I'm not even sure it is a word)
cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x) // ZK http://www.povplace.com
Post a reply to this message
|
|