Animation Basics

A 3D world is much more compelling when it is animated. Alias offers many integrated animation functions that let you create animated sequences. To create an animated scene, you can work with the translation, rotation and scaling parameters of objects, CVs, and the positions of lights and cameras. You can also animate individual shader and light parameters that have been created in the Multi-lister. This ability to animate virtually every type of object, shader, and light parameter lets you unleash your creativity to produce dynamic results.

Frames and Keyframes

The basic unit of measure for all animations is the frame. For a typical animation, you will set a specific number of frames per second and this will determine the timing of the motion and the length of the animation in frames. Typically, video is set at 30 frames per second and movies are set at 24 frames per second.

Keyframes are special frames that allow you to set the parameters of an object at important "key" points. Once you have set a few Keyframes, Alias interpolates the action for the frames "in-between" the Keyframes. This is very similar to how a traditional cel animator works. A senior animator (you) creates and sets the key poses for your objects and characters then passes them to a junior animator (Alias) who draws the "in-between" frames.

Keyframes are the foundation of all animation. Learning to set, edit and control keyframes is very important to successfully animating in Alias.

The Time Slider

Since animating requires that you work with frames, you need access to the various frames in an animation. The Time slider is a time-based control window that lets you set up and play back animations. The Time slider lets you look at your models on a frame-by-frame basis or you can also jump to a specific frame to see what the scene looks like at that time. You can open the Time slider by choosing Tgl Time slider in the Animation menu.

The Time slider is made up of three main areas - the frame range settings, the frame playback controls and the slider - that help you work with the fourth dimension of time.

Frame range - The frame range of an animation can be set in one of two ways. The default Start/End lets you determine exactly what the start and end frames are. With Start/End, you can edit this frame range in the fields shown below.

The Min/Max setting limits the frame range to frames that have keyframes set. In this case, you can't edit the start and end frames because they are pre-determined.

Playback Controls - The playback controls let you preview an animation in the modeling windows. You have controls for playing and stopping a preview, going to the start or end of the frame range and for cycling through the animation one frame at a time. You can also cycle through the keyframes of the animation.

This is also where you can set the frames per second (fps) of the playback. By default, Alias plays the animation as fast as it can. You may need to set the fps yourself if it is going too fast or too slow.

Slider - The slider gives you a means of dragging a handle through the frame range to preview the motion interactively. You can also use this to move to another frame as you work.

Setting Keyframes

Now that you know what keyframes are, you can begin setting them for the objects in your scene. Generally, you pick the object (such as the ball) you want keyframed, then you move it into place. Make sure that the time slider displays the frame that you want the keyframe placed in and then choose Set Keyframe from the Animation menu. Keyframes are set for the various parameters of the object. You can then move to a different frame, and then move the object and set another keyframe.

Copying and Pasting Keyframes

Sometimes you want to copy specific keyframe values. In Alias, you can Cut, Copy, and Paste keyframes to transfer the information to other frames or to other objects. When you copy keyframes you can choose a single keyframe or a range of keyframes that can be pasted into the animation channels of the same object or to the animation channels of another object.

The Parameter Control Window

As you have learned, animations are set for the parameters of an object, light, or shader. In many cases it is not necessary for all parameters to be animated. For instance, if you were to animate the hands of a clock, the only parameter being animated would be the X rotation of the hand. The parameter control window enables you to pick the clock hand object and tell it to only set keyframes for this animation channel. You can use this window to set both the global parameter settings and local settings for each picked object.

Within a single object, different parameters may require different keyframe settings. If you consider a ball bouncing as it moves forward, you see that in the Z channel, keyframes are set for a number of frames over time. For the forward motion of the ball, only two keyframes are required for the X channel. If you were to set many keyframes for the X channel, you would end up with an action curve that is too complex. This is because only two keyframes are required to describe this parameter's motion.

By using the Parameter control window, you can first set keyframes for the Z channel and then edit the parameter settings and create a new set for the X channel. Each parameter is kept simple and efficient. This also makes it easier to edit the shape of the curves in the Action window.

This ability to restrict which parameters are being set lets you produce animation channels that are flat. These channels contain keyframes that are being saved with the same value and do not add to the quality of the animation. If you forget to use the Parameter control window, you can remove these action curves by choosing Static Actions from the Delete menu.

Hierarchical Animation

Hierarchical animation helps you control animations as they become more complex. This process uses the grouping of objects to assist in controlling how upper and lower nodes react when they are animated. Using different nodes also gives you the ability to use a different pivot point for each level of the hierarchy.

