Jump to content

Babylon.js + glTF 2.0 Loader does not support skinning animation yet?


cx20
 Share

Recommended Posts

I tried the glTF 2.0 sample with some glTF 2.0 Loader.

https://github.com/cx20/gltf-test/tree/2.0#more-complex-models

However, Babylon.js does not seem to be able to display the skinning animation model of glTF 2.0.

Below is the error contents displayed on the console when loading the RiggedSimple.gltf model.

https://cdn.rawgit.com/cx20/gltf-test/99c7752dfbca68f7f8e1b33960ac8f158d6e37b2/examples/babylonjs/index.html?model=RiggedSimple&scale=0.2

babylon.glTFFileLoader.js:2516
Uncaught TypeError: getNextOutputValue is not a function
    at LINEAR (babylon.glTFFileLoader.js:2516)
    at loadAnimation (babylon.glTFFileLoader.js:2531)
    at loadAnimations (babylon.glTFFileLoader.js:2579)
    at postLoad (babylon.glTFFileLoader.js:3133)
    at babylon.glTFFileLoader.js:3466
    at babylon.glTFFileLoader.js:3516
    at checkSuccess (babylon.glTFFileLoader.js:3207)
    at babylon.glTFFileLoader.js:3216
    at Function.GLTFLoader.LoadCommonMaterialPropertiesAsync (babylon.glTFFileLoader.js:3284)
    at Function.GLTFLoader.LoadCoreMaterialAsync (babylon.glTFFileLoader.js:3214)

I think that the model of skinning animation of glTF 1.1 was able to be displayed, so it would be nice to be able to support glTF 2.0 display as well :)

Thanks.

babylonjs_gltf_20170620.png

Link to comment
Share on other sites

 @Deltakosh Thank you for supporting skinning animation!

I confirmed that it works except models of WalkingLady and BrainStem.

See : https://github.com/cx20/gltf-test/tree/2.0#more-complex-models

WalkingLady does not display even currectly with other glTF loaders, there is a possibility of a problem with the model (or converter).

Related : https://github.com/KhronosGroup/glTF-Sample-Models/issues/83

I think that BrainStem is WIP because "Not implemented" error is given.

https://cdn.rawgit.com/cx20/gltf-test/0ece75c19338a1e699e7c2e80d115bd76eb2df4d/examples/babylonjs/index.html?model=BrainStem&scale=1

babylon.glTFFileLoader.js:2618 
Uncaught Error: Not implemented
    at GLTFLoader._updateBone (babylon.glTFFileLoader.js:2618)
    at babylon.glTFFileLoader.js:2609
    at GLTFLoader._traverseNode (babylon.glTFFileLoader.js:2861)
    at babylon.glTFFileLoader.js:2609
    at babylon.glTFFileLoader.js:3063
    at Observer.callback (babylon.glTFFileLoader.js:3016)
    at Observable.notifyObservers (babylon.max.js:5052)
    at babylon.glTFFileLoader.js:3021
    at XMLHttpRequest.request.onreadystatechange (babylon.max.js:5586)

 

babylonjs_gltf_20170624.png

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...