cx20 Posted June 20, 2017 Share Posted June 20, 2017 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. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 20, 2017 Share Posted June 20, 2017 It should be good today or tomorrow We have it ready! cx20 1 Quote Link to comment Share on other sites More sharing options...
cx20 Posted June 24, 2017 Author Share Posted June 24, 2017 @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) Quote Link to comment Share on other sites More sharing options...
bghgary Posted June 24, 2017 Share Posted June 24, 2017 @cx20 Thanks for the report. I'm working on the "Not Implemented" error. cx20 1 Quote Link to comment Share on other sites More sharing options...
bghgary Posted June 24, 2017 Share Posted June 24, 2017 https://github.com/BabylonJS/Babylon.js/pull/2379 That should fix it. cx20 1 Quote Link to comment Share on other sites More sharing options...
cx20 Posted June 25, 2017 Author Share Posted June 25, 2017 @bghgary Thank you for fixing. I will try it when Nightly build version is made. bghgary 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 26, 2017 Share Posted June 26, 2017 Nightly posted cx20 1 Quote Link to comment Share on other sites More sharing options...
cx20 Posted June 26, 2017 Author Share Posted June 26, 2017 I confirmed that the BrainStem model is displayed with the glTF 2.0 loader of Babylon.js. It looks good https://cdn.rawgit.com/cx20/gltf-test/428f1f702dcc1baaff20f71a1bc0665cf0cf10f4/examples/babylonjs/index.html?model=BrainStem&scale=1 GameMonetize and bghgary 2 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.