|
![](/i/fill.gif) |
In article <B507C9ED.343%dav### [at] mac com>, David
<dav### [at] mac com> wrote:
> OK here you go:
>
> #include "colors.inc"
>
> camera{ location <0,2,-6> look_at 0 }
> light_source{ <40,40,-30>,color White }
> #declare i = 1;
> #while( i <= 2 )
> sphere{ (x*i)-2, .5 pigment{color Red} }
> #declare i = i + 1
> #end
Well, you missed a semicolon on the incrementing #declare, but that code
worked fine under both 3.1g.r2 and MacMegaPOV 0.4 even without the
semicolon. What version are you using?
--
Christopher James Huff - Personal e-mail: chr### [at] yahoo com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |