Page 959 - Kitab3DsMax
P. 959
Chapter 36: Working with Function Curves in the Track View
The light comes on slowly. It should be either on or off, so you need to change the tangent types
to Stepped.
4. Select both keys, and click the Set Tangents to Stepped button. Click the Play button.
The light turns on at frame 15.
5. Select the first key, and choose the Move Keys Horizontal button from the Move Keys flyout.
Hold down the Shift key and drag right to copy the key at frame 30.
The light now turns off at frame 30. You can continue to make the rest of the keys in that fashion,
but using the Parameter Out of Range feature to complete the animation is easier.
6. With the Multiplier curve selected, click the Parameter Curves Out-of-Range Types button or
Choose Out-of-Range Types from the Controller menu item. The Out-of-Range Types dialog box
appears. Choose Cycle, and click OK.
Figure 36.24 shows the Stepped tangents.
FIGURE 36.24
The curve with Stepped in and out tangents and a Cycle Parameter Out-of-Range type
7. Click Play.
The light flashes off and on. The animation would be more convincing if the light lens object
appeared to turn off and on as well. Next, you animate the self-illumination of the lens material.
8. With the Omni light’s multiplier track still selected, right-click over the track in the controller
pane and choose Copy. Locate and select the Light Lens material’s Self-Illumination track. (You
can find this track under the Scene Materials ➪ Lens (Standard) ➪ Shader Basic Parameters ➪ Self-
Illumination menu command.) Right-click, choose Paste, and paste as Copy.
9. Because the Self-Illumination should top out at 100 percent, not 120 percent, select the second
key and change its value to 100. Click the Play button.
The Omni light and lens flash off and on together.
Figure 36.25 shows the hazard light as it repeatedly blinks on and off.
911