V!nc3r Posted October 19, 2018 Share Posted October 19, 2018 I think I spot an issue when importing a gltf file containing instanced meshes. It simply seems to not instanciate meshes, but make copies instead. Here the gltf json showing meshes are correctly exported: and the result (playground link, check the console) same scene exported as .babylon is OK (playground link) Quote Link to comment Share on other sites More sharing options...
Guest Posted October 19, 2018 Share Posted October 19, 2018 Pinging @bghgary Quote Link to comment Share on other sites More sharing options...
bghgary Posted October 19, 2018 Share Posted October 19, 2018 Yes, I'm aware of this one. I don't see a task on my plate for this, so I've added one here. I need to spend some time making sure everything will work. That said, are you seeing any performance issues? All the buffers should be shared. V!nc3r 1 Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted October 19, 2018 Author Share Posted October 19, 2018 I have to make tests on huge scene to tell you about perf bghgary 1 Quote Link to comment Share on other sites More sharing options...
bghgary Posted October 19, 2018 Share Posted October 19, 2018 The draw calls difference is not good, so I guess I better fix it regardless. ? Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted October 22, 2018 Author Share Posted October 22, 2018 Here my tests... bad news, it seems we have a perf' issue ? 3600 instanced meshes, materials with lighting disabled and no hdrTexture for PBR scene (to not add drawcalls compared to Standard .babylon one). .babylon file: https://www.babylonjs-playground.com/#8LFTCH#12 almost 60 fps 3600 meshes 1 draw calls meshes selection duration 7.8 .glb file: https://www.babylonjs-playground.com/#8LFTCH#11 only 23 fps 3601 meshes (+1 = __root__ I suppose?) 3600 draw calls meshes selection duration 14.8 blend file if needed sharp, bghgary and Sebavan 1 2 Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted October 25, 2018 Author Share Posted October 25, 2018 nice job @bghgary! bghgary 1 Quote Link to comment Share on other sites More sharing options...
bghgary Posted October 25, 2018 Share Posted October 25, 2018 Let me know if you see any issues with it. 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.