1 person found this helpful
For lights and cameras in a pre-comp to show up in the nested comp you need to have collapse transformations turned off. If your camera is in the main comp and you have 3D layers in the pre-comp that you want to act like 3D layers then you have to put your lights in the main comp too. It's a matter of rendering order.
It would really help if we knew why you don't want lights in your main comp. If it is because you want layers in the main comp that are not effected by lights then all you have to do is go into the material properties of those layers and turn off Accepts Lights.
Without a more complete explanation of what you are trying to do accompanied by a screen shot I don't have anything else for you. The pink slab in the main comp is set to receive shadows but not to receive light. The rest should be easy to figure out.
Thank you for your answer, i've understood some things.
The situation is:
I have a precomp that contains walls and floor of the house. They are just flat images in 3d.
I have three room lights.
Because the size of those images are about 10k x 5k, i can't preview or render Full ("more than 2gb" error).
But the error mesage displays on about 3rd frame when rendering.
So my thought was just to render only one frame and loop it, because lights are static and AE doesnt have to analyze lighting of walls each frame.
In main comp i would put characters with the same light (pickwhiped).
Sorry for my bad English, i hope you've understood something:)
1 person found this helpful
First, you don't need the layers to be so big. Set pieces, your walls, should only be big enough to fill the frame when the camera is farthest away. If you need to do really big moves you can build your set in sections eliminating the parts (layers) that move off screen as the camera moves. Plan your work so that you don't have huge images in the scenes that have to be scaled way down to fit in the frame.
Second, I would work the other way around. I'd put my characters in Pre-comps and make them bigger than they need to be in the scene. Work on the individual performances in the pre-comp, then put them in the scene in the main comp as a 3D layer with collapsed transformations. I spent about 15 minutes setting this up tonight while the AME is kicking out a render. Hopefully it will give you some ideas.
Try playing with the project a bit. The walk cycle and smile are animated in the pre-comp. The blocking of the character - movement within the scene is animated inside the Main comp with the character in the room. There are a couple of other tricks here. Check out the expression that keeps the actor looking at the camera and the expression that ties focus distance to the point of interest to allow easy adjustment of the depth of field.
Run your motion tests with the lights turned off for faster previews. When the motion is good, Turn on the lights. The project was saved as CS6.
Thank you, Rick! That's clear!