Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve loading screen logic #389

Open
leanmendoza opened this issue Apr 6, 2024 · 0 comments
Open

Improve loading screen logic #389

leanmendoza opened this issue Apr 6, 2024 · 0 comments

Comments

@leanmendoza
Copy link
Collaborator

The current logic can be tricky and introduce the next issue: #253
To change this behaviour the loading screen logic has to be rewritten by:

  • Generating well-defined scenes to be loading: today, this is dynamic because pointers are fetched by demand, so a new state defining if all the pointers and urns are loaded has to be created
  • Defining a monotonic increasing progress for scenes: now the scenes have several initial ticks to send the GLTF to be loaded, this increases the amount of the total of assets to be loaded to consider if the scene is completed loaded. An assumption of considering the progress random can work, then the challenge is to not let it seem to be stuck in the last step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant