The Animation Layers feature lets you combine multiple animation tracks on the same object. You can store different animations in layers as you try them out, turning them on or off to your liking and merging them with weighting settings. In most cases, the best way to use this feature is via commands on the Animation Layers toolbar, covered in the Interface section in this topic.
Animation Layers is comparable to the List Controller and biped layer system features, but is easier for animators to use. It is also more flexible.
When you enable animation layers for a selected object, 3ds Max assigns a Layer controller to each animation track you specify on the Enable Anim Layers dialog.
When 3ds Max adds a Layer controller, it copies the original controller into its first layer (called Base Layer), preserving any animation data it may already contain.
The original controller before you enable animation layers |
The Layer controller nests the original controller in its Base Layer. |
To revert from a Layer controller to the original controller, click (Disable Anim Layer) on the Animation Layers toolbar. Note that the Disable command is available only when only the Base Layer exists; if your object contains more than one animation layer, you first need to either delete or collapse them.
You can assign a Layer controller either at the leaf level of a controller track (such as a material's Diffuse Color track), or at a branch level (such as a Position track).
The Layer controller affects a point 3 branch. |
The Layer controller affects a leaf track. |
If the selected object already has a List controller track when you enable layers, that controller is preserved within the Base Layer of the new Layer controller.
The original List controller |
The new Layer controller nests the List Controller. |
The animation layers list on the Animation Layers toolbar works as follows. For common workflow examples, refer to the Procedures section, following in this topic.
The drop-down list displays all common layers (that is, with the same name); layers not common to all are unavailable.
When you select multiple objects, layers not common to all are unavailable on the drop-down list.
To toggle a layer, click its light bulb icon.
To toggle a layer's inclusion in the output track, click the plus/minus sign icon.
To toggle the ability to change animation in a layer, click the lock icon for the layer.
Each animation layer has a global weight value which, when changed, impacts every controller within that active layer. Similar to the List controller, you can animate a layer's weight and toggle the visibility of the resulting keys in the Track Bar using the Track Bar Filter submenu.
When you add a new animation layer, you can pick a name already in use by an existing layer; this links both layers' weight track, which is now instanced.
When you merge or externally reference a source scene (or object) containing layers into your master scene, the system adds the incoming layers to the master scene's layer list.
If a layer name from the merged or XRef scene matches one from the master scene, both layers become synchronized ; that is, the weight track is instanced to both of them.
Collapsing a layer merges keys if any of these conditions are met:
However, many factors can cause a collapse per frame (that is, setting a key on every frame):
The following sequence of procedures illustrate how you can use animation layers in your workflow to quickly create and combine different animation tracks together for the same object. You should be familiar with the basics of animation and key creation before going through the following steps.
Example: To enable layers:
By default, this also creates a key at frame 1. Your start key might be at frame 0 instead; for the purposes of this example, it’s immaterial.
This opens the Animation Layers toolbar.
The new Layer controller now nests your teapot's animation.
Example: To add a layer and change its controller type:
This continues from the previous procedure, in which you enabled layers for an animated object.
The teapot now has two animation layers, each of which can contain a separate animation that you can control independently of the other.
Under Position you’ll see Base Layer, Noise Layer, two Weight Tracks, and Output
Two different controllers are now driving the teapot's position.
Example: To turn a layer on and off:
This procedure discusses turning existing layers on and off. It continues from the previous procedure.
The list currently contains both the original base layer and Noise Layer from the previous procedure.
This turns off the layer and hides the Noise controller track from the rest of the tracks.
Example: To lock and unlock a layer:
This procedure discusses locking and unlocking layers. It continues from the previous procedure.
Now when you play the animation, the new key is included.
You can’t, because the layer is locked. This protects the animation on that layer from inadvertent changes.
The “(Locked)” text no longer appears after the Base Layer tracks.
It is no longer locked. This shows that locking and unlocking a track in an animation layer affects all tracks controlled by that layer.
Example: To link two objects with wire parameters using the Layer Controller's output track:
This procedure refers to a simple way to use the output track to control a cube's position through wire parameters. It continues from the previous procedure.
This excludes the layer from the output track.
Try including and excluding both layers in the list to see the results.
Example: To copy and paste a layer and update an active layer:
This procedure continues from the previous procedure and focuses solely on the teapot.
This new layer becomes the active layer.
This animation update only affects the position tracks of the active layer.
Example: To collapse a layer:
This procedure continues from the previous procedure.
This merges the layer onto the next available one (Base Layer), skipping Noise Layer, which is off.
Assigns a Layer controller to tracks you specify.
This opens the Enable Anim Layers dialog, which lets you turn on tracks to assign a Layer controller to.
The Position, Rotation, and Scale tracks are on by default. You can still animate attributes other than those enabled on this dialog, but they are not subject to control by the Layer controller.
If you enable animation layers for an object that has animation loaded in the Motion Mixer, the following dialog opens:
Remapping is necessary in this case because enabling Animation Layers causes the full controller names to change. For example, if a sphere's X position track before enabling Animation Layers is Sphere01\Transform\Position\X Position, then after enabling animation layers it might change to Sphere01\Transform\Position\Base Layer\X Position (the layer name is inserted into the controller name).
If you accept the default dialog option, to create the new map files automatically, 3ds Max automatically generates any necessary XMM files with the same names as the XAF files and places them in the same directory as the original map files, or if no map files exist, in the same directory as the XAF files. Thereafter, when you open this scene file the map file is loaded automatically and no additional mapping is required.
However, if you turn off Automatically Create The New Map Files? before clicking OK, no map files are generated, and the next time you open the scene file you're prompted to create map files. Without map files, the animation doesn't appear correctly.
See Working with Animation Layers, preceding in this topic.
Sets a global weight for the active layer, which affects If the active layer is shared by several objects (ex. Base Layer), changing its weight affects them all.
Opens the Layer Properties dialog for the Layer controller, which provides global options for animation layers.
Opens the Create New Animation Layer dialog, which lets you specify settings related to the new layer. This adds a new layer to every track that has a Layer controller.
Removes the active layer, along with the data it contains. A confirmation dialog prompts you before deletion.
Copies the active layer's data and enables Paste Active Anim Layer and Paste New Layer.
Overwrites the active layer's controller type and animation keys with the copied data.
Creates a new layer with the copied layer's controller type and animation keys. Opens the Rename Anim Layer dialog, in which you can use the default layer name or enter your own.
Collapses the active layer to the one below it, as long as it is not turned off. If it is, the collapsed layer cycles through the list until it finds an available layer.
Removes the Layer controller from the selected object. The animation keys on the Base Layer revert to the original controller. A dialog prompts for confirmation.