POV-Ray : Newsgroups : povray.general : Rolling balls, appropriate rotation equation. : Re: Rolling balls, appropriate rotation equation. Server Time
9 Aug 2024 13:27:03 EDT (-0400)
  Re: Rolling balls, appropriate rotation equation.  
From: Mike Williams
Date: 15 Jul 2000 22:28:38
Message: <x+unSCAO9Mc5EwY7@econym.demon.co.uk>
Wasn't it Greg M. Johnson who wrote:
>I have an isosurface that is rolling hills based on the noise3d function.
>
>At time increment n,  I know the tangent is at pt x1,y2,z1.
>At time increment n+1, I know the tangent is at pt. x2,y2,z2.
>
>I know the distance between the two, and the time increment is so small that
>I don't think I'll be harmed by assuming it's a straight line. Even with a
>straight line on an inclined plane, I have no idea how the ball should
>roll.  The 1d & 2d solutions are trivial.
>
>What is the rotation
>

It should be rather like the 2d case, except that you would sum 
sqrt((x2-x1)^2 + (y2-y1)^2) and sqrt((z2-z1)^2 + (y2-y1)^2)
instead of using (x2-x1) and (z2-z1).


-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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