CAP 151 - Introduction to Computer Animation

Lesson 1 - Basic Animation (and Pre-Roll)


This lesson introduces the student to several aspects of the software used for the course. Objectives important to this lesson:

  1. After Effects introduction
  2. Layout of the workspace
  3. Standard panels
  4. Basic terms
  5. Starting a project
  6. Keyframes and in-betweens
  7. Motion paths

We will actually begin with the Getting Started section of the text (before the numbered pages), move on to the Pre-Roll chapter, and continue through page 21 in the text for this lesson. In the Getting Started section, the authors tell us that they used After Effects 7 for the screen shots in the text. They also used a Macintosh. Consequently, you will see some differences between the screen shots in the book and what you will see in our Windows-based lab.

You will note that the disk that comes with the book does not include a trial version of After Effects. The authors refer us to Adobe's download page to get the current trial version of the product if we need to do so. Note that you have to sign up for a free Adobe ID in order to download from their site. It is good that the program is available for both the Mac and Windows platforms. (This information is provided for students who want to put a trial copy on their own computer.)

In the usual textbook section about font conventions, we learn that the text will sometimes talk about "context clicking", which means right-clicking in a Windows environment. We also learn that After Effects "makes a distinction" between the enter key on the numeric keypad and the enter key on the QWERTY section of the keyboard. Great. In the text, they will say Enter when they mean the numeric enter key, and they will say Return when they mean the QWERTY enter key. In the olden days, there were no computers for ordinary people. There were only typewriters. Typewriters did not have numeric keypads, but they did have QWERTY keyboards, and electric typewriters had a Carriage Return key. This is why Enter keys are sometimes called Return keys. The one the text calls Return is the one that is in the same position as the Return key on an electric typewriter. For those of you who have never seen one, this video shows someone typing on a manual typewriter, with a carriage return lever.

The Pre-Roll chapter begins with some terminology and warnings:

  • project - a container file for any number of components that will be used to produce output in After Effects
  • comp, composition - a piece of a project that you create in After Effects; contains footage files or other comps
  • footage - any resource used in a composition in After Effects; this includes video, audio, graphics, and other file types. This usage of the word footage is a reference to adding film footage to a movie.
  • layer - once footage is added to a comp, that footage becomes a layer in the comp. This is like the layers that exist in a Flash project that we saw in CAP 101. Remember: a layer is just an object that you have added to your composition.
  • application window - the window that holds all After Effects panels; the After Effects workspace
    • toolbar - buttons for common tasks; an explanatory graphic of the toolbar buttons appears on page 3
    • project panel - control panel for comps, footage, and folders to organize your project
    • composition panel - like the stage in Flash, an area where you work with your footage . A warning appears in the text to remember that magnification and resolution (two settings on the comp panel) are different things. Magnification is your zoom level on your medium, and resolution controls how many pixels will be rendered in the output. Recommendation: keep them the same. Be aware that this panel has space to either side called the Pasteboard. This space does not appear in the final movie, it is used to hold layers that are not "on screen" yet.
    • timeline panel - shows a timeline and keyframes for the layers in a comp, shows the length and order of layers; the text implies that this is the panel for creativity, as compared to the comp panel being the one for organization
    • layer panel - a work area for individual layers (footage elements); contains a separate timeline that is relative to the layer itself
    • other panels are discussed in various lessons

The text points out that when you add footage to a comp, a copy is not saved in the project file. What is saved is a pointer, which is a placeholder that knows the relative location of the footage file. This means that if you add footage that is not in the same folder as the project file, and you move the project file, the folder it is in, or the footage file itself, you will likely lose access to the footage. For this reason, you should keep copies of footage in the folder you use for each project, or maintain a file structure that does not change (which is impractical, if not impossible). Copies in your project folder will make that folder transportable from one workstation to another.

You can change your current workspace with the Workspace dropdown list. Each choice on the list gives you a different configuration of panels, each configuration related to particular tasks. You can go back to the default configuration by choosing Standard from the list.

You can also rearrange the panels on the screen, putting them where you want. This is not recommended while you are trying to follow the lessons in the text. If it is too late for that bit of information, note that the last choice on the Workspace list is "Reset Standard", which puts the panels back in standard locations.

This takes us to the first lesson (chapter) in the text, beginning on page 12. You begin a project on page 14, and will continue through page 20 in this lesson. (More next week.)

The text reviews some of the material above, and mentions that we can establish keyframes for most properties of a layer. A series of keyframes gives us timestamps to set a value. After Effects calculates the values to use in-between keyframes. This means that footage on a layer can be moved, rotated, faded in and out, and more.

Tutorial Notes and Questions

Note: Exercises should be carried out in the classroom. You will not get very much out of them by just reading, nor will you learn what is required by just experimenting on your own. Each exercise is meant to cover specific content that you will be required to know.

Work through the exercises and turn in your answers to all questions below as part of the homework for this assignment.

