JackFalcon Posted August 7, 2017 Share Posted August 7, 2017 Hi, Looking around for a lazy-loading mesh example. There is assetManager and sceneLoader, with ImportMesh, .append() and .load() variations. All good there. : ) Question: Which way is best to delay-load (lazy-load) 3D meshes? The original hope was for AssetManager to be able to delay-load. Does it? - Looking for something like runTask, after init, but then found ._runTask, so maybe delay not possible. Did I miss it? Idk. : ) 2) Next, sceneLoader.append, can it lazy-load? Couldn't find example.... 3) ImportMesh, my previous favorite way, but recently standardized around AssetManager, and hesitant to switch. etc. Which is best to lazy-load? Thanks, Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 8, 2017 Share Posted August 8, 2017 Hey! 1. AssetsManager does not provide lazy loading as you are directly calling mesh loading 2: Append can lazy load if you use incremental files: http://doc.babylonjs.com/tutorials/using_the_incremental_loading_system 3: Same as 1. JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted August 8, 2017 Author Share Posted August 8, 2017 Thank you DK, Exactly what is needed. Also makes sense why! Matrix multiply is my guess... (and then a bunch of runtime stuff) didn't think of that. Hopefully this helps others find the Babylon Incremental Loading System. : ) Super cool. GameMonetize 1 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.