I am managing a scene from external data but the users can control the camera and move some objects. When the render loop is running most of the renders result in no changes but still make the laptop fan go wild.
What is the best way to skip calling
scene.render() if the scene has not received any updates from outside and the user is not trying to interact with it directly?
Invalidating scene based on incoming data is easy. And for detecting user interactions I was hoping to rely on
camera.onViewMatrixChangedObservable, but that does not seem to be triggered while the scene is not being rendered.