Tutorial 1 (Starting a Project):

  1. Start After Effects. You get a new project. Select the Standard workspace, and select Reset Standard.
    Question 1: Why do you think the text asks you to select those two choices?
  2. Create a new folder as instructed. Remember to press the QWERTY Enter key when the book says to press Return. (Your keyboard may say Return. If so, good for you.)
  3. Step 3 tells you the shortcut for Deselect All (F2).
    Question 2: It also tells you the "shortcut" to create a new folder. What is it?
  4. This step gives you a chance to save your file. Do so, and learn the shortcut for this as well as for incrementing a filename and saving.
    Question 3: What is the shortcut to save with the current filename? What is the shortcut to increment and save?
  5. This step tells you to select a folder you have made, then create a new comp. Notice that it is reinforcing the idea of choosing a context (location) for something first, then creating something in that context. You are also told to set a Custom size for the comp, and a number of seconds to run. In passing, you are told not to change the Frame Rate of 29.97 frames per second. Follow the link I just gave you for an explanation of this weird number.
    Question 4: What is the shortcut you are given for opening the comp settings screen?
  6. Examine the workspace as instructed and save your project.
  7. Step 7 tells you to select your Sources folder, and to use the first way to import footage: File, Import, File. Follow the instructions to open the indicated file.
  8. Step 8 introduces alpha channels. Graphic files typically have red, green, and blue channels, setting the color for each pixel. An alpha channel is a fourth channel that sets how opaque or transparent each pixel is as well. For the purposes of this exercise, you want to know that After Effects expects a file to have either a Straight or Premultiplied alpha channel.
    Question 5: If you don't know which kind of alpha channel a file has, what are you supposed to do?
  9. Import the other files as instructed.
  10. Step 10 shows another way to import a source: double-click an empty area in the Project panel. Follow the instructions and save your project.
  11. In this step you work on an Adobe Illustrator file (.ai). Drag it onto the comp panel as instructed.
  12. The text tells us that the default background color for a comp is black. It wants to change this color. In a case like this, it would be good to have a tool that easily lets you test color combinations. I recommend the Visibone Color Lab, an online resource that lets you test combinations of colors for web pages. In this case, your manager (the authors) told you what color to use. Change it as indicated in the text.
  13. More new terms: transform, twirl up, and twirl down. The transform list is the list of properties you can change for a layer. (This list can vary, depending on what is in the layer.) The authors like to call opening the transform list "twirling it down". "Twirling it up" would be closing the list. (They must be unusual people.) A more useful term is scrubbing. The text tells you how to drag up and down to change the values (scrub them) in specific fields. The up and down motion causes the changes that can quickly lead to desired values. ("Show me paint fence...")
  14. Step 14 tells you to click the word Reset.
    Question 6: Where is this word located on the screen?
    You are told to move the layer in the comp panel.
    Question 7: How do you constrain movement to one axis?
    The text tells you to edit the Scale of the layer. (You are resizing it.) Use a similar technique to the one above to keep the aspect ratio. (The aspect ratio is the ratio of an object's width to its height. The aspect ratio of a standard television screen is 4:3, because when TV was invented, movies were made in that aspect ratio.)
    Question 8: What must you do to rotate a layer in the comp panel? What do you do to change back to Select mode?
  15. Step 15 introduces keyframing.
    frames, key frames, and in-betweens - Computer animation is based on movie animation. A movie is composed of a series of still photos, frames, that are shown to the viewer rapidly.

    In the image on the right, photos taken by Eadweard Muybridge are shown rapidly, one after another. Each frame (an individual image is a frame) is numbered. They are of historical significance. Muybridge made these photos, and became one of the inventors of movies, after he settled a bet about whether all four feet of a running horse are ever off the ground at the same time. By developing a method to display a series of such pictures in rapid succession, he was developing a form of animation.

    In computer animation, we don't usually take photos, but we compose frames. We create frames that show objects at different stages of motion, like the frames on the right. Each of them becomes a key frame. We place each key frame on a timeline, indicating the amount of time that should pass between successive frames. In-betweens are frames that our animation software creates to fill in the gaps between the key frames.

    It might be argued that we could have an infinite number of in-betweens to create, since motion is often continuous, and each frame is a still. As you can see by viewing this loop of 16 frames, an infinite number of frames are not necessary to create the illusion of motion. The viewer's mind participates in the illusion, creating many in-betweens to smooth out the perceived motion.

    The text tells you to twirl up the properties of the Nectar Plants layer. It tells you to type a letter to display just one property.
    Question 9: What are the five letters listed as Transform shortcuts, and what property does each display?
    Toggle keyframing for the position property of the layer by clicking its stopwatch icon. This marks the position of the layer at the current time marker.
  16. Press End to move the time marker to the end of the timeline. Position the layer where you want it to be at the end of the the 4 seconds this video will run. When you release the layer (drop it), a new keyframe is created. After Effects creates in-between frames that do not show on the timeline.
    Question 10: What is the motion path that is displayed at this point?
    Question 11: What are you told to do to see a quick version of this animation?
  17. In step 17, you add a new keyframe between the two you already have.
  18. You should now have Bezier handles on the timeframes in the comp panel. A Bezier is a curve that is controlled by other geometric points, usually shown as handles. It enables you to make a much more complex curve than you could without control points
  19. Note that you can drag keyframes to new positions on the timeline.
  20. Carefully explore the instructions in this step for editing a keyframe. Save the project as instructed.

In addition to the text, we will use several web resources for this course. This week's resources:

Assignment 1: Build a comp in After Effects by importing various types of footage (Still shots, video clips and audio) from the supplied DVD.