Hierarchical animation can be best understood by again looking at the bouncing ball example. By grouping the ball under three dag nodes, you can set one parameter type to each node. The top node controls translation, the next node controls scaling and the lower node controls rotation. By using hierarchical animation, you can use a central pivot point for the rotation node and an offset pivot point for the scaling node.

The correct order for setting up a hierarchical animation is to set a rotation node, then a scaling node, then a translation node and finally a motion path node. This order should be maintained so that the animation channels are read in the correct order.

Motion Paths

In some cases, you know exactly the path on which you want to move an object. Motion Paths let you draw a curve to represent the path of movement and then send the object along it. This action is similar to a train rolling along tracks except your tracks don't have to be straight. You can even attach objects, CVs lights and cameras to a motion path for exciting effects.

The Action Window

The Action Window offers a graphical description of your animation. It charts parameters such as translation, rotation, scale, and visibility against time, which is measured in frames. The result of this mapping is a set of animation curves that describe how various parameters will animate.

In the Action Window, you can see keyframes and the interpolated curves between these keyframes.

You can pick Keyframes and change the "in-betweening" motion of the animation curve. As a result, you can make objects speed up or slow down simply by changing the shape of the animation curve. You can also add, remove, or edit keyframes to refine the animation or action curve.

When working with animation curves in the Action window, there are several tangent types that can be used to affect the look of an animation. Below are a few of the tangency options that let you control the motion between keyframes:

Smooth - This tangent type creates a smooth motion that can make your objects appear to "float." This tangent type can also cause the animation channel to overshoot a keyframe and create exaggerated movement in your objects. This causes acceleration and deceleration within the keyframes.

Linear - This tangent type creates a very mechanical motion that seems "hard." Some animators like to start with this very neutral tangent type and then edit the quality of the curves using more subtle tangency types.

Slow in/Fast out - This tangency type creates a flattening out of the curve near the chosen keyframes. As the curve gets flatter, the motion gets slower. You can use this motion to create a feeling of deceleration.

Fast In/Slow Out - This tangency type creates a steep slope near the chosen keyframes. As the curve gets steeper, the motion gets faster. You can use this motion to create a feeling of acceleration.

Step - This tangency type has no slope, therefore the motion changes instantly at the keyframe. It can be used to animate visibility or to create camera cuts.

Animating Lights

Lights can be animated in two ways in Alias; you can animate the basic positioning parameters of the light so it moves around the scene or you can animate lighting parameters such as intensity or dropoff. You can also animate the various OptiF/X parameters so that a light appears to sparkle or explode.

Animating Cameras

Cameras can be animated in a manner similar to lights. You can animate the position of the camera, its center of interest, eye point or up vector or you can animate its parameters such as view angle. You can even animate the parts of the camera along a motion path. If you animate the visibility of several cameras, this creates the effect of camera cuts.

Animating Shaders

Since shaders are controlled by various parameters, these parameters can also have keyframes set. You can animate a change in color, add glows over time, or give an object an animated bump map.

Animating CVs

In earlier lessons, you learned how you can pick and move CVs to manipulate the shape of a surface. The position of CVs can also be animated by setting keyframes for the translation parameters of the chosen CVs. While rotation and scaling parameters are not available, the ability to animate the positions of CVs lets you start to deform objects over time.

Metamorphosis

With the Set Key Shape function, you can animate the morphing of one shape into another. Using two shapes that have the same number of isoparm patches but different shapes, you can use this function to force one of the surfaces to "morph" into the shape of the second in a linear manner.

Expressions

Expressions are mathematical equations that are used to define a link between the animation of one parameter to the animation of another. Expressions are entered in the Action Window and are used to replace animation curves for chosen parameters. An example of a useful expression is to link the rotation of a car's wheels to the forward motion of the car. By applying an expression to the rotation channels of the wheels that relates to the X translation of the car, you can make the wheels rotate in relation to the speed of the car. As the car stops, the wheels stop. This lets you focus your keyframing on the car and requires less changes if you begin editing the keyframes on the car.

Expressions require some knowledge of basic animations. They can become quite complex. While Expressions are not necessary, they are very powerful and help streamline the animation process.

Note: Expressions are not available with the base Alias Animator product. When using Animator, keyframes must be set for each channel using traditional techniques.

Rendering Animations

Alias' animation holds infinite potential because you can animate almost everything in your scene quickly and easily. When you complete an animation, you can set Animation to On in the Render Globals and the renderer will create a rendering for each frame of the animation. You can then string these individual images together to play back the animation in Flipbook.





aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.