cx20 Posted December 31, 2016 Share Posted December 31, 2016 I tried the glTF 1.1 sample with some glTF Loader.https://github.com/cx20/gltf-test#gltf-11-tutorial-modelshttps://cx20.github.io/gltf-test/ Related: https://github.com/javagl/JglTF/issues/10#issuecomment-269810809 I would like each library to be all green. Quote Link to comment Share on other sites More sharing options...
Adult Android Games Posted December 31, 2016 Share Posted December 31, 2016 Nice, can you explain to me how it works. I'm new to this forum. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 4, 2017 Share Posted January 4, 2017 Ping @Luaacro Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted January 4, 2017 Share Posted January 4, 2017 Awesome !! Thank you for sharing I'll then be able to test with 1.1 gltf models to update the loader I'll let you know the WIP in this thread PS : I'm also on the bones issues in parallel cx20 1 Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted January 7, 2017 Share Posted January 7, 2017 Hi @cx20 The pull request can be found here: https://github.com/BabylonJS/Babylon.js/pull/1650 I got all the samples working. The back faces of meshes are culled, so be sure that your cameras focuses the loaded meshes, as I had to be sure ahahah cx20 1 Quote Link to comment Share on other sites More sharing options...
cx20 Posted January 7, 2017 Author Share Posted January 7, 2017 @Luaacro Thank you for glTF 1.1 support I updated the following status and examples. https://github.com/cx20/gltf-test https://cx20.github.io/gltf-test/ Although I think that there is no problem in general, there is a point to worry a little, so please check. 1. Several models are displayed in black color. I thinka the default color in glTF specification is gray color. https://cx20.github.io/gltf-test/examples/babylonjs/index.html?category=tutorialModels&model=TriangleWithoutIndices&scale=1&type=glTF Appendix A: Default Material:https://github.com/KhronosGroup/glTF/tree/master/specification/1.0#appendix-a-default-material > If material.technique is not supplied, and no extension is present that defines material properties, > then the object will be rendered using a default material with 50% gray emissive color. 2.Skinning animation is not smooth. https://cx20.github.io/gltf-test/examples/babylonjs/index.html?category=tutorialModels&model=SimpleSkin&scale=1&type=glTF The glTF tutorial skinning animation sample is smooth. I think that glTF Loader of Babylon.js should be smooth as well. glTF Tutorial - Simple Skin:https://github.com/javagl/glTF-Tutorials/blob/master/gltfTutorial/gltfTutorial_019_SimpleSkin.md julien-moreau 1 Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted January 10, 2017 Share Posted January 10, 2017 I'm on it for the default material ! The animations and smoothing are related to the bug I have with bones animations and I'm also on it i'll let you know tomorrow the WIP Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted January 11, 2017 Share Posted January 11, 2017 Hi @cx20 The pull request for the default material is available here : https://github.com/BabylonJS/Babylon.js/pull/1666 cx20 1 Quote Link to comment Share on other sites More sharing options...
cx20 Posted January 12, 2017 Author Share Posted January 12, 2017 @Luaacro I confirmed that the default material was applied and updated the following status https://github.com/cx20/gltf-test#gltf-11-tutorial-models 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.