Render region can really speedup render times. I often render things, objects, layers that do not cover the whole scene. So i can setup the region and speed up things.
But those objecta can be bigger or change the position - so it eventually leave the region. And i dont want to sit and update it every frame.
Maybe the after the first pass or some raycast, the region could be adjusyed automaticly so it ignore the empty space?
Try this script. Just unpack and drag-and-drop it into any of the viewports. Then click “enable auto-regions” and start rendering your sequence as usual. It works in my basic tests.
Note: This script was generated with the help of artificial intelligence. Please review, test, and adapt the code carefully before you use it in a live or production environment.