|
|
Hello All,
Creating an animation of a sphere rolling along the xz plane is easy
if you do this...
object {sphere {<0,0,0>1
rotate <0, 0, -clock*360>
translate <-pi, 1, 0>
translate <2*pi*clock, 0, 0>}
}
But how do you do it if the radius of the sphere is < or >1 ?
Any radius values less than 1 cause the sphere to look like it is
sliding and rolling, not truely rolling.
I'm sure this is an easy math problem, I just can't see it. Any ideas?
Thanks,
--Blane
Post a reply to this message
|
|
|
|
Wasn't it Blane Bizzaro who wrote:
>Hello All,
>Creating an animation of a sphere rolling along the xz plane is easy
>if you do this...
>
>object {sphere {<0,0,0>1
>
> rotate <0, 0, -clock*360>
> translate <-pi, 1, 0>
> translate <2*pi*clock, 0, 0>}
> }
>
>But how do you do it if the radius of the sphere is < or >1 ?
>Any radius values less than 1 cause the sphere to look like it is
>sliding and rolling, not truely rolling.
#declare R = 0.35; // radius of sphere
object {sphere {<0,0,0> R
rotate <0, 0, -clock*360>
translate <-pi, R, 0>
translate <2*pi*clock*R, 0, 0>}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|