Asynchronous texture creation for smoother render loop
-
lindsay.kay (at xeolabs)
- Tag set to scenejs.texture
- State changed from new to resolved
There is still some clunkiness because the fastest strategy turned out to be to ensure that the complete set of layers are loaded before applying any of them. There would be a huge performance penalty if we were to apply the incomplete set as layers are still loading - SceneJS would then have to generate a new shader for each new layer loaded, which would become redundant as soon as the next layer is loaded.
The latter gave some smoothness but at the cost of at least 2X slower overall time taken before scene graph stabilised into final state with all geometries and shaders created and loaded.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.