9

330 Chapter 12: Animation
5.
OntheEnableAnimLayersdialog,turnon
only the Position track, and click OK.
ThenewLayercontrollernownestsyour
teapot’s animation.
Example: To add a layer a nd change its controller
type:
This continues from the previous procedure, in
which you enabled layers for an animated object.
1. Click Add Anim Layer on the Animation
Layers toolbar.
2. OntheCreateNewAnimationLayerdialog,
enter "Noise Layer” as name, and click OK.
This adds the new animation layer under the
Base Layer in the hierarchy list.
3. In the hierarchy window of the Curve Editor
(page 2–507), Highlight Noise Layer and
right-click it.
4. From the contextual menu, choose Assign
Controller and pick a Noise Position controller.
5. This opens the Noise Controller dialog. Leave
the options as they are a nd close the dialog.
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. I t continues from the previous procedure.
1. On the Animation Layers toolbar, expand the
drop-down list.
The list c urrently contains both the original
base layer and Noise Layer from the previous
procedure.
2. Move your cursor across the list and click the
lightbulbiconnexttoNoise 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.
Example: To link two objects with wire par ameters
using the Lay er Controller s output tr a ck:
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
ZPosition.