Hi @paul_sketch, I’m looking for a “first load” solution.
I’m currently hiding the 3d viewer behind a “loading” div. Though, it’s hard to find the exact moment all the initial edits are ready and the loading stage is over. One of my intial edits is moving the camera to the startup location. I’m listening to the
camerastop event which should indicate this final edit is done. However, I always seem to catch a few material edits which are still visible to the user.
In another case I put all my edits in promises (changing materials, uploading textures, setting the environment, show/hide parts) and listen to when they’re done. Even in that case, I had to add a timeout of about 1.5s before removing my
loading div. A dirty solution, and on slow internet speeds not sufficient.
I’ll try to make a codepen to illustrate this issue.