SlideShare ist ein Scribd-Unternehmen logo
1 von 48
Computer Animation
V unit
CS6504-Computer graphics
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
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’)
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

Weitere ähnliche Inhalte

Was ist angesagt?

Computer Graphics Introduction
Computer Graphics IntroductionComputer Graphics Introduction
Computer Graphics Introduction
Ghaffar Khan
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
Partnered Health
 

Was ist angesagt? (20)

Animation graphics
Animation graphicsAnimation graphics
Animation graphics
 
Ani mation
Ani mationAni mation
Ani mation
 
Multimedia chapter 5
Multimedia chapter 5Multimedia chapter 5
Multimedia chapter 5
 
Trends in Computer Graphics
Trends in Computer GraphicsTrends in Computer Graphics
Trends in Computer Graphics
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
 
Raster animation
Raster animationRaster animation
Raster animation
 
Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics
 
Computer animation
Computer animationComputer animation
Computer animation
 
Computer Graphics Introduction
Computer Graphics IntroductionComputer Graphics Introduction
Computer Graphics Introduction
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
 
Chapter 5 : ANIMATION
Chapter 5 : ANIMATIONChapter 5 : ANIMATION
Chapter 5 : ANIMATION
 
Graphical Programming
Graphical ProgrammingGraphical Programming
Graphical Programming
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Computer graphics - Nitish Nagar
Computer graphics - Nitish NagarComputer graphics - Nitish Nagar
Computer graphics - Nitish Nagar
 
Ch07
Ch07Ch07
Ch07
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
lecture1 introduction to computer graphics(Computer graphics tutorials)
lecture1 introduction to computer graphics(Computer graphics tutorials)lecture1 introduction to computer graphics(Computer graphics tutorials)
lecture1 introduction to computer graphics(Computer graphics tutorials)
 
Overview of Computer Graphics
Overview of Computer GraphicsOverview of Computer Graphics
Overview of Computer Graphics
 

Ähnlich wie Animation

5 multimedia elements - animation
5   multimedia elements - animation5   multimedia elements - animation
5 multimedia elements - animation
Kelly Bauer
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
Sharad Mitra
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptx
NishkaSharma5
 
Using A Application For A Desktop Application
Using A Application For A Desktop ApplicationUsing A Application For A Desktop Application
Using A Application For A Desktop Application
Tracy Huang
 

Ähnlich wie Animation (20)

Unit vi
Unit viUnit vi
Unit vi
 
Motion graphics Terminology
Motion graphics TerminologyMotion graphics Terminology
Motion graphics Terminology
 
Animation ppt
Animation pptAnimation ppt
Animation ppt
 
Graphic concept
Graphic conceptGraphic concept
Graphic concept
 
5 multimedia elements - animation
5   multimedia elements - animation5   multimedia elements - animation
5 multimedia elements - animation
 
Std 11 Computer Chapter 3 Creating Animation using Synfig (part 1)
Std 11 Computer Chapter 3 Creating Animation using Synfig (part 1)Std 11 Computer Chapter 3 Creating Animation using Synfig (part 1)
Std 11 Computer Chapter 3 Creating Animation using Synfig (part 1)
 
Class[4][19th jun] [three js-camera&light]
Class[4][19th jun] [three js-camera&light]Class[4][19th jun] [three js-camera&light]
Class[4][19th jun] [three js-camera&light]
 
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUESDIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
 
Introduction to Computer graphics
Introduction to Computer graphicsIntroduction to Computer graphics
Introduction to Computer graphics
 
Log polar coordinates
Log polar coordinatesLog polar coordinates
Log polar coordinates
 
CG_ch1.pptx
CG_ch1.pptxCG_ch1.pptx
CG_ch1.pptx
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptx
 
Design and implementation of video tracking system based on camera field of view
Design and implementation of video tracking system based on camera field of viewDesign and implementation of video tracking system based on camera field of view
Design and implementation of video tracking system based on camera field of view
 
Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics System
 
Using A Application For A Desktop Application
Using A Application For A Desktop ApplicationUsing A Application For A Desktop Application
Using A Application For A Desktop Application
 
Object tracking
Object trackingObject tracking
Object tracking
 
Final Paper
Final PaperFinal Paper
Final Paper
 
Animation in Computer Graphics
Animation in Computer GraphicsAnimation in Computer Graphics
Animation in Computer Graphics
 
Animation
AnimationAnimation
Animation
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Kürzlich hochgeladen (20)

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

Animation

  • 1. Computer Animation V unit CS6504-Computer graphics 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
  • 17.
  • 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’)
  • 29.
  • 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