|
|
Hi,
Using the following code, I'm able to join the bouncing sphere to the origin with a
cylinder.
plane { y, -1 hollow pigment {rgb 1}}
#include "AutoClck.mcr"
sphere {<0,0,0>,.25 texture {Reddy}
translate From (0,<-1,0,0>) To_Using (1,<-1,-0.75,0>, "Bounce")
#declare NewClock1=mclock}
cylinder {NewClock1, <0,0,0>,0.05 texture {Reddy}}
However, when I introduce a second bouncing sphere, and try to join them both with the
cylinder, I run into problems.
#include "AutoClck.mcr"
sphere {<0,0,0>,.25 texture {Reddy}
translate From (0,<-1,0,0>) To_Using (1,<-1,-0.75,0>, "Bounce")
#declare NewClock1=mclock}
sphere {<0,0,0>,.25 texture {Reddy}
translate From (0,<1,0,0>) To_Using (.5,<1,-0.75,0>, "Bounce")
#declare NewClock2=mclock}
cylinder {NewClock1, NewClock2, .025 texture {Reddy}}
Obviously, NewClock1 and NewClock2 are ending up the same. How do I get the position
of
the second ( or third / fourth etc ) sphere into NewClock2 ?
Many thanks,
Andy
Post a reply to this message
|
|