LERP, NLERP and SLERP
WHAT IS THAT AND WHY DO YOU NEED THIS? Whenever you've got 2 numbers and you want something between them, you want some kind of interpolation. And the same in quaternions - you have to quaternions that describe the same no one is 100% correct but 100% incorrect either, so you want a quaternion that is a combination of these two. So you can use the simplest idea of combining two numbers: this is LERP ( linear interpolation ) but since, for orientation porpuse quaternion need to have norm of 1, after this interpolation you need to normalize result: and that is NLERP ( normalized linear interpolation ) . Now, how these methods could be interpreted, and what are the consequences in real applications? If we imagine a circle with a radius of 1 which is going across quaternions that we want to inter...
Comments
Post a Comment