SlideShare a Scribd company logo
Computer Animation
V unit
CS6504-Computergraphics
S.Vasumathi kannaki
AP/CSE
Info Institute of Engineering
COMPUTER ANIMATION
Displaying animation
sequences
Raster animation
Creating animation
sequences
Object definition
Path specification
key frames
in-betweening
Steps of a simple computer
animation
1. Creating animation sequences
 object definition
 path specification (for an object or a camera)
 key frames
 in-betweening
2. Displaying the sequences
 raster animation
 colour-table animation
Displaying animation
sequences
 Movies work by fooling our eyes
 A sequence of static images presented in a
quick succession appears as continuous flow
Why animation works
 The eye cannot register images faster than
approximately 50 frames per second
(30 is just about adequate)
 If a gap in the projection occurs, the eye
seems to perform spatial interpolation over the
gap
Displaying animation
sequences
 To achieve smooth animation, a sequence of
images (frames) have to be presented on a
screen with the speed of at least 30 per
second
 Animations frames can be
 pre-computed in advance and pre-loaded in
memory
 computed in real time (e.g. movement of the
cursor)
Designing the Animation
Sequence
 1) Layout of Storyboard: Storyboard layout is the action outline utilized to
illustrate the motion sequence as a set of storyboard comprises a set of rough sketches or a
list of basic concepts for the motion.
 2) Definition of Object &Path : The object definition is specified for all
participant objects in action. The objects can be explained in terms of fundamental
shapes, related movements or movement with shapes.
 3) Specification of Key Frame: this is the detailed drawing of the scene at
an exact time in the animation sequence. Inside each key frame, all objects are positioned
as per to time for that frame. Several key frames are selected at the extreme positions in
the action; More key frames are given for intricate motion than for easy, slowly varying
motions.
 4) In-between frames Generation: In-among frames are the middle
frames among the key frames. In common, film needs twenty-four frames per second, and
graphic terminals are refreshed on the rate of 30 to 60 frames per second. Classically the
time interval for the motion is set up hence there are 3 to 5 among for each pair of key
frames. Based upon the speed identified for the motion, several key frames can be
duplicated.
Layout of Storyboard
Layout of Storyboard
Definition of Object &Path
Object definition
 Simple rigid objects can be defined in terms of
 polygon tables (3D)
 basic shapes such as line segments, circles,
splines etc. (2D)
 Rigid body animation is an extension of the
three-dimensional viewing
Path specification
 Impression of movement can be created for
two basic situations, or for their combination:
 static object, moving camera
 static camera, moving object
 The path defines the sequence of locations
(for either the camera or the object) for the
consecutive time frames
Static object, moving camera
F3
F1
F2
F4
Time
F5
Static camera, moving object
F1 F2 F3 F4
It is important to remember that when the
object moves along the path, not only its
position changes, but also its orientation
X
Y
Z
X
Y
Z
Specification of Key Frame
Animation
Key frames Generation
In-between frames Generation
In-between frames Generation
Animation function
 Store and manage object database
 Motion generation and object rendering
 Identify visible surface algorithms
 Camera movements-zooming, panning, tilting
 Generate inbetweening.
Tilting
Zooming
Panning
Raster animation
 This is the most common animation technique
 Frames are copied very fast from off-screen memory to the frame buffer
 Copying usually done with bitBLT-type operations
 Copying can be applied to
 complete frames
 only parts of the frame which contain some movement
Raster Animation
Advantages:
*Small file size
*Unlimited zoom without anti-aliasing "jaggies"
*Good for line drawings and images with large
areas of same color
Disadvantages
*Can not reproduce photographs well
*Formats not standardized as much as raster
*graphics formats
Raster Animation
 A rasteris an image that is defined by a map of pixels, such
as a photograph or .jpg file.
 Rasters are easy to edit but difficult to scale, due to them
becoming blurry or pixellated when scaled to large sizes.
 Raster images are preferred by photographers and digital
artists who are more concerned about realistic quality and
ease of publication than scalability.
 An example of a program that uses rasters is Adobe
Photoshop.
Examples
Step 1 (erase) Step 2 (move) Step 3 (draw)
Ship is redrawn in background colour
Move ship
x’ = x + Dx
y’ = y + Dy
(x,y)
(x,y) (x+Dx,y+Dy) (x’,y’)
Animation
Double buffering
 Used to achieve smooth animation
 The next frame of animation is computed to an
