|
![](/i/fill.gif) |
"alphaQuad" <alp### [at] earthlink net> wrote in message
news:web.48691a5123a83e2534ef70380@news.povray.org...
> love it
thanks !
> Understood most of it except the part about actually implementing PatchAt,
> not
> called in this example. Over my head but so close I got a haircut.
> :~(
the PatchAt-macro is actually more like a function that is used by the
greebles-system. The macro accepts 2D-coordinates as input, and outputs the
3D-coordinates corresponding with the given 2D-coordinates
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
|
![](/i/fill.gif) |