royibernthal Posted July 4, 2016 Share Posted July 4, 2016 What do you think about loading complex scenes from zip files then reading them with a library such as JSZip? Wouldn't it be far faster to load 1 zip containing 200 files than to load 200 files individually? (mainly due to avoiding overhead) Is there a downside to doing that? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 4, 2016 Share Posted July 4, 2016 You can also use incremental.babylon and see the difference with the zip. Quote Link to comment Share on other sites More sharing options...
royibernthal Posted July 4, 2016 Author Share Posted July 4, 2016 incremental.babylon seems to be loading multiple files individually, correct me if I'm wrong. With that said, I tested the concept of loading 1 zip vs loading multiple files individually outside of babylonjs (which shouldn't matter, again, correct me if I'm wrong). Loading 1 zip is naturally much faster (at least from my tests) due to avoiding the requests overhead of multiple files (which becomes very apparent the more files you load) I searched the forum for posts on this solution, and I was surprised to see it wasn't discussed in the past. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 5, 2016 Share Posted July 5, 2016 Hello, it is a good idea. Something to check as well: Http2 as it will bring this solution directly from the wire. 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.