← HUW112

Class 16 — Subcompositions

Agenda

https://cuny907-my.sharepoint.com/:u:/g/personal/jeffrey_ong97_login_cuny_edu/IQD6AK-PXb2MSIIwGwQ6TJaaAdsVEZ_6Hzp1VamL2rJAmh0?e=ODrF1Q

Drawing a Motion path using a Null Object

  1. Draw a mask or shape layer path with the Pen tool (it can be open, not closed).
  2. Select the mask path in the timeline (Layer > Mask > Mask Path), then Cmd/Ctrl+C to copy it.
  3. Select your layer, press P, click the Position property name, then Cmd/Ctrl+V to paste.
  4. AE converts the path into Position keyframes. The first keyframe lands at the playhead and the last at the path’s end, so move the playhead to where you want the move to start before pasting.
  5. Adjust timing by dragging the last keyframe, or select all keyframes and Option/Alt-drag the end to stretch them.

The built-in motion blur

  1. In the Timeline panel, find the Motion Blur switch column. It’s a small icon of three circles. If you don’t see it, click Toggle Switches / Modes at the bottom of the timeline to show the switches.
  2. Turn it on per layer by clicking the switch for that layer.
  3. Turn on the master switch, the same three-circle icon in the top bar of the timeline. Without it, nothing renders blur, even if the layer switches are on.

Recipe: word-by-word rise and fade

  1. Create your text layer. Twirl open it, then click Animate (next to Text) and add Position. Then click Animate again and add Opacity.
  2. Set the Animator’s Position to something like 0, 30 (it starts 30 px low) and Opacity to 0%.
  3. Open the Range Selector. Under Advanced, set Based On to Words (or Lines for infographics).
  4. Keyframe the Range Selector’s Offset from -100% to 100%. Words rise and appear one after another.
  5. Under Advanced, set Shape to Ramp Up or Smoothness around 100%, and add Ease High/Low values for softer motion. This is where the polish comes from.
  6. Adjust the timing: faster offset for punchy, slower for dramatic.

Making it work for speech bubbles

Making it work for infographics

Demo: pre-compose

A subcomposition is a composition inside a composition. It bundles layers so you can treat them as one.

Why

Steps

  1. Select all the layers of frame 1
  2. Layer → Pre-compose (Cmd+Shift+C)
  3. Name it Frame 1
  4. Choose Move all attributes into the new composition
  5. OK. The layers are now one layer.
  6. Double-click it to open the inside. Use the tabs at the top of the timeline to go back.

Now try this

  1. Select the Frame 1 layer
  2. Effect → Transition → Linear Wipe
  3. Animate Transition Completion
  4. The whole frame wipes as one piece

Gotchas

Demo: Track Mattes

Setup

  1. Put your video layer in the timeline.
  2. Create a text layer and place it above the video. Use a thick, bold font at a large size, since thin letters show very little video.
  3. If you don’t see the Track Matte column, click Toggle Switches / Modes at the bottom of the timeline until it appears. It’s labeled TrkMat.
  4. On the video layer, open its TrkMat dropdown and choose Alpha Matte “[your text layer name]”. In current versions of After Effects you can pick the matte layer from a second dropdown or the pick whip next to it.
  5. The text layer’s own visibility toggles off automatically, and the video now shows only inside the letter shapes.

The matte layer needs to be above the layer it’s affecting in older versions. Newer versions (2020 and later) let you choose any layer as the matte, but keeping text above the video is the safest habit.

Choosing the matte type

Adding a background behind it
Once the video is only visible through the text, the rest of the frame is transparent. Add a solid layer (Layer > New > Solid) below the video and set it to a color or gradient.

Making it more interesting

Demo: reuse and organize

Reuse

Line frames up automatically

  1. Select all the Frame layers (in order)
  2. Animate → Keyframe Assistant → Sequence Layers
  3. Check Overlap, duration 10–15 frames
  4. They line up end to end, overlapping slightly
  5. Add a fade or wipe to the overlap

Organize

Go further (optional, for a few students)