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
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

More Related Content

What's hot

Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics
University of Potsdam
 
19 types of animation techniques and styles
19 types of animation techniques and styles19 types of animation techniques and styles
19 types of animation techniques and styles
winbizindia
 
Animation
AnimationAnimation
Animation
marwa_ma
 
Animation
AnimationAnimation
Computer animation
Computer animationComputer animation
Computer animation
Anisa Oshafi
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
katherineschuster
 
Raster animation
Raster animationRaster animation
Raster animation
abhijit754
 
Animation
AnimationAnimation
Animation
Preet Kanwal
 
(Computer) Animation Technique
(Computer) Animation Technique(Computer) Animation Technique
(Computer) Animation Technique
justinesolano
 
Visual Effects - VFX
Visual Effects - VFXVisual Effects - VFX
Visual Effects - VFX
Sidra Khan
 
Animation
AnimationAnimation
Animation
TaiyabaShk
 
Introduction to Animation
Introduction to AnimationIntroduction to Animation
Introduction to Animation
Bilal Ahmed
 
Lecture 9 animation
Lecture 9 animationLecture 9 animation
Lecture 9 animation
Mr SMAK
 
ANIMATION PPT
ANIMATION PPTANIMATION PPT
ANIMATION PPT
Gurpreet Singh
 
Animation techniques for CG students
Animation techniques for CG studentsAnimation techniques for CG students
Animation techniques for CG students
Mahith
 
3D Animation
3D Animation3D Animation
3D Animation
Sikander Nazir
 
Multimedia chapter 5
Multimedia chapter 5Multimedia chapter 5
Multimedia chapter 5
PrathimaBaliga
 
Application of computer graphic
Application of computer graphicApplication of computer graphic
Application of computer graphic
alldesign
 
Basic Concepts of Animation
Basic Concepts of AnimationBasic Concepts of Animation
Basic Concepts of Animation
jamalharun
 
Introduction to Animation
Introduction to AnimationIntroduction to Animation
Introduction to Animation
mrnasim
 

What's hot (20)

Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics
 
19 types of animation techniques and styles
19 types of animation techniques and styles19 types of animation techniques and styles
19 types of animation techniques and styles
 
Animation
AnimationAnimation
Animation
 
Animation
AnimationAnimation
Animation
 
Computer animation
Computer animationComputer animation
Computer animation
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Raster animation
Raster animationRaster animation
Raster animation
 
Animation
AnimationAnimation
Animation
 
(Computer) Animation Technique
(Computer) Animation Technique(Computer) Animation Technique
(Computer) Animation Technique
 
Visual Effects - VFX
Visual Effects - VFXVisual Effects - VFX
Visual Effects - VFX
 
Animation
AnimationAnimation
Animation
 
Introduction to Animation
Introduction to AnimationIntroduction to Animation
Introduction to Animation
 
Lecture 9 animation
Lecture 9 animationLecture 9 animation
Lecture 9 animation
 
ANIMATION PPT
ANIMATION PPTANIMATION PPT
ANIMATION PPT
 
Animation techniques for CG students
Animation techniques for CG studentsAnimation techniques for CG students
Animation techniques for CG students
 
3D Animation
3D Animation3D Animation
3D Animation
 
Multimedia chapter 5
Multimedia chapter 5Multimedia chapter 5
Multimedia chapter 5
 
Application of computer graphic
Application of computer graphicApplication of computer graphic
Application of computer graphic
 
Basic Concepts of Animation
Basic Concepts of AnimationBasic Concepts of Animation
Basic Concepts of Animation
 
Introduction to Animation
Introduction to AnimationIntroduction to Animation
Introduction to Animation
 

Similar to Animation

Animation
AnimationAnimation
Animation
Vasu Mathi
 
Trends in Computer Graphics
Trends in Computer GraphicsTrends in Computer Graphics
Trends in Computer Graphics
Sajal Maharjan
 
Unit vi
Unit viUnit vi
Unit vi
swapnasalil
 
Advanced animation techniques
Advanced animation techniquesAdvanced animation techniques
Advanced animation techniques
Charles Flynt
 
Motion graphics Terminology
Motion graphics TerminologyMotion graphics Terminology
Motion graphics Terminology
Joe Nasr
 
Animation ppt
Animation pptAnimation ppt
Animation ppt
Ashok Mannava
 
Graphic concept
Graphic conceptGraphic concept
Graphic concept
student(MCA)
 
5 multimedia elements - animation
5   multimedia elements - animation5   multimedia elements - animation
5 multimedia elements - animation
Kelly Bauer
 
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)
Nuzhat Memon
 
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]
Saajid Akram
 
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
AM Publications
 
Introduction to Computer graphics
Introduction to Computer graphicsIntroduction to Computer graphics
Introduction to Computer graphics
LOKESH KUMAR
 
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
sipij
 
Log polar coordinates
Log polar coordinatesLog polar coordinates
Log polar coordinates
Oğul Göçmen
 
CG_ch1.pptx
CG_ch1.pptxCG_ch1.pptx
CG_ch1.pptx
NirajG3
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptx
NishkaSharma5
 
Animation
AnimationAnimation
Animation
Purvi Sankhe
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
Sharad Mitra
 
Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics System
PrathimaBaliga
 
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
 

Similar to Animation (20)

Animation
AnimationAnimation
Animation
 
Trends in Computer Graphics
Trends in Computer GraphicsTrends in Computer Graphics
Trends in Computer Graphics
 
Unit vi
Unit viUnit vi
Unit vi
 
Advanced animation techniques
Advanced animation techniquesAdvanced animation techniques
Advanced animation techniques
 
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
 
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
 
Log polar coordinates
Log polar coordinatesLog polar coordinates
Log polar coordinates
 
CG_ch1.pptx
CG_ch1.pptxCG_ch1.pptx
CG_ch1.pptx
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptx
 
Animation
AnimationAnimation
Animation
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
 
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
 

Recently uploaded

Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 

Recently uploaded (20)

Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 

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
  • 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