SlideShare a Scribd company logo
1 of 14
We generate each set of in between from the
specification of two(or more)keys frames.
Motion paths can be given with a kinematic
description as a set of spline curves or the
motions can be physically based by specifying
the forces acting on the object to be animated.
For complex scenes, we can separate the frames into individuals
components or objects called cels, an acronym from cartoon animation.
Given the animation paths, we can interpolate the positions of individual
objects between any two times.
With complex object transformation, the shapes of object may change
overtime. Examples are clothes, facial features, magnified details,
evolving shapes, exploding or disintegrating objects, and transforming
one object into an other object.
Transformation of object shapes from one form to is
called morphing, which is a shortened form of
metamorphosis. Morphing methods can be applied to
any motion or transition involving a change in shape.
Given two key frames for an object transformation, we
first adjust the object specification in one of the
frames so that the number of polygon edges(or the
number of vertices) is the same for the two frames.
1 1’
3’
2
2’
key key
Frame k Frame k+1
An edges with vertex positions 1 and 2 in key frame k evolves into
the connected edges in key frame k+1.
Linear interpolation for transforming a line segment in key frame k
into two connected line segments in key frame k+1.
Linear interpolation for transforming a triangle into a quadrilateral.
Lmax=max(Lk,Lk+1),
Lmin=min(Lk,Lk=1)
Ne=Lmax mod Lmin
Ns=int(Lmax/Lmin)
1.Dividing Ne edges of key frame min into Ns+1 sections
2.Dividing the remaining lines of key frame min into Ns sections
As an example, if Lk=15 and Lk+1=11, we would divide 4 lines of keyframek+1
into 2 sections each. The remaining lines of keyframek+1 are left intact.
Vmax=max(Vk,Vk+1),
Vmin=min(Vk,Vk+1)
And
Nls=(Vmax-1) mod (Vmin-1)
Np=int(Vmax-1/Vmin-1)
Transformation of a moving automobile into a running tiger
Curve-fitting techniques are often used to specify the animation
paths between key frames. Given the vertex positions at the key
frames, we can fit the positions with linear or nonlinear paths.
For constant speed, we use equal-interval time spacing for the in-
between. Suppose we want n in-between for key frame at times t1
and t2
∆ t=t2-t1/n+1
We can calculate the time for any in-between as
tBj = t1+∆j,
j=1,2,….,n
And determine the values for coordinate position, color and other
physical parameters.
Fitting key-frame vertex positions with nonlinear splines.
To model increasing speed we want the time spacing between
frames to increase so that greater changes in position occur as the
object moves faster. We can obtain an increasing interval size with
the function
1-cosᶿ,0<ᶿ<∏/2
tBj=t1+∆t[1-cosj∏/2(n+1)], j=1,2,…,n
We can model decreasing speed with sinᶿ in the range 0<ᶿ<∏/2.
tBj=t1+∆tsin j∏/2(n+1), j=1,2,…,n
A trigonometric acceleration function and the corresponding in-
between spacing for n=5 and ᶿ=j∏/12, producing increased coordinate
changes as the object moves through each time interval.
A trigonometric deceleration function and the corresponding in-between
spacing for n=5 and ᶿ=j∏/12,producing decreased coordinate changes as
the object moves through each time interval.

More Related Content

What's hot

ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICSATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICSnehrurevathy
 
2D Transformation in Computer Graphics
2D Transformation in Computer Graphics2D Transformation in Computer Graphics
2D Transformation in Computer GraphicsA. S. M. Shafi
 
CG - Output Primitives
CG - Output PrimitivesCG - Output Primitives
CG - Output Primitivesvinay arora
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniquesMazin Alwaaly
 
Composite transformations
Composite transformationsComposite transformations
Composite transformationsMohd Arif
 
4. THREE DIMENSIONAL DISPLAY METHODS
4.	THREE DIMENSIONAL DISPLAY METHODS4.	THREE DIMENSIONAL DISPLAY METHODS
4. THREE DIMENSIONAL DISPLAY METHODSSanthiNivas
 
Region filling
Region fillingRegion filling
Region fillinghetvi naik
 
