74 Creating Styles
FXDeko User’s Guide
APPLYING A CEL ANIMATION
To apply a cel animation to a detail:
1. Open the detail’s shader.
2. At the top of the Shader window, choose CAP.
3. Specify CAP options as desired.
Notes A typical way to use the CAP shader is to create a rectangle
and choose CAP for the rectangle’s face shader. Make the
rectangle large enough or it will clip the edges of the
animation. Deko reads in the CAP file series and displays the
first one as a static graphic on the detail. Deko only plays the
cel animation in the context of a motion.
A graphic can accommodate more than one animation.
Performance may degrade as Deko encounters large
animations or a lot of details in a graphic.
Cel Animation Options
File Name
The first file name of the animation.Each file (cel) within the
animation should be named with successive cel numbers, e.g.
globe001.tga, globe002.tga, globe003.tga, etc. There are two File
Open options:
Square Pixels Preserve Height
Adjusts width to maintain aspect ratio of pixels assumed to be
square.
No Scaling
Specifies square pixels without any scaling.
Frames
The number of cels (files) to play. Deko defaults to a number based
on the assumption that the animation ends when it encounters a file
name that breaks the sequence of numbers.
Forward/Backward
Specifies in which direction the animation plays.
Oscillate
Reverses direction of the animation each time it plays.
Continuous
Plays cel animation through any pause in the motion. Automatically
puts a pause at the end of the motion so that the animation
continues when the motion ends.
Rate
The rate of animation playback in images per second.