POV-Ray : Newsgroups : povray.general : Help with Colefax's AutoClck.mcr : Help with Colefax's AutoClck.mcr Server Time
12 Aug 2024 13:18:54 EDT (-0400)
  Help with Colefax's AutoClck.mcr  
From: Andrew Cocker
Date: 11 Feb 1999 12:42:48
Message: <36c31698.0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.