mfprogrammer Posted July 11, 2018 Share Posted July 11, 2018 The time needed for any house to load in firefox is 3 minutes approx and on chrome its 40s and edge 60s. How to check why is there such a huge difference and how to make it faster? Thanks. Here is an example: http://configurator.ibuild.nl/configurator/index.php?projid=%BA3%99%84%DC%02%C1%E5#scene/houses/772/vpoints/view/1842/ Quote Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2018 Share Posted July 11, 2018 You can use f12 profiler in Firefox and check the network tab. Then order request by time and check which one is slow Quote Link to comment Share on other sites More sharing options...
mfprogrammer Posted July 12, 2018 Author Share Posted July 12, 2018 If I look at that, the timings are almost similar to that on the network profiler. I have attached the images of the profiler tab. You will see that the time needed to load the HTTP requests are the same. The difference I see is the time it takes to build those meshes on the babylon scene. I know that webGL is a bit slower in firefox. But there is a huge difference here. That is what I am trying to understand and make faster if possible. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2018 Share Posted July 12, 2018 This is perhaps a driver issue. Let's try without webgl2 (the engineOptions parameter of the constructor: http://doc.babylonjs.com/api/classes/babylon.engine#constructor) Quote Link to comment Share on other sites More sharing options...
mfprogrammer Posted July 12, 2018 Author Share Posted July 12, 2018 This is how I have done it. this.engine = new Babel.Engine(this.domcanvas, true, {disableWebGL2Support: true}); I also printed the WebGL version and we are using 1.0 _webGLVersion:"1.0" _gl: WebGLRenderingContext { canvas: canvas#renderView.cursorDefault , drawingBufferWidth: 1361, drawingBufferHeight: 328 } _glRenderer: "Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) " _glVendor: "Intel Open Source Technology Center" _glVersion: "WebGL 1.0" But no difference in load times. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 13, 2018 Share Posted July 13, 2018 Ok so it is not webgl2 related Can you pinpoint which object slow down the loading? or which texture? Are you using DDS or cube textures? 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.