Is it normal behaviour that SceneLoader.ImportMesh is blocking the scene?
Ie, I cannot load meshes in the background while the scene is working like normal. I tried both ImportMesh and ImportMeshAsync to no avail. Maybe I’m missing something?
Is it normal behaviour that SceneLoader.ImportMesh is blocking the scene?
Ie, I cannot load meshes in the background while the scene is working like normal. I tried both ImportMesh and ImportMeshAsync to no avail. Maybe I’m missing something?
If the mesh is large it will block when processing the requires buffers. There is sadly nothing that can be done here, as those are needed to render the mesh and have to run on the main thread.
Downloading doesn’t block. It’s the processing afterwards that might block.
Great, thank you.
It turns out the following code in my render loop was messing with me:
if (!scene.isLoading) {
scene.render();
}