cx20 Posted January 15, 2017 Share Posted January 15, 2017 I added a sample of glTF Materials Common to the sample list below. However, it was all displayed in gray. Is Babylon.js + glTF Loader unsupported by glTF-MaterialsCommon? https://cx20.github.io/gltf-test/ glTF-MaterialsCommon/Duck.gltf glTF-MaterialsCommon/Box.gltf Quote Link to comment Share on other sites More sharing options...
cx20 Posted January 15, 2017 Author Share Posted January 15, 2017 I forgot to put the URL glTF-MaterialsCommon/Duck.gltf Model : https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/1.0/Duck/glTF-MaterialsCommon Example : https://cx20.github.io/gltf-test/examples/babylonjs/index.html?category=sampleModels&model=Duck&scale=1&type=glTF-MaterialsCommon glTF-MaterialsCommon/Box.gltf Model : https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/1.0/Box/glTF-MaterialsCommon Example : https://cx20.github.io/gltf-test/examples/babylonjs/index.html?category=sampleModels&model=Box&scale=1&type=glTF-MaterialsCommon Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 17, 2017 Share Posted January 17, 2017 Ping @Luaacro Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted January 17, 2017 Share Posted January 17, 2017 Hey very good !! I'm on it ! I'll be the occasion to develop another extension I'll let you know the WIP cx20 1 Quote Link to comment Share on other sites More sharing options...
cx20 Posted February 10, 2017 Author Share Posted February 10, 2017 I think that it is probably WIP, but I tried the latest version of Babylon.js and glTF Loader (January 9). The following results were obtained. The texture is displayed, but it seems that the front and rear displays are displayed in reverse. Example : https://cx20.github.io/gltf-test/examples/babylonjs/index.html?category=sampleModels&model=Duck&scale=1&type=glTF-MaterialsCommon Example : https://cx20.github.io/gltf-test/examples/babylonjs/index.html?category=sampleModels&model=Box&scale=1&type=glTF-MaterialsCommon Ignore it if it is a known problem Quote Link to comment Share on other sites More sharing options...
cx20 Posted February 12, 2017 Author Share Posted February 12, 2017 @Luaacro san I investigated the above problem using the WebGL Insight Crome extension. https://chrome.google.com/webstore/detail/webgl-insight/djdcbmfacaaocoomokenoalbomllhnko I think the problem is that CULL_FACE_MODE is FRONT instead of BACK. Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted February 12, 2017 Share Posted February 12, 2017 Hey @cx20 ! Thanks for this feedback! You are right I had problems with back face culling and fixed it. I'm going to commit a new WIP which allows to create lights defined by the extension Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted February 13, 2017 Share Posted February 13, 2017 @cx20, The final pull request is available here : https://github.com/BabylonJS/Babylon.js/pull/1770 I can't test ALL models (due to my poor internet connection on phone) but I tested some models and it works for instance. Let me know if you find a bug Thank you !! cx20 1 Quote Link to comment Share on other sites More sharing options...
cx20 Posted February 13, 2017 Author Share Posted February 13, 2017 @Luaacro Thank you for fixing. I will test it when I return home today. Quote Link to comment Share on other sites More sharing options...
cx20 Posted February 14, 2017 Author Share Posted February 14, 2017 @Luaacro san I have updated babylon.js at the following URL. https://cx20.github.io/gltf-test/ I confirmed that the glTF Materials Common model such as Duck and Box is displayed correctly However, the glTF model of skinning animation seems to stop working Please check the behavior of skinning animation model (RiggedSimple, RiggedFigure, CesiumMan, etc...) I think that it was working in the version slightly before. Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted February 14, 2017 Share Posted February 14, 2017 Hi @cx20, just fixed animated meshes here! https://github.com/BabylonJS/Babylon.js/pull/1778 I reproduces the bug, thanks for this feedback Quote Link to comment Share on other sites More sharing options...
cx20 Posted February 14, 2017 Author Share Posted February 14, 2017 @Luaacro I tried again the latest version of Babylon.js, but it seems that it is not yet animated https://cx20.github.io/gltf-test/ Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 15, 2017 Share Posted February 15, 2017 Was a bug on my side..should be good now cx20 1 Quote Link to comment Share on other sites More sharing options...
cx20 Posted February 16, 2017 Author Share Posted February 16, 2017 @Deltakosh @Luaacro Skinning animation model now works as soon as I replaced it with the latest version of Babylon.js https://cx20.github.io/gltf-test/ Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 16, 2017 Share Posted February 16, 2017 This is a GOOD NEWS 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.