Home › Forums › General Questions › Async loading of scenes for stable fps
Tagged: async load append scene
Is there any possibility to append scenes in an asynchronous manner so that the 3d does not suffer any performance issues while it is happening in the background? If not, could this feature be developed for a future version?
Also of high importance, could appending scenes be done in such a manner that if the material already exists in the first scene, the second one will just use that instead of doubling it?
Hi, can you please elaborate a bit how this issue is reproduced. It can be either of two:
1) Data is loaded via network in the background so it should not cause any FPS drop. So your issue is purely with long time the user have to wait before the new assets appear.
2) Scenes with lots of shaders/geometry/animation may cause FPS drops when the engine finishes with data fetch and starts preparing the loaded data.
To verify 1, please use slower network connection or throttle network speed in Chrome.
To verify 2, enable FPS counter in your app.
Regarding materials, the engine already caches the shaders, so it will take less time when they are loaded second time.
Verge3D’s Tech Chief
FB | Twitter | VK
The problem is more similar to the 2nd point, so that is why I thought about loading/preparing the scene in async from the main one.
To clarify: we’re talking about two separate issues.
Test your math:
Log in / Register