{"id":64,"date":"2013-11-08T15:46:23","date_gmt":"2013-11-08T15:46:23","guid":{"rendered":"\/\/3dbym.ru\/2013\/11\/lerp-linear-interpolation-of-quaternions\/"},"modified":"2013-11-08T15:46:23","modified_gmt":"2013-11-08T15:46:23","slug":"lerp-linear-interpolation-of-quaternions","status":"publish","type":"post","link":"https:\/\/3dbym.ru\/2013\/11\/lerp-linear-interpolation-of-quaternions\/","title":{"rendered":"LERP (Linear Interpolation of Quaternions)"},"content":{"rendered":"\n\n
\n<\/td>\n<\/tr>\n<\/table>\n\n\n
\n

\"LERP<\/p>\n

Figure 2.9 A 2D representation of what SLERP and LERP do. SLERP interpolates along the arc of the circle, whereas LERP interpolates along a straight line from start to finish.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n

Linear interpolation is by far the easier of the two methods. Figure 2.10 shows the formula to linearly interpolate two quaternions, called q and p, using an interpolation value of t, which is between zero and one. After performing the operations, you must be sure to convert the resulting quaternion back to a unit quaternion, or the end result will not be what you expect.<\/p>\n

LERP(q, p,t) = t(p — q) + q<\/a><\/p>\n

Figure 2.10 The equation to linearly interpolate (LERP) between two quaternions. The path between the two quaternions will be a straight line.<\/p>\n","protected":false},"excerpt":{"rendered":"

Figure 2.9 A 2D representation of what SLERP and LERP do. SLERP interpolates along the arc of the circle, whereas LERP interpolates along a straight line from start to finish. Linear interpolation is by far the easier of the two methods. Figure 2.10 shows the formula to linearly interpolate two quaternions, called q and p, […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/posts\/64"}],"collection":[{"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":0,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}