News for hackers. Stuff that matters.
Re:Derivatives and Logarithms of 3D Transforms by xeonmc on Saturday March 22, 2025 @10:14PM (#43450417)
essentially you decompose the transformation into (axial translation) + (screw rotation) + (oriented orthogonal stretch) and each of them are just straightforward interpolation: axial is linear, screw is angular, and stretch is exponential.
Re:Derivatives and Logarithms of 3D Transforms by nosferalatu123 on Sunday March 23, 2025 @01:03AM (#43451011)
(author here) Be careful because (ignoring scale for to keep things simple) a transformation T can be decomposed into a translation and rotation, such that T=Rotation * Translation, but that translation is not along the axis of rotation. You probably want to instead interpolate with a screw motion, which is a rotation about an axis along with a translation along that axis (a helical curve; a curve along the outside of a cylinder). The screw motion is what you get when you interpolate with exp(log(T)*t).
Re:Derivatives and Logarithms of 3D Transforms by xeonmc on Sunday March 23, 2025 @01:05AM (#43451016)
Yes, hence I wrote (axial translation)+(screw rotation) instead of just (translation)+(rotation).
Re:Derivatives and Logarithms of 3D Transforms by nosferalatu123 on Sunday March 23, 2025 @01:12AM (#43451032)
Yep!