|
|
Ken <tyl### [at] pacbellnet> wrote in message news:371A602B.49520542@pacbell.net...
>
> Hi Andy,
>
> While not a definitve answer to your question one of the first examples
> given in the animation tutorial section of the Pov-Ray docs provides scripts
> showing how to roll a sphere along a floor, have it turn and then come back
> halfway. Scaling the object as it rolls would involve subtacting the
> difference in size and using it as a function to specify the y translation
> component of the objects translate action. While not a super easy thing to
> figure out it should not take advanced math functions to get the job done.
>
Thanks Ken,
Yeah, I was aware of that example. I approach all problems like this absolutely
befuddled. Sometimes, after some thought, the answer jumps out at me, but this time it
didn't/hasn't yet. Obviously it's easy to work out the vertical translation at clock
0.5,
as it's the post-scaled radius of the sphere plus the plane's y translation ( in this
case -0.75 ). But I can't get my head round how to work out the amount for clock 0.24
etc.
It's probably really simple.
I should point out that I haven't even started coding this one yet ( trying to
think
it through first ), and doing so may prod my sleeping brain into ( slothfull ) action.
thanks again,
----------------------
Andy
------------------------------------------------------------------------------------------
-
--The Home Of Lunaland--
--visit my POV-Ray gallery--
--listen to my music--
www.acocker.freeserve.co.uk
Post a reply to this message
|
|