off-screen buffer at the same time when the
current frame is transferred to the frame buffer.
Load to the
frame buffer
Create
Frame
Load to the
frame buffer
Create
Frame
Load to the
frame buffer
Create
Frame
Time
Colour-table animations
 Simple 2D animations can be easily
implemented using colour lookup table.
Colour-table animations
 The hardware colour look-up table will convert the logical
colour (pseudo-colour) numbers stored in each pixel of
video memory into physical colours, normally represented as
RGB triplets, that can be displayed on a computer monitor.
 A CLUT is characterized by:
 The number of entries in the palette: determines the
maximum number of colours which can appear on screen
simultaneously
 The width of each entry in the palette: determines the
number of colours which the wider full palette can represent.
Motion specification
Motion of objects can be specified in several
ways
1)Direct motion Specification
2)Goal –Directed Systems
3)kinematics and dynamics
4)Inverse kinematics
Direct motion specification
• We explicitly give the rotation angles and
translation vectors.
• Then the geometric transformation matrices are
applied to transform co-ordinate positions.
• These methods can be used for simple user
programmed animation sequences.
Direct motion specification
Goal-directed systems : -

We can specify the motions that are to take place in
general terms that abstractly describe the actions.
 These systems are referred to as goal directed because
they determine specific motion parameters given the
goals of the animation. For example, We could specify
that we want an object to "walk " or to "run" to a
particular destination. Or We could state that we want an
object to "pick up " some other specified object.
Goal-directed systems
Kinematics And Dynamics
 Kinematics: Study of motions (position, velocity,
acceleration)
• the movement of an object from one place to another.
• measured over a time interval such as s, min, h
• relative to the position of the observer or the
reference point
 Dynamics: Full consideration of time varying phenomena
in the interaction between motions, forces and material
properties.
 Typically there is an time-integration process where
results from one time frame effect the results on the next
Morphing
 Morphing is a special effect in motion
pictures and animations that changes one
image or shape into another through a
seamless transition.
 change smoothly from one image to
another by small gradual steps using
computer animation techniques.
Morphing
 Morphing is a technique that transforms one
image into another. It is similar to tweening
except on one point: in the morphing a match
is made by the user on both images.
 The images are morphed by a simultaneous
process of warping and dissolving.
 When particular areas of the images are
isolated in the mesh, they can be meaningfully
warped and dissolved.
Morphing
 Warping is similar to tweening. Linear
extrapolation is used to tween one region of
mesh A into its corresponding region in mesh
B.
 It is performed by linearly interpolating the four
vertices of each region in A into the four
vertices of the corresponding region B. This
will distort and move the grid in A into the grid
in B. While this happens, the image data
inside the region is stretched and compressed
accordingly.
 Step 1 Select create a new project using the assistant.
 Step 2 choose the type of project you want to realize.
          Morph : to create a morphing with two images;
         Warp: to create a morphing with one image;
         Sequence morph : to create morphing using many images in
an unique project;
         Layer morph: Morph multiple images in different layers
simultaneously.
In this case, choose morph.
 Step 3 Select the two images. the software proposes to you to face
locator(to select automatically correspond points in the two images)
 Step 4 you can now add other points , add effect....and then the
software generate automatically intermediate images for a
morphing
Morphing
Morphing
Morphing
Tweening
 In betweening or tweening is the process of generating
intermediate frames between two images to give the
appearance that the first image evolves smoothly into the
second image.
 In betweens are the drawings between the key frames which
help to create the illusion of motion.
 Tweening is a very simple concept in computer graphics that
has very powerful and visually impressive applications.
 In tweening, key frames are provided and “in-between”
frames are calculated to make smooth looking animation
Tweening
 Step 1 Always start with a new Flash document. Create a circle to the right in
the Stage area. To do this, you have to select the circle tool from the left toolbar.
Draw the circle in the Stage area.
 Step 2 Select the Arrow tool from the left toolbar. Double-click on the circle to
select it.
 Step 3 We have to convert the rectangle to a symbol. From the top menu
choose Modify > Convert to Symbol. Name the symbol whatever you want and
select OK.
 Step 4 Go to Frame 20 in the Timeline. The number of the frames you choose
