ua4192 Posted July 3, 2017 Share Posted July 3, 2017 Hi. Some days ago I realized that the was a new release of COLLLADA2GLTF2.0 available: You can see it at: https://github.com/KhronosGroup/COLLADA2GLTF/releases I have tried with: - COLLADA2GLTF-2.0-windows-Debug-x64.zip or: - COLLADA2GLTF-2.0-windows-Release-x64.zip My problem is that I am trying to use the BABYLON.SceneLoader.ImportMesh method but it seems it is not able to import anything. No meshes, no in In order to use the GLTF2Loader I am using babylon.glTF2FileLoader in the header section of my HTML but it doesn't work neither provides any error output. As I want to import everything from my GLTF files I use "" or null as the first argument of ImportMesh. With GLTF1.0 it works with both. Am i doing anything wrong or maybe GLTF2 is not yet fully supported? I read that it was but it seems it is not the case. My meshes don't have anything than geometries and standard materials. I have tested with the multiple options the command provides: -i inputdaefile -o outputfile [-g] --> with or without -b --> with or without -m --> with or without Best regards Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 3, 2017 Share Posted July 3, 2017 ping @bghgary Quote Link to comment Share on other sites More sharing options...
bghgary Posted July 11, 2017 Share Posted July 11, 2017 @ua4192 Sorry for the slow response. I'll take a look to see if something is broken. In the meantime, can you send me the model that doesn't work or better yet a playground? Quote Link to comment Share on other sites More sharing options...
bghgary Posted July 11, 2017 Share Posted July 11, 2017 Here is a playground for the BoomBox model that works fine: https://www.babylonjs-playground.com/#R07KAT#1 You can also try putting your model into the sandbox and see if it works there: https://sandbox.babylonjs.com/ Quote Link to comment Share on other sites More sharing options...
ua4192 Posted July 15, 2017 Author Share Posted July 15, 2017 Hi. The PG you prepared had only one single mesh, no product structure on it. To reproduce the problem is very simple, just create a collada model with product structure and convert it to GLTF1.0, you will see that the structure is properly converted , now try with GLTF2.0 and you will see. Here you can see my model example converted to GLTF2.0 and you can also see the original DAE file. Best regards test.glb test.dae Quote Link to comment Share on other sites More sharing options...
bghgary Posted August 15, 2017 Share Posted August 15, 2017 @ua4192 I just tried this with the sandbox and the glb appears to load fine. The centering code needs some work as the mesh is kind of far away and hard to see, but it's there. 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.