4 ms·
Most of the time you don't want to use his SLERP function. You can even see what is wrong in his illustration video: the cube does 3/4s of a full rotation, whil
by Jyaif 5y ago
Most of the time you don't want to use his SLERP function. You can even see what is wrong in his illustration video: the cube does 3/4s of a full rotation, while only 1/4 of a full rotation would have been sufficient. In other words, it's not always taking the shortest path between 2 rotations.
If you are not careful, this is what you may end up with: https://www.reddit.com/r/FIFA/comments/9gms3n/most_realistic_graphics_ever_in_fifa_history/ https://www.reddit.com/r/FIFA/comments/9gms3n/most_realistic...
- imadr 5y agoWhat would be the alternative to slerp that takes the shortest path?
- edflsafoiewq 5y agoJust replace q2 with -q2 if q1 and q2 are in opposite hemispheres, then slerp.
- imadr 5y agoIf I'm not wrong you check if q1 and q2 are in opposite hemispheres with the sign of their dot product?
- edflsafoiewq 5y agoYes.