Block Truncation Coding
Block Truncation CodingBlock Truncation Coding
Block Truncation Codingriyagam
 
Mid point circle algorithm
Mid point circle algorithmMid point circle algorithm
Mid point circle algorithmMani Kanth
 

What's hot (20)

Hit and-miss transform
Hit and-miss transformHit and-miss transform
Hit and-miss transform
 
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICSATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
 
Computer graphics realism
Computer graphics realismComputer graphics realism
Computer graphics realism
 
2D Transformation in Computer Graphics
2D Transformation in Computer Graphics2D Transformation in Computer Graphics
2D Transformation in Computer Graphics
 
CG - Output Primitives
CG - Output PrimitivesCG - Output Primitives
CG - Output Primitives
 
3 d display methods
3 d display methods3 d display methods
3 d display methods
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
 
Illumination Models & Shading
Illumination Models & ShadingIllumination Models & Shading
Illumination Models & Shading
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Anti aliasing
Anti aliasingAnti aliasing
Anti aliasing
 
4. THREE DIMENSIONAL DISPLAY METHODS
4.	THREE DIMENSIONAL DISPLAY METHODS4.	THREE DIMENSIONAL DISPLAY METHODS
4. THREE DIMENSIONAL DISPLAY METHODS
 
Spline representations
Spline representationsSpline representations
Spline representations
 
Spatial filtering
Spatial filteringSpatial filtering
Spatial filtering
 
Region filling
Region fillingRegion filling
Region filling
 
Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
 
Block Truncation Coding
Block Truncation CodingBlock Truncation Coding
Block Truncation Coding
 
Mid point circle algorithm
Mid point circle algorithmMid point circle algorithm
Mid point circle algorithm
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 

Similar to Generating motion paths and transforming object shapes in animation

Computer graphic
Computer graphicComputer graphic
Computer graphicnusratema1
 
Morphin gg
Morphin ggMorphin gg
Morphin ggDhansha
 
Chapter 18: Transitions, Transforms, and Animation
Chapter 18: Transitions, Transforms, and AnimationChapter 18: Transitions, Transforms, and Animation
Chapter 18: Transitions, Transforms, and AnimationSteve Guinan
 
Chapter 2 Motion in a straight line
Chapter 2 Motion in a straight lineChapter 2 Motion in a straight line
Chapter 2 Motion in a straight lineAshwin Rathore
 
Fundamentals of Physics (MOTION ALONG A STRAIGHT LINE)
Fundamentals of Physics (MOTION ALONG A STRAIGHT LINE)Fundamentals of Physics (MOTION ALONG A STRAIGHT LINE)
Fundamentals of Physics (MOTION ALONG A STRAIGHT LINE)Muhammad Faizan Musa
 
Finite element analysis of shape function
Finite element analysis of shape functionFinite element analysis of shape function
Finite element analysis of shape functionAjay ed
 
lec 2 Robotics time & motion
lec 2 Robotics time & motionlec 2 Robotics time & motion
lec 2 Robotics time & motioncairo university
 
SLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network TopologySLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network Topologytoukaigi
 
Introduction to mechanics
Introduction to mechanicsIntroduction to mechanics
Introduction to mechanicsHamzabg
 
Comparative study of results obtained by analysis of structures using ANSYS, ...
Comparative study of results obtained by analysis of structures using ANSYS, ...Comparative study of results obtained by analysis of structures using ANSYS, ...
Comparative study of results obtained by analysis of structures using ANSYS, ...IOSR Journals
 
Geometric objects and transformations
Geometric objects and transformationsGeometric objects and transformations
Geometric objects and transformationssaad siddiqui
 
DETECTION OF MOVING OBJECT
DETECTION OF MOVING OBJECTDETECTION OF MOVING OBJECT
DETECTION OF MOVING OBJECTAM Publications
 

Similar to Generating motion paths and transforming object shapes in animation (20)

Animation ppt
Animation pptAnimation ppt
Animation ppt
 
Computer graphic
Computer graphicComputer graphic
Computer graphic
 
Morphin gg
Morphin ggMorphin gg
Morphin gg
 
