|
|
On 15 Oct 1999 11:49:17 -0400, Ron Parker wrote:
>In addition, the two cylinders for A=3 and the two for A=9 will be coincident.
Whoops, that's not right. The first cylinder for A=3 is coincident with the
second cylinder for A=0. There are still coincident surfaces in my code, and
a missing cylinder besides. Try this instead:
camera { location<0,2,-3> look_at 0}
light_source {<0,0,-300> rgb 1}
difference {
sphere {<0,0,0>, 1 pigment { rgb 1 }}
sphere {<0,0,0>,.9 pigment { rgb 1 }}
#declare A = .001;
#while (A<6)
#if (A != 3 )
cylinder { <-1.1,0, 0.0>,<1.1,0,0.0>,.1 rotate y*A*30 pigment {rgb 1}}
#end
cylinder { < 0.0,0,-1.1>,<0.0,0,1.1>,.1 rotate x*A*30 pigment {rgb 1}}
#declare A=A+1;
#end
}
Post a reply to this message
|
|