PDF 3
PDF 3
Downloaded by Eslavathramdas
studocu
([email protected])
We set the pixels at the first position of the object to "on" values, and we set the pixels at the other
object positions to the background colour. The animation is then accomplished by changing the
colour-table values so that the object is "on" at successive positions along the animation path as the
preceding position is set to the background intensity.
COMPUTER-ANIMATION LANGUAGES
Design and control of animation sequences are handled with a set of animation routines. A general
purpose language, such as C, Lisp, Pascal, or FORTRAN, is often used to program the animation
functions, but several specialized animation languages have been developed. Animation functions
include a graphics editor, a key-frame generator, an in-between generator, and standard graphics
routines. The graphics editor allowS us to design and modify object shapes, using spline surfaces,
constructive solid-geometry methods, or other representation schemes.
Atypical task in an animation specification is scene description, This includes the positioning of
objects and light sources, defining the photometric parameters (light-source intensities and surface
illumination properties), and setting the camera parameters (position, orientation, and lens
characteristics). Another standard function is action specification. This involves the layout of motion
paths for the objects and camera.
Key-frame systems are specialized animation languages designed simply to generate the in
betweens from the user-specified key frames. Usually, each object in the scene is defined as a set of
rigid bodies connected at the joints and with a limited number of degrees of freedom. As an
example, the single-arm robot in figure has slx degrees of freedom, which are called arm sweep,
shoulder swivel, elbow extension, pitch, yaw, and roll.
EIbow
Eatension
Shoulder
Swive
Sweeo
Pitch CRoll
Base
([email protected])
Downloaded by Eslavathramdas