Animation Layers (Layer Controller)
 
 
 
Command entry:Right-click an unused area of any toolbar. Animation Layers
Command entry:Animation menu Animation Layers

Animation layers let you combine multiple animation tracks on the same object. You can use layers to store your animation experiments as you try them out, turning them on or off to your liking. To enable, add, and control layers, use commands from the Animation Layers toolbar.

Using animation layers is comparable to using both the List Controller and biped layer system, while it is more flexible and simpler for the animators to use.

Enabling Animation Layers

When you enable animation layers for a selected object by turning them on in the Enable Anim Layers dialog, 3ds Max assigns a Layer controller to the animation tracks.

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.

NoteThe Base Layer is not a new layer; it is on the same level as any other controller track.
NoteIf you layer-enable a controller but do not see a Layer controller appear in the Track View hierarchy window, open and close the Enable Anim Layers dialog again.

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. However, if your object contains more than one animation layer, you first need to either delete or collapse them before you can disable the Base Layer.

TipYou can also disable a Layer controller through the Layer Controller dialog.
NoteTurning off a track in the Enable Anim Layers dialog does not disable it.

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 list controller is preserved within the Base Layer of the new Layer controller.

The original List controller

 

The new Layer controller nests the List Controller.

NoteYou cannot nest a Layer controller within a List controller or another Layer controller.

Working with Animation Layers

The animation layers list works as follows (Refer to the procedure section below for common workflow examples):

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 menu.

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.

Using Merged or XRef Scenes Containing Layers

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.

NoteAll animations within an incoming XRef object or scene is preserved within an XRef controller. You cannot edit them unless you merge the XRef object or XRef controller into your master scene.

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 Layers

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):

Procedures: Integrating Animation Layers in a Workflow

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:

  1. Create a teapot, and then turn on (Auto Key) and move the teapot at frames 15 and 30 to create a short animation.

    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.

  2. On the main toolbar, choose Animation Animation Layers.

    This opens the Animation Layers toolbar.

  3. Make sure the teapot is selected, then click (Enable Anim Layers).
  4. On the Enable Anim Layers dialog, turn on only the Position track, and click OK.

    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.

  1. On the Animation Layers toolbar, click (Add Anim Layer).
  2. On the Create New Animation Layer dialog, enter "Noise Layer” as name, and click OK.

    The teapot now has two animation layers, each of which can contain a separate animation that you can control independently of the other.

  3. Right-click the teapot, and from the context menu choose Curve Editor. In the hierarchy list on the left, scroll down to the Teapot01 object. Expand the hierarchy as follows: Teapot01 Transform Position.

    Under Position you’ll see Base Layer, Noise Layer, two Weight Tracks, and Output

  4. Highlight Noise Layer and right-click it.
  5. From the context menu, choose Assign Controller and pick a Noise Position controller.
  6. This opens the Noise Controller dialog. Leave the options as they are and close the dialog.

    Two different controllers are now driving the teapot's position.

  7. Play the animation to see the teapot jitter as it moves along the original animation path.

Example: To turn a layer on and off:

This procedure discusses turning existing layers on and off. It continues from the previous procedure.

  1. On the Animation Layers toolbar, expand the drop-down list.

    The list currently contains both the original base layer and Noise Layer from the previous procedure.

  2. Move your cursor across the list and click the light bulb icon next to Noise Layer.

    This turns off the layer and hides the Noise controller track from the rest of the tracks.

  3. Drag the time slider and notice how the teapot does not shake anymore.
  4. Try turning on and off both layers in the list to see the results. When finished, turn both layers on.

Example: To lock and unlock a layer:

