kpko Posted January 15, 2015 Share Posted January 15, 2015 Hi,I'm having two problems with the exporter for Blender at the moment.I have 3 key frames in my animation in Blender, the exporter exports 100 key frames (one for each frame in the animation). This doesn't really make sense to me, since we could use those 3 key frames and interpolate. Which leads to my second problem...Babylon.js doesn't support interpolation between matrices. I animated the position and rotation of a bone in Blender, so it should export the key frames with the position as a vector3 and the rotation as a quaternion - both data types where Babylon.js could interpolate by itself. Shouldn't the exporter export the simple vectors and quaternions? Or is it possible to somehow interpolate between matrices? Quote Link to comment Share on other sites More sharing options...
Wingnut Posted February 20, 2015 Share Posted February 20, 2015 Sorry it's taken so long to get a reply, kpko. Any solves found? Maybe take a look at http://babylondoc.azurewebsites.net/page.php?p=24666 . dataType : numberThe kind of value affected by the animation : ANIMATIONTYPE_FLOAT, ANIMATIONTYPE_VECTOR3, ANIMATIONTYPE_QUATERNION, ANIMATIONTYPE_MATRIX, ANIMATIONTYPE_COLOR3I'm not experienced in this, but, ANIMATIONTYPE_MATRIX is listed. *shrug* Maybe 3-keyframe matrix anim/interpolation is available, there. Thoughts, from anyone? http://babylondoc.azurewebsites.net/search.php?q=ANIMATIONTYPE_MATRIX(This is a test link for the BabylonDoc searcher. Ignore or enjoy.) https://github.com/BabylonJS/Babylon.js/search?utf8=%E2%9C%93&q=ANIMATIONTYPE_MATRIX(This is a test link for the Babylon GitHub searcher. Ignore or enjoy.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.