Jump to content

Issues with Babylon.js Blender exporter


kpko
 Share

Recommended Posts

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?

Link to comment
Share on other sites

  • 1 month later...

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 : number

The kind of value affected by the animation : ANIMATIONTYPE_FLOAT, ANIMATIONTYPE_VECTOR3, ANIMATIONTYPE_QUATERNION, ANIMATIONTYPE_MATRIX, ANIMATIONTYPE_COLOR3

I'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.)  :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...