depend on the speed of the motion Do this by clicking the gray field below 20.
Then right click in this field. Choose Insert Key frame. Key frames appear as
black circles in a frame. This operation duplicates the image.
 Step 5 Select the rectangle and move it to the left a couple of inches.
 Step 6 Co back to the Frame 1. Then right click and choose Create Motion
Tween.
 Step 7 If Choose Control > Play from the top menu to test your Flash movie.
Step 8 If you want to create different objects moving around the screen, you
Tweening

More Related Content

PPTX
Introduction to animation
PPTX
Animation
PPTX
Animation
PPT
Animation
PPTX
Animation & Animation Techniques
PPTX
Computer animation
PPT
Computer animation
PPTX
Animation
Introduction to animation
Animation
Animation
Animation
Animation & Animation Techniques
Computer animation
Computer animation
Animation

What's hot (20)

PPT
Lecture 9 animation
PDF
Computer Animation PowerPoint
PPT
Animation Techniques
PPTX
3D Modelling and Animation
PDF
Introduction to Animation
PPTX
Animation in Computer Graphics
PPTX
(Computer) Animation Technique
PDF
Animasi 2D dan 3D KD : Menerapkan teknik animasi tweening 2 d
PPTX
Animation
PPTX
Animation
PDF
Introduction to Animation and its Thought Process
PPTX
Principles of animation
PPTX
Rigging in 3D animation
PPT
Animation
PPTX
Types of animation
PPTX
Introduction to Animation
PPTX
animation
PPTX
PPTX
Animation Summary
PPTX
INTRODUCTION TO ANIMATION.pptx
Lecture 9 animation
Computer Animation PowerPoint
Animation Techniques
3D Modelling and Animation
Introduction to Animation
Animation in Computer Graphics
(Computer) Animation Technique
Animasi 2D dan 3D KD : Menerapkan teknik animasi tweening 2 d
Animation
Animation
Introduction to Animation and its Thought Process
Principles of animation
Rigging in 3D animation
Animation
Types of animation
Introduction to Animation
animation
Animation Summary
INTRODUCTION TO ANIMATION.pptx
Ad

Similar to Animation (20)

PPT
Animation
PPT
Animation
PDF
Introduction to Computer Animation using Computer Graphics Techniques
PPTX
UNIT-6. Illumination model and surface renderingpptx
PDF
Animation ppt
PPTX
unit 6 - CG.pptx "ccccccccccccccccccccccc
PPTX
Trends in Computer Graphics
PPT
Animation
DOCX
Animation
PPTX
Animation
PPT
Animation
PPTX
cgvr ppt key frame animation computer .
PPTX
Computer Animation.pptx
PPTX
Development of a 3d animated short film using 3d animation technique
PPT
september6.ppt
PPTX
GggggggggggggggggggComputer animation.pptx
PPS
Learning flash by Ms. Payal Narula
PPTX
Computer animation Computer Graphics
PPT
Unit vi
PPTX
ANIMATION in computer graphics using 3 D.pptx
Animation
Animation
Introduction to Computer Animation using Computer Graphics Techniques
UNIT-6. Illumination model and surface renderingpptx
Animation ppt
unit 6 - CG.pptx "ccccccccccccccccccccccc
Trends in Computer Graphics
Animation
Animation
Animation
Animation
cgvr ppt key frame animation computer .
Computer Animation.pptx
Development of a 3d animated short film using 3d animation technique
september6.ppt
GggggggggggggggggggComputer animation.pptx
Learning flash by Ms. Payal Narula
Computer animation Computer Graphics
Unit vi
ANIMATION in computer graphics using 3 D.pptx
Ad

Recently uploaded (20)

PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Updated Idioms and Phrasal Verbs in English subject
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Complications of Minimal Access Surgery at WLH
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Weekly quiz Compilation Jan -July 25.pdf
Computing-Curriculum for Schools in Ghana
What if we spent less time fighting change, and more time building what’s rig...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Microbial diseases, their pathogenesis and prophylaxis
UNIT III MENTAL HEALTH NURSING ASSESSMENT
LDMMIA Reiki Yoga Finals Review Spring Summer
Anesthesia in Laparoscopic Surgery in India
Module 4: Burden of Disease Tutorial Slides S2 2025
Updated Idioms and Phrasal Verbs in English subject
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
A systematic review of self-coping strategies used by university students to ...
Complications of Minimal Access Surgery at WLH
Chinmaya Tiranga quiz Grand Finale.pdf
Classroom Observation Tools for Teachers
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

