I shoot a video in front of my house looking at somthing passing by the sky, but there's a in a middle of teh shot a building. The model i want to render will be flying by and going behind the building.
I have a cube and the model in the maya scene the cube is place where the building is. Now i render the scene but i still see the cube and if i use layers (cube in one and ship in the other) it will render the ship without the effect behind the cube....
I hope some understand what im doing...

For compositing I use After effects 6
Maybe im missing a simple step?
Any help will be appreciated!!!