Marking Attributes for Keyframing Previous Next Setting Keyframes Automatically

Chapter 21, Animation
Setting Keys Manually



You can set keyframes for any animatable parameter at any time, and in any order. When you add a keyframe, the interpolation between the previous and the next keyframe is computed automatically. Setting a keyframe over another keyframe replaces the old keyframe.You can set keyframes the following ways:

Example: Animating Using the Tool UI Top

In this example, you'll be creating a simple animation that would change the amount of gray in an image over the span of 96 frames. You'll be manually setting keyframes using the tool UI.

Note: It is assumed that the composition is loaded and that the Gray tool has been added to the dependency graph.

To animate the amount of gray in an image using the Gray tool UI:
  1. Open the Gray tool and select the Amount attribute label, marking it for keyframing. A yellow rectangle appears on the tool node indicating that it has been marked for keyframing.

    Show full-size image

  2. At the first frame leave the value at 1.00000.

  3. Select the Set Keyframe button in the Tool Options or the Player controls.

    A red line appears at the top of the attribute label, indicating the start point of the animation.

    Show full-size image

  4. Move the time cursor in the Player navigation bar to frame 30.

    The red line changes to green to indicate that animation occurs between frames 0 and 30.

    Show full-size image

  5. Change the value in the Amount field to .50000.

  6. Select the Set Keyframe button.

    The green line changes back to red. Again, this indicates that a new keyframe has been added to the timeline.

  7. Repeat steps 3 to 6 as required.

  8. Select the Gray attribute in the Composition browser.

  9. Select Frame or Frame All to view the curves in a Curve Editor (or press Home).

Note: You can also set keyframes in the tool UI by right-clicking an attribute field and choosing any of the options to mark attributes and set keyframes.

Example: Animating Using the Composition Browser Top

You can also use the Composition Browser to manually set keyframes. The following procedure uses the same example of adjusting the amount of gray in an image.

Note: It is assumed that the film footage is loaded and that the Gray tool has been added to the dependency graph.

To animate the amount of gray in an image using the Gray tool in the Composition Browser:
  1. Expand the Gray tool in the Composition Browser.

  2. Mark the Amount attribute for keyframing by selecting its radio button in the M column.

    Show full-size image

  3. At the first frame, leave the initial value as is.

  4. Select the Set Keyframe button to set a keyframe on the Amount attribute.

    An orange key icon appears in the animation A column next to the attribute, indicating a keyframe has been added for this attribute at that frame.

    Show full-size image

  5. Move the time cursor in the Player navigation bar to frame 30.

    Note: When you move the time cursor to the next frame, you will notice that the orange key icon changes to white, indicating that animation occurs between the first keyframe you set and the next one.

  6. Click in the value editor in the Composition Browser and either type the new amount of gray, then press Enter, or drag inside the value editor.

    Show full-size image

  7. Repeat steps 4 to 6 as required.

  8. Select Frame or Frame All to see the curves in the Curve Editor.

Previous Next