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

Async Model Loading #6

Open
mcmonkey4eva opened this issue Sep 7, 2017 · 2 comments
Open

Async Model Loading #6

mcmonkey4eva opened this issue Sep 7, 2017 · 2 comments

Comments

@mcmonkey4eva
Copy link
Member

Renderable models should load asynchronously.
Collision / internal model data should be able to load asynchronously.

Probably this would function as an "empty" VBO / collision mesh, that can be used fine, but is later substituted in with the real model once loaded.

This would function with callbacks and such.

Server data should just refuse to handle a model until it's loaded (EG spawn a plane, plane just isn't there until the plane's model is loaded...)

@mcmonkey4eva
Copy link
Member Author

mcmonkey4eva commented Sep 10, 2017

Same for textures too probably. Defaults to a white texture probably.

@mcmonkey4eva
Copy link
Member Author

Basic texture/rendering-model loading is now async.
Collision loaded is semi-async on the client, still needs to be async'd on the server.
There are still a few cases to account for as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant