MackeyK24 Posted June 4, 2018 Share Posted June 4, 2018 Yo @Deltakosh and @Sebavan I saw a few scenes on the Babylon Website that when you load them they have a actual PROGRESS PERCENT BAR and I even say one that said something like: "Loading 3 of 40 MB ..." How the heck could you possibly know how much total MB for all the the scene assets, and how you possibly know know how much of it has been downloaded ?? Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted June 4, 2018 Share Posted June 4, 2018 Is this can help? http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen And here a try I've made to understand how it works. Note that I use percent instead of MB, but I suppose checking the api could help? Don't know where. Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted June 4, 2018 Author Share Posted June 4, 2018 Thanks for your input. I already know how to make custom loader. I use one now. I current use get waiting items to a count of items to download from scene. What i am asking is how other are tracking total MB that they are using foe the loading progress. Is there some kind of masive zip file that has all thw scene assets ... kind of like a asset bundle and that is what they are doing to package all the assets where they can use total MB for loading screen... i hope that clarifies a bit Quote Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2018 Share Posted June 4, 2018 Like that: https://github.com/BabylonJS/Website/blob/master/js/loader.js#L119 Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted June 5, 2018 Author Share Posted June 5, 2018 Sweet... That was real easy... Never knew that was there Quote Link to comment Share on other sites More sharing options...
Guest Posted June 5, 2018 Share Posted June 5, 2018 Quote Link to comment Share on other sites More sharing options...
GaneshaNeo Posted March 18, 2021 Share Posted March 18, 2021 On 6/4/2018 at 10:01 PM, Deltakosh said: Like that: https://github.com/BabylonJS/Website/blob/master/js/loader.js#L119 Link is not available.. What is the solution? Can you help? @Deltakosh Quote Link to comment Share on other sites More sharing options...
GaneshaNeo Posted March 19, 2021 Share Posted March 19, 2021 On 6/5/2018 at 3:37 PM, MackeyK24 said: Sweet... That was real easy... Never knew that was there What was the solution? the link is broken.. Can you help? 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.