{"id":246,"date":"2018-09-14T03:51:39","date_gmt":"2018-09-14T10:51:39","guid":{"rendered":"http:\/\/fx-td.com\/houdiniandchill\/?p=246"},"modified":"2018-09-14T03:51:41","modified_gmt":"2018-09-14T10:51:41","slug":"archived-post-by-lcrs-5","status":"publish","type":"post","link":"http:\/\/fx-td.com\/houdiniandchill\/2018\/09\/14\/archived-post-by-lcrs-5\/","title":{"rendered":"Archived post by lcrs"},"content":{"rendered":"<p class=\"\">to find the &#8220;difference&#8221; between your two matrices you can invert the first then multiply by the second &#8211; think of it like &#8220;remove the transform of matrix1 from matrix2, leaving just the difference between them&#8221;. that gives you a matrix, which you can turn into a quaternion, which you can turn into an angle\/axis rotation like @w &#8220;`matrix3 m1 = ident(); matrix3 m2 = ident(); rotate(m2, 0.5, {1, 0, 0});<br \/>\nmatrix3 diff = invert(m1) * m2; vector4 quat = quaternion(diff); <a href=\"mailto:v@w\" >v@w<\/a> = qconvert(quat);&#8220;`<\/p>\n","protected":false},"excerpt":{"rendered":"<p>to find the &#8220;difference&#8221; between your two matrices you can invert the first then multiply by the second &#8211; think of it like &#8220;remove the transform of matrix1 from matrix2, leaving just the difference between them&#8221;. that gives you a matrix, which you can turn into a quaternion, which you can turn into an angle\/axis &hellip; <a href=\"http:\/\/fx-td.com\/houdiniandchill\/2018\/09\/14\/archived-post-by-lcrs-5\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Archived post by lcrs<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/246"}],"collection":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/comments?post=246"}],"version-history":[{"count":0,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/246\/revisions"}],"wp:attachment":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/media?parent=246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/categories?post=246"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/tags?post=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}