This procedure discusses locking and unlocking layers. It continues from the previous procedure.

  1. If the Base Layer isn’t already active, on the Animation Layers toolbar, expand the drop-down list and choose the Base Layer.
  2. Make sure (Auto Key) is on, then go to frame 20 and move the teapot to set a new animation key.

    Now when you play the animation, the new key is included.

  3. On the Animation Layers toolbar, expand the drop-down list. On the list entry for the Base Layer, click the lock icon so it appears to be locked.
  4. With the Base Layer still active, try to move the teapot.

    You can’t, because the layer is locked. This protects the animation on that layer from inadvertent changes.

  5. Open Track View and find the Position Base Layer track for the teapot and expand it. Highlight the X Position track (or Y Position or Z Position), then right-click the highlighted track and from the top-left quadrant of the quad menu, choose Unlock.

    The “(Locked)” text no longer appears after the Base Layer tracks.

  6. Go back to the Animation Layers dialog and check the Base Layer lock icon.

    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.

  1. Make sure both layers listed on the Animation Layers toolbar are on, as indicated by the light bulb icons.
  2. Create a box next to the teapot.
  3. Right-click it and choose Wire Parameters from the quad menu.
  4. Navigate through the pop-up menu and choose Z Position.
  5. A dashed line appears. Click the teapot and choose the X Output Track from the pop-up menu.
  6. 3ds Max opens the Parameter Wiring dialog, with the two parameters highlighted. Click the left directional arrow button to control the cube's position using the teapot's animation.
  7. Click Connect and close the dialog. Drag the time slider and notice how the cube's position in Z matches the teapot's layered animation in X.
  8. Select the teapot and expand the layer list from the Animation Layers toolbar.
  9. Click the plus-sign icon next to the Noise Layer.

    This excludes the layer from the output track.

  10. Drag the time slider again. The cube doesn't move erratically like the teapot.

    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.

  1. Make sure the teapot is selected and choose Base Layer from the animation layers list to make it active.
  2. On the Animation Layers toolbar, click (Copy Anim Layer) to buffer this layer and the data it contains.
  3. Click (Paste New Layer). On the Rename Anim Layer dialog, enter “Changes on Z axis” as name and click OK.

    This new layer becomes the active layer.

  4. While (Auto Key) is on, move the teapot on the Z axis at frames 5 and 20.

    This animation update only affects the position tracks of the active layer.

Example: To collapse a layer:

This procedure continues from the previous procedure.

  1. In the animation layers list, turn off Noise Layer. Then choose Changes on Z axis to make it active.
  2. On the Animation Layers toolbar, click (Collapse Anim Layer).

    This merges the layer onto the next available one (Base Layer), skipping Noise Layer, which is off.

  3. Turn Noise Layer back on in the list.

Interface

Enable Anim Layers

Assigns a Layer controller to tracks you specify.

NoteEnabling animation layers does not create a new layer, but rather transfers all chosen controller tracks to the Base Layer.

This opens the Enable Anim Layers dialog, which, similar to the Set Key Filters dialog, lets you turn on tracks you want 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.

NoteOnce you turn on a track, you can turn it off only by disabling the respective 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.

Select Active Layer Objects

Selects all objects in your scene containing the active layer.

[animation layer list]

Displays all existing layers for the selected object. Each layer in the list contains toggle icons to turn it on or off, as well as include or exclude it from the controller's output track. See Working with Animation Layers for more details.

[weight]

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.

Anim Layer Properties

Opens the Layer Properties dialog, which lets you set global options for layers.

Add Anim Layer

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.

Delete Anim Layer

Removes the active layer, along with the data it contains. A confirmation dialog prompts you before deletion.

NoteYou cannot delete the Base Layer. Alternatively, Click Disable Anim Layer to removes the Layer controller entirely.
Copy Anim Layer

Copies the active layer's data and enables Paste Active Anim Layer and Paste New Layer.

Paste Active Anim Layer

Overwrites the active layer's controller type and animation keys with the copied data.

NoteYou cannot paste a copied layer from one object onto another'.
Paste New Layer

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.

Collapse Anim Layer

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.

NoteCollapsing a layer does not remove the Layer controller. Click Disable Anim Layer to remove it.
Disable Anim 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.

NoteBefore you can disable the Base Layer, you have to delete or collapse all layers above.