|
|
you can try using the #debug streaming to watch your variables when you have
problems
-tgq
(see below)
> > > #declare cRed=0
> > > #declare cGreen=0
> > >
> > > #while (cRed < 1)
> > > #while (cGreen < 1)
> > > sphere {<cRed*2.5,cGreen*2.5, 0>, 0.2 pigment {color rgb
<cRed,
> > > cGreen, 0>}}
> > > #declare cGreen=cGreen+0.1
#debug concat("cGreen",str(cGreen,0,1),"\n")
#debug concat("cRed",str(cRed,0,1),"\n")
> > > #end
> >
> > #declare cGreen=0 // add this
> >
> > > #declare cRed=cRed+0.1
> > > #end
> > >
Post a reply to this message
|
|