Re:Rotations with quaternions
by imadr on Tuesday June 01, 2021 @10:58AM
(#27355353)
What would be the alternative to slerp that takes the shortest path?
[ Parent
| on HN ]
Re:Rotations with quaternions
by edflsafoiewq on Tuesday June 01, 2021 @11:42AM
(#27356240)
Just replace q2 with -q2 if q1 and q2 are in opposite hemispheres, then slerp.
If I'm not wrong you check if q1 and q2 are in opposite hemispheres with the sign of their dot product?
Re:Rotations with quaternions
by edflsafoiewq on Tuesday June 01, 2021 @05:39PM
(#27361696)
Yes.