Thank you, but I should be more clear as to the problem.
The use case that I’m trying to solve is to auto-capture and save snapshots of the image canvas for some predefined camera views
The images are being captured. Just not all of them. Some of them, are intermittently captured as empty canvas
The camera views are being changed and the images captured within a loop in rapid succession. So fast, that I cannot see the canvas change until the last camera view is changed.
I’ve tried to put delays in the loop after each camera view change. The delay occurs, but the camera views do not change during the delay.
I was hoping that there was a callback on the animate function, but I dont see one in the code. Perhaps there is a way to override the animate function an provide this callback ?
But then again, maybe this is not the correct solution.