<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Interpolating Quaternions in MotionBuilder Forum</title>
    <link>https://forums.autodesk.com/t5/motionbuilder-forum/interpolating-quaternions/m-p/5653794#M3296</link>
    <description>&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can try FBGetContinuousRotation() after converting your rotation in euler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/index.html?url=py_ref/group__pyfbsdk.html,topicNumber=py_ref_group__pyfbsdk_htmlb6a2c985-343d-49a1-bb10-0b41e9cee488,hash=gace04bc6ca4ab90cc95c9d9214522a5ff"&gt;http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/index.html?url=py_ref/group__pyfbsdk.html,topicNumber=py_ref_group__pyfbsdk_htmlb6a2c985-343d-49a1-bb10-0b41e9cee488,hash=gace04bc6ca4ab90cc95c9d9214522a5ff&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/py_ref/_samples_2_math_2_math_utilities_8py-example.html"&gt;http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/py_ref/_samples_2_math_2_math_utilities_8py-example.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 May 2015 16:08:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-27T16:08:20Z</dc:date>
    <item>
      <title>Interpolating Quaternions</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/interpolating-quaternions/m-p/5652100#M3295</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the FBX SDK to export data from a motion sensor in FBX format, and I am currently loading it in MotionBuilder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My original data is provided in quaternions, and then I create keyframes based on my joint information. The problem is that it does not seem to be possible to create these keyframes from quaternions. First, I have to convert them to euler angles before that. Please correct me if I am wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I am getting these Gimbal lock effects when I do that. The animation looks fine after using Motionbuilder's GimbalKiller filter, but for my application I might not be able to use these kind of post-processing filters. It also does not seem like an optimal solution. I don't even want to convert to Euler in the first place, but I did not find a way around this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed the SDK has a constant to set the rotation type :"FbxLimitsUtilities::ERotationType::eQuaternion", but I am not sure how to use it.&lt;/P&gt;&lt;P&gt;Whenever I create a new key, it seems to expect Euler angles, no matter what.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use quaternions at all?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2015 16:31:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/interpolating-quaternions/m-p/5652100#M3295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T16:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolating Quaternions</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/interpolating-quaternions/m-p/5653794#M3296</link>
      <description>&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can try FBGetContinuousRotation() after converting your rotation in euler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/index.html?url=py_ref/group__pyfbsdk.html,topicNumber=py_ref_group__pyfbsdk_htmlb6a2c985-343d-49a1-bb10-0b41e9cee488,hash=gace04bc6ca4ab90cc95c9d9214522a5ff"&gt;http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/index.html?url=py_ref/group__pyfbsdk.html,topicNumber=py_ref_group__pyfbsdk_htmlb6a2c985-343d-49a1-bb10-0b41e9cee488,hash=gace04bc6ca4ab90cc95c9d9214522a5ff&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/py_ref/_samples_2_math_2_math_utilities_8py-example.html"&gt;http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/py_ref/_samples_2_math_2_math_utilities_8py-example.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 16:08:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/interpolating-quaternions/m-p/5653794#M3296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-27T16:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolating Quaternions</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/interpolating-quaternions/m-p/5654537#M3297</link>
      <description>&lt;P&gt;Thanks bujinkan&lt;/P&gt;&lt;P&gt;I was thinking about the FBX C++ SDK, I did not find the equivalent of FBGetContinuousRotation() there.&lt;/P&gt;&lt;P&gt;I decided to use, at least for now, the class &lt;SPAN&gt;&lt;EM&gt;FbxAnimCurveFilterUnroll&lt;/EM&gt;, which does the job. I run it as a post-processing step, after all keys have been exported.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2015 04:41:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/interpolating-quaternions/m-p/5654537#M3297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T04:41:13Z</dc:date>
    </item>
  </channel>
</rss>

