I'm working on an animated scene that I would describe as complicated.
The scene is large so to decrease the memory load, I have each part of the scene split into a separate .blend file. Each building (there are 14) get their own .blend file. Each of which is around or greater than 40mb
Then I have separate file for the road and a file for the figures. I'm basically trying to follow how to render a complex scene but with each layer in its own file.
The problem is, and this can be seen in the image I posted above, my layers are not front to back, because sometimes my figures are behind a building.
I was thinking maybe I could somehow use the offending building as a mask over my figures in a separate composite. Something like this:
But then any figures in the foreground get cut off.
Is there a solution to this problem? Right now my idea is to render every single figure on its own layer. But I have 35 and that sounds like a pain.
What are the best practices for compositing a complicated animated scene taking into account changing foreground and background objects?