POV-Ray : Newsgroups : povray.off-topic : discrete torque : Re: discrete torque Server Time
28 Jul 2024 12:21:35 EDT (-0400)
  Re: discrete torque  
From: scott
Date: 25 Feb 2014 08:14:36
Message: <530c973c$1@news.povray.org>
> you just need a valid interpolation between the identity matrix and the
> final transform matrix... which might take some sweat but is doable, as
> long as you restrict yourself to rotation and translation. (as long as
> the matrix is for a rigid transformation)
>
> Computes the axis of final rotation and the final angle.
> Apply the linear interpolation on the translation matrix, and generate a
> rotation matrix for the same axis and an interpolated angle.

Yeh, I think this amounts to pretty much the same as my first 
recommendation as quaternions describe rotations as an axis and angle. 
If the OP can calculate what the final orientation should be then this 
seems the easiest way.


Post a reply to this message

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