p0 ------- p1 ------- p2
I am successfully slerping between 2 points (p0-p1; p1-p2). But the transition between two slerped angles (p1_in-p1_out) do not match, and it looks jarring
Video of how it looks:
green squares are points, the position and angle between each are interpolated.
The issue is most visible at second 6.00
https://gfycat.com/unhealthygraveduckling
I tried hermite splines, although it reduces the effect, it's still visible.
I tried converting Catmull-Rom to use with quaternions by just adding the 4th index to the vector functions. This works perfectly except on some occasions, where some are interpolated from the wrong (long) "way", causing the view to flip between those points. I tried aligning, did not help.
Other questions on SO related to slerp don't ask this question, and I could not get any usable answers from some questions on 4 point slerps.
Is this a common issue, am I overseeing something?
Thanks