FreneticLLC / FreneticGameEngine

A powerful C# based 3D and 2D game engine.
MIT License
41 stars 6 forks source link

Async Model Loading #6

Open mcmonkey4eva opened 7 years ago

mcmonkey4eva commented 7 years ago

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 commented 7 years ago

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

mcmonkey4eva commented 5 years ago

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.