Adding manually loaded GLB/GLTF model to the view

1. A concise explanation of the problem you’re experiencing.

As an alternative method of controlling the load of models before they are added to the view, we are trying to do the following.

image.png

This method allows us to control the loading of the model to the browser and be able to know when the model is loaded and therefore is ready to be displayed.

The question is - how can we add the loaded model to the view?

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

We are dealing with hundreds of models which vary in complexity and location. One of the scenarios we are trying to implement is replacing the high resolution model with lower resolution when the Camera gets further away from the object. In order to achieve user experience without interruption or double-up we need to know when the new model is ready to display, so we could remove previously displayed model and place a new one. For that to work, we need to know precisely when the new model is loaded, which is why we are trying to load it manually (as shown above).

4. The Cesium version you’re using, your operating system and browser.

We are keeping up to date with the latest available Cesium version as much as we can, We are targeting wide variety of target platforms (Chrome, Firefox, Safari, Edge : Windows, Linux, Android, iOS).

I can’t see the image, perhaps try to reupload or upload it to imgur.com and link here?

Does my answer to your other thread (https://groups.google.com/d/msg/cesium-dev/25XIuI25F7A/TD_FCOJJDgAJ) help?