Animation

  • 1. Computer Animation V unit CS6504-Computergraphics S.Vasumathi kannaki AP/CSE Info Institute of Engineering
  • 2. COMPUTER ANIMATION Displaying animation sequences Raster animation Creating animation sequences Object definition Path specification key frames in-betweening
  • 3. Steps of a simple computer animation 1. Creating animation sequences  object definition  path specification (for an object or a camera)  key frames  in-betweening 2. Displaying the sequences  raster animation  colour-table animation
  • 4. Displaying animation sequences  Movies work by fooling our eyes  A sequence of static images presented in a quick succession appears as continuous flow
  • 5. Why animation works  The eye cannot register images faster than approximately 50 frames per second (30 is just about adequate)  If a gap in the projection occurs, the eye seems to perform spatial interpolation over the gap
  • 6. Displaying animation sequences  To achieve smooth animation, a sequence of images (frames) have to be presented on a screen with the speed of at least 30 per second  Animations frames can be  pre-computed in advance and pre-loaded in memory  computed in real time (e.g. movement of the cursor)
  • 7. Designing the Animation Sequence  1) Layout of Storyboard: Storyboard layout is the action outline utilized to illustrate the motion sequence as a set of storyboard comprises a set of rough sketches or a list of basic concepts for the motion.  2) Definition of Object &Path : The object definition is specified for all participant objects in action. The objects can be explained in terms of fundamental shapes, related movements or movement with shapes.  3) Specification of Key Frame: this is the detailed drawing of the scene at an exact time in the animation sequence. Inside each key frame, all objects are positioned as per to time for that frame. Several key frames are selected at the extreme positions in the action; More key frames are given for intricate motion than for easy, slowly varying motions.  4) In-between frames Generation: In-among frames are the middle frames among the key frames. In common, film needs twenty-four frames per second, and graphic terminals are refreshed on the rate of 30 to 60 frames per second. Classically the time interval for the motion is set up hence there are 3 to 5 among for each pair of key frames. Based upon the speed identified for the motion, several key frames can be duplicated.
  • 11. Object definition  Simple rigid objects can be defined in terms of  polygon tables (3D)  basic shapes such as line segments, circles, splines etc. (2D)  Rigid body animation is an extension of the three-dimensional viewing
  • 12. Path specification  Impression of movement can be created for two basic situations, or for their combination:  static object, moving camera  static camera, moving object  The path defines the sequence of locations (for either the camera or the object) for the consecutive time frames
  • 13. Static object, moving camera F3 F1 F2 F4 Time F5
  • 14. Static camera, moving object F1 F2 F3 F4
  • 15. It is important to remember that when the object moves along the path, not only its position changes, but also its orientation X Y Z X Y Z
  • 21. Animation function  Store and manage object database  Motion generation and object rendering  Identify visible surface algorithms  Camera movements-zooming, panning, tilting  Generate inbetweening.
  • 25. Raster animation  This is the most common animation technique  Frames are copied very fast from off-screen memory to the frame buffer  Copying usually done with bitBLT-type operations  Copying can be applied to  complete frames  only parts of the frame which contain some movement
  • 26. Raster Animation Advantages: *Small file size *Unlimited zoom without anti-aliasing "jaggies" *Good for line drawings and images with large areas of same color Disadvantages *Can not reproduce photographs well *Formats not standardized as much as raster *graphics formats
  • 27. Raster Animation  A rasteris an image that is defined by a map of pixels, such as a photograph or .jpg file.  Rasters are easy to edit but difficult to scale, due to them becoming blurry or pixellated when scaled to large sizes.  Raster images are preferred by photographers and digital artists who are more concerned about realistic quality and ease of publication than scalability.  An example of a program that uses rasters is Adobe Photoshop.
  • 28. Examples Step 1 (erase) Step 2 (move) Step 3 (draw) Ship is redrawn in background colour Move ship x’ = x + Dx y’ = y + Dy (x,y) (x,y) (x+Dx,y+Dy) (x’,y’)
  • 30. Double buffering  Used to achieve smooth animation  The next frame of animation is computed to an off-screen buffer at the same time when the current frame is transferred to the frame buffer. Load to the frame buffer Create Frame Load to the frame buffer Create Frame Load to the frame buffer Create Frame Time
  • 31. Colour-table animations  Simple 2D animations can be easily implemented using colour lookup table.
  • 32. Colour-table animations  The hardware colour look-up table will convert the logical colour (pseudo-colour) numbers stored in each pixel of video memory into physical colours, normally represented as RGB triplets, that can be displayed on a computer monitor.  A CLUT is characterized by:  The number of entries in the palette: determines the maximum number of colours which can appear on screen simultaneously  The width of each entry in the palette: determines the number of colours which the wider full palette can represent.
  • 33. Motion specification Motion of objects can be specified in several ways 1)Direct motion Specification 2)Goal –Directed Systems 3)kinematics and dynamics 4)Inverse kinematics
  • 34. Direct motion specification • We explicitly give the rotation angles and translation vectors. • Then the geometric transformation matrices are applied to transform co-ordinate positions. • These methods can be used for simple user programmed animation sequences.
  • 36. Goal-directed systems : -  We can specify the motions that are to take place in general terms that abstractly describe the actions.  These systems are referred to as goal directed because they determine specific motion parameters given the goals of the animation. For example, We could specify that we want an object to "walk " or to "run" to a particular destination. Or We could state that we want an object to "pick up " some other specified object.
  • 38. Kinematics And Dynamics  Kinematics: Study of motions (position, velocity, acceleration) • the movement of an object from one place to another. • measured over a time interval such as s, min, h • relative to the position of the observer or the reference point  Dynamics: Full consideration of time varying phenomena in the interaction between motions, forces and material properties.  Typically there is an time-integration process where results from one time frame effect the results on the next
  • 39. Morphing  Morphing is a special effect in motion pictures and animations that changes one image or shape into another through a seamless transition.  change smoothly from one image to another by small gradual steps using computer animation techniques.
  • 40. Morphing  Morphing is a technique that transforms one image into another. It is similar to tweening except on one point: in the morphing a match is made by the user on both images.  The images are morphed by a simultaneous process of warping and dissolving.  When particular areas of the images are isolated in the mesh, they can be meaningfully warped and dissolved.
  • 41. Morphing  Warping is similar to tweening. Linear extrapolation is used to tween one region of mesh A into its corresponding region in mesh B.  It is performed by linearly interpolating the four vertices of each region in A into the four vertices of the corresponding region B. This will distort and move the grid in A into the grid in B. While this happens, the image data inside the region is stretched and compressed accordingly.
  • 42.  Step 1 Select create a new project using the assistant.  Step 2 choose the type of project you want to realize.           Morph : to create a morphing with two images;          Warp: to create a morphing with one image;          Sequence morph : to create morphing using many images in an unique project;          Layer morph: Morph multiple images in different layers simultaneously. In this case, choose morph.  Step 3 Select the two images. the software proposes to you to face locator(to select automatically correspond points in the two images)  Step 4 you can now add other points , add effect....and then the software generate automatically intermediate images for a morphing
  • 46. Tweening  In betweening or tweening is the process of generating intermediate frames between two images to give the appearance that the first image evolves smoothly into the second image.  In betweens are the drawings between the key frames which help to create the illusion of motion.  Tweening is a very simple concept in computer graphics that has very powerful and visually impressive applications.  In tweening, key frames are provided and “in-between” frames are calculated to make smooth looking animation
  • 47. Tweening  Step 1 Always start with a new Flash document. Create a circle to the right in the Stage area. To do this, you have to select the circle tool from the left toolbar. Draw the circle in the Stage area.  Step 2 Select the Arrow tool from the left toolbar. Double-click on the circle to select it.  Step 3 We have to convert the rectangle to a symbol. From the top menu choose Modify > Convert to Symbol. Name the symbol whatever you want and select OK.  Step 4 Go to Frame 20 in the Timeline. The number of the frames you choose depend on the speed of the motion Do this by clicking the gray field below 20. Then right click in this field. Choose Insert Key frame. Key frames appear as black circles in a frame. This operation duplicates the image.  Step 5 Select the rectangle and move it to the left a couple of inches.  Step 6 Co back to the Frame 1. Then right click and choose Create Motion Tween.  Step 7 If Choose Control > Play from the top menu to test your Flash movie. Step 8 If you want to create different objects moving around the screen, you