3

I desperately need step by step instructions on how to zoom into the child sitting in the window. This composition is an animation, I have a bunch of layers but I specifically want to zoom into the window as a track motion effect. I REALLY do not want to scale every layer larger one by one, because I have approx. 15 layers. Please help! I've extremely new to AE.

3 Answers 3

3

Thats simple, pre-comp what you have right now and create a camera layer. Then make you composition layer 3D. The look of you layer will not change unless you add lights or rotate the camera. Then you can pan around and zoom in your picture with the camera.

Thats how you do every sort of zooming e.g. camera animation in after effects. Animating the scale of layers is just a mess like you already realized.

enter image description here

2
  • You could zoom the pre-comp without making it 3D and adding a camera; that would make it even simpler.
    – stib
    Commented Oct 5, 2014 at 12:30
  • Not really true, the camera control is far more intuitive with great manual control with the help of the camera control tool. No need to fiddle around with corner points and numbers.
    – timonsku
    Commented Oct 6, 2014 at 14:30
3

As there's always at least two ways to do things in After Effects, another option to Professor Sparkles' answer is to parent the layers to the one you're zooming in on. Parenting a layer means that any transformation you apply to the parent affects the child (but transformations to the child do not affect the parent).

parenting one layer to another

So select all the layers in the comp, except the one you're zooming in on, and set their parent layer to the layer you're zooming in on. To set the parent either use the pick-whip (the spiral) or the drop down in the parent column of the timeline window (if the parent column is not visible right-click on the column titles in the timeline window). Now when you scale the parent layer, all the children will scale too.


However, say you wanted to scale the background more slowly than the foreground, to give the sense of 3D depth, one way to do this would be to have a few sets of parents corresponding to the foreground, midground and background for example.

But if you want 3D-style perspective you could make the composition actually have 3D depth, and use a camera layer to do the zooming. So here's yet another way to do it:

Make the layers 3D by selecting them all and checking the little box on the far right of the switches panel on one.

3d switch

Then move the foreground layers forwards (decrease the value on the z axis, the third set of numbers that appears in the position property of a 3D layer), and the background layers backwards (increase the z axis). As you do that you'll see them move.

postion value of 3D layer.

Now you can create a camera layer (layer>new>camera) and zoom in on the window by moving it, and the background will scale proportionally. If you want to see how everything is layed out in your 3D scene, switch the viewport from "default Camera" to "Custom View" or one of the other views.

enter image description here

And here's the city layed out in 3D (well, my two-layer approximation that I did in a couple of seconds, but you get the idea).

custom view of the scene

In custom view you can use the camera tool (hit 'c' on the keyboard) to orbit (left mouse button), pan (middle mouse button) and zoom (right mouse button) in the viewport. In the camera view using this tool will actually move the camera. You can use this to make your start and end keyframes for your camera.

There's truckloads of 3D tutorials for AE on the web, here's a place to start, at Adobe's own website

1
  • Well thats exactly what I proposed without the pre-comping. The advantage of the pre-comp is that you don't alter the way your layers behave which can be irritating or unwanted behavior. But nice detailed explanation.
    – timonsku
    Commented Oct 5, 2014 at 12:44
0

It isn't clear to me if you are trying to zoom with perspective differences between the layers or not, but if you just want to zoom the viewpoint without altering the scene, you could use either of the previously mentioned methods or, for something even simpler, you could also include the composition as a source in another composition and simply scale it all together. You might have to increase the resolution of the source composition for this to work best, but it depends on how your compositions are setup.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.