Can you use spinners to hide model loading?
I have a large model with several sequences. The user can load different sequences with buttons that call:
var myPVZ = "Illustration"; //Sequence name
var consistent = "app/resources/Uploaded/" + myPVZ + "/l-Model - ";
$scope.view.wdg['3D_model'].sequence = consistent + "Default" + ".pvi"; //Load sequence
The sequence then takes a couple of seconds to load and you can see different parts of the model appearing as it does. I wondered if it's possible to hide this loading with a spinner and then reveal the model at once when it has fully loaded.
For example:
- Set 3D_model visibility = false
- Start spinner
- Start load sequence
- 2 second delay
- Stop spinner
- Set 3D_model visibility = true
Is this a good approach?
Alternatively is there a parameter that reports when a model has loaded, rather than using a delay?


