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

Load models in background thread #2023

Open
375gnu opened this issue Dec 21, 2023 · 1 comment
Open

Load models in background thread #2023

375gnu opened this issue Dec 21, 2023 · 1 comment
Labels
core enhancement New feature or request wishlist

Comments

@375gnu
Copy link
Member

375gnu commented Dec 21, 2023

Celestia itself is a single threaded application, so when an object which uses models comes to viewport Celestia stutters for a while because it loads that model and its textures. The problem is that this model may never become visible and so users unfamiliar with Celestia may treat it as unusable due to stutters without any reason.

Today even the cheapest mobile CPUs have several cores so it would be good to load models and textures in a background thread to reduce stutters.

@375gnu 375gnu added enhancement New feature or request wishlist core labels Dec 21, 2023
@levinli303
Copy link
Collaborator

levinli303 commented Dec 27, 2023

this might also help make it possible to host celestia content on the internet in the future. since network request should always happen on other threads.

maybe we can render a placeholder model/texture as the loading is underway?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request wishlist
Projects
None yet
Development

No branches or pull requests

2 participants