03 time and motion
03 time and motion03 time and motion
03 time and motion
 
Chapter 18: Transitions, Transforms, and Animation
Chapter 18: Transitions, Transforms, and AnimationChapter 18: Transitions, Transforms, and Animation
Chapter 18: Transitions, Transforms, and Animation
 
Chapter 2 Motion in a straight line
Chapter 2 Motion in a straight lineChapter 2 Motion in a straight line
Chapter 2 Motion in a straight line
 
S curve
S curveS curve
S curve
 
S curve
S curveS curve
S curve
 
Fundamentals of Physics (MOTION ALONG A STRAIGHT LINE)
Fundamentals of Physics (MOTION ALONG A STRAIGHT LINE)Fundamentals of Physics (MOTION ALONG A STRAIGHT LINE)
Fundamentals of Physics (MOTION ALONG A STRAIGHT LINE)
 
Implimenting_HJM
Implimenting_HJMImplimenting_HJM
Implimenting_HJM
 
Finite element analysis of shape function
Finite element analysis of shape functionFinite element analysis of shape function
Finite element analysis of shape function
 
Derivatie class 12
Derivatie class 12Derivatie class 12
Derivatie class 12
 
lec 2 Robotics time & motion
lec 2 Robotics time & motionlec 2 Robotics time & motion
lec 2 Robotics time & motion
 
SLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network TopologySLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network Topology
 
Dynamics
DynamicsDynamics
Dynamics
 
v2chap2.pdf
v2chap2.pdfv2chap2.pdf
v2chap2.pdf
 
Introduction to mechanics
Introduction to mechanicsIntroduction to mechanics
Introduction to mechanics
 
Comparative study of results obtained by analysis of structures using ANSYS, ...
Comparative study of results obtained by analysis of structures using ANSYS, ...Comparative study of results obtained by analysis of structures using ANSYS, ...
Comparative study of results obtained by analysis of structures using ANSYS, ...
 
Geometric objects and transformations
Geometric objects and transformationsGeometric objects and transformations
Geometric objects and transformations
 
DETECTION OF MOVING OBJECT
DETECTION OF MOVING OBJECTDETECTION OF MOVING OBJECT
DETECTION OF MOVING OBJECT
 

More from ComputerScienceDepar6

Introduction to Structured Query Language (SQL) (1).ppt
Introduction to Structured Query Language (SQL) (1).pptIntroduction to Structured Query Language (SQL) (1).ppt
Introduction to Structured Query Language (SQL) (1).pptComputerScienceDepar6
 
Fourier series-P.Ruby Stella Mary.pptx
Fourier series-P.Ruby Stella Mary.pptxFourier series-P.Ruby Stella Mary.pptx
Fourier series-P.Ruby Stella Mary.pptxComputerScienceDepar6
 
computer animation languages-N.Kavitha.pptx
computer animation languages-N.Kavitha.pptxcomputer animation languages-N.Kavitha.pptx
computer animation languages-N.Kavitha.pptxComputerScienceDepar6
 
Three dimensional graphics package.N.kavitha.pptx
Three dimensional graphics package.N.kavitha.pptxThree dimensional graphics package.N.kavitha.pptx
Three dimensional graphics package.N.kavitha.pptxComputerScienceDepar6
 

More from ComputerScienceDepar6 (8)

ER diagram - Krishna Geetha.ppt
ER diagram - Krishna Geetha.pptER diagram - Krishna Geetha.ppt
ER diagram - Krishna Geetha.ppt
 
Magnetic disk - Krishna Geetha.ppt
Magnetic disk  - Krishna Geetha.pptMagnetic disk  - Krishna Geetha.ppt
Magnetic disk - Krishna Geetha.ppt
 
Indexing and hashing.ppt
Indexing and hashing.pptIndexing and hashing.ppt
Indexing and hashing.ppt
 
Join Operation.pptx
Join Operation.pptxJoin Operation.pptx
Join Operation.pptx
 
Introduction to Structured Query Language (SQL) (1).ppt
Introduction to Structured Query Language (SQL) (1).pptIntroduction to Structured Query Language (SQL) (1).ppt
Introduction to Structured Query Language (SQL) (1).ppt
 
