aframevr / aframe

:a: Web framework for building virtual reality experiences.
https://aframe.io/
MIT License
16.69k stars 3.98k forks source link

Loading screen component dots are usually frozen. #3823

Open ngokevin opened 6 years ago

ngokevin commented 6 years ago

Description:

When lots of stuff is initializing and loading, the loading screen dots are always frozen. I only ever see one dot in the middle of the screen.

dmarcos commented 6 years ago

If something blocks the main thread the animation won't run. We can try an overlapped CSS animation that might work in 2D scenarios.

ngokevin commented 6 years ago

Yeah, should have a CSS form. Though if it doesn't run during loading, it's kinda pointless. Since during loading and initialization, there's so much stuff happening, that stuff will almost always block.

dmarcos commented 6 years ago

The three dot animation was picked to mask short main thread pauses. It does not require 60 fps. I wonder what causes those long pauses.

ngokevin commented 6 years ago

Everything that happens during loading (initializing entities, components, parsing models, decoding images).