Hi- unusual question here:
Does anyone know if this is possible?
I have a composition made of 200 layers. A camera is panning over it, but not all layers are always visible in its "viewfinder" at any one time. As a matter of fact, only about 10 or so layers are "seen" at any point in time during the camera's course. It takes an inordinate amount of time to render each layer when for the most part over 90% of the time, those layers aren't visible.
Question: is there any way to automatically turn off (or hide) the layers that are not visible within the composition window ("viewfinder of the camera") to speed up rendering.
Expressions can't control the enabled (eyeball) attribute of a layer. Even if they could, I think the calculation to determine whether any part of a layer is currently visible in the camera view would be fairly complex.