Fourier series-P.Ruby Stella Mary.pptx
Fourier series-P.Ruby Stella Mary.pptxFourier series-P.Ruby Stella Mary.pptx
Fourier series-P.Ruby Stella Mary.pptx
 
computer animation languages-N.Kavitha.pptx
computer animation languages-N.Kavitha.pptxcomputer animation languages-N.Kavitha.pptx
computer animation languages-N.Kavitha.pptx
 
Three dimensional graphics package.N.kavitha.pptx
Three dimensional graphics package.N.kavitha.pptxThree dimensional graphics package.N.kavitha.pptx
Three dimensional graphics package.N.kavitha.pptx
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 

Recently uploaded (20)

Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 

Generating motion paths and transforming object shapes in animation

  • 1.
  • 2. We generate each set of in between from the specification of two(or more)keys frames. Motion paths can be given with a kinematic description as a set of spline curves or the motions can be physically based by specifying the forces acting on the object to be animated.
  • 3. For complex scenes, we can separate the frames into individuals components or objects called cels, an acronym from cartoon animation. Given the animation paths, we can interpolate the positions of individual objects between any two times. With complex object transformation, the shapes of object may change overtime. Examples are clothes, facial features, magnified details, evolving shapes, exploding or disintegrating objects, and transforming one object into an other object.
  • 4. Transformation of object shapes from one form to is called morphing, which is a shortened form of metamorphosis. Morphing methods can be applied to any motion or transition involving a change in shape. Given two key frames for an object transformation, we first adjust the object specification in one of the frames so that the number of polygon edges(or the number of vertices) is the same for the two frames.
  • 5. 1 1’ 3’ 2 2’ key key Frame k Frame k+1 An edges with vertex positions 1 and 2 in key frame k evolves into the connected edges in key frame k+1.
  • 6. Linear interpolation for transforming a line segment in key frame k into two connected line segments in key frame k+1.
  • 7. Linear interpolation for transforming a triangle into a quadrilateral.
  • 8. Lmax=max(Lk,Lk+1), Lmin=min(Lk,Lk=1) Ne=Lmax mod Lmin Ns=int(Lmax/Lmin) 1.Dividing Ne edges of key frame min into Ns+1 sections 2.Dividing the remaining lines of key frame min into Ns sections As an example, if Lk=15 and Lk+1=11, we would divide 4 lines of keyframek+1 into 2 sections each. The remaining lines of keyframek+1 are left intact. Vmax=max(Vk,Vk+1), Vmin=min(Vk,Vk+1) And Nls=(Vmax-1) mod (Vmin-1) Np=int(Vmax-1/Vmin-1)
  • 9. Transformation of a moving automobile into a running tiger
  • 10. Curve-fitting techniques are often used to specify the animation paths between key frames. Given the vertex positions at the key frames, we can fit the positions with linear or nonlinear paths. For constant speed, we use equal-interval time spacing for the in- between. Suppose we want n in-between for key frame at times t1 and t2 ∆ t=t2-t1/n+1 We can calculate the time for any in-between as tBj = t1+∆j, j=1,2,….,n And determine the values for coordinate position, color and other physical parameters.
  • 11. Fitting key-frame vertex positions with nonlinear splines.
  • 12. To model increasing speed we want the time spacing between frames to increase so that greater changes in position occur as the object moves faster. We can obtain an increasing interval size with the function 1-cosᶿ,0<ᶿ<∏/2 tBj=t1+∆t[1-cosj∏/2(n+1)], j=1,2,…,n We can model decreasing speed with sinᶿ in the range 0<ᶿ<∏/2. tBj=t1+∆tsin j∏/2(n+1), j=1,2,…,n
  • 13. A trigonometric acceleration function and the corresponding in- between spacing for n=5 and ᶿ=j∏/12, producing increased coordinate changes as the object moves through each time interval.
  • 14. A trigonometric deceleration function and the corresponding in-between spacing for n=5 and ᶿ=j∏/12,producing decreased coordinate changes as the object moves through each time interval.