You can animate the stroke
path being painted (or revealed) by keyframing the Max
Clip value.
The following procedure
describes just one way of keyframing. For other methods, refer to
the Animation guide.
To keyframe the stroke being painted
(or revealed)
- Click the Auto keyframe toggle (the
key icon at the bottom right corner of the Maya main window) and
move to the first frame.
- Select the stroke you are animating.
- In the Attribute Editor,
click the strokeShape tab and expand End Bounds.
- Right-click the Min
Clip and Max Clip boxes and select Set
Key.
- Set both the Min Clip and Max
Clip values to 0.
- Move to the last frame and set the Max
Clip value to 1.
- In the scene view click the Play
Forward button to check that the animation is working
the way you want it to.
- Render the animation. See
Render a scene with Paint Effects strokes.
NoteYou can achieve other
effects by keyframing different permutations of the Min
Clip and Max Clip values. For example,
you could animate a stroke gradually or disappearing from the beginning
of the stroke, or from both ends of the stroke.