SlideShare a Scribd company logo
1 of 35
2D TRANSFORMATIONS COMPUTER GRAPHICS
 
[object Object],2D Transformations
Why Transformations ? ,[object Object],[object Object],[object Object]
[object Object],[object Object]
[object Object],[object Object],[object Object]
[object Object],[object Object]
Translation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],x' y' x y t x t y  =  + P ' (8,6)  t x t y  P(2, 2) = 6 =4
Rotation ,[object Object],[object Object], P P
Rotation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],    P(x,y) x y r x’ y’  P’(x’, y’) r Identity of Trigonometry
Rotation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object], P(x,y)    x y r x’ y’  P’(x’, y’)
Scaling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],P P’
Scaling ,[object Object],[object Object],[object Object],P(2, 5) P’ ,[object Object],[object Object]
Scaling ,[object Object],[object Object],P(2, 5) P’ ,[object Object],[object Object],P’ ,[object Object],[object Object]
Scaling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],P(1, 2) P’
General pivot point rotation ,[object Object],[object Object],[object Object],(x r ,y r ) (a) Original Position of Object and pivot point (b) Translation of object so that pivot point (x r ,y r ) is at origin (c) Rotation was about origin (d) Translation of the object so that the pivot point is returned to position (x r ,y r )
General fixed point scaling ,[object Object],[object Object],[object Object],(x f ,y f ) (a) Original Position of Object and Fixed point (b) Translation of object so that fixed point (x f ,y f )is at origin (c) scaling was about origin (d) Translation of the object so that the Fixed point is returned to position (x f ,y f )
Composite Transformations (A) Translations If two successive translation vectors (t x1 ,t y1 ) and (t x2 ,t y2 ) are applied to a coordinate position P, the final transformed location P’ is calculated as: - P’=T(t x2 ,t y2 ) . {T(t x1 ,t y1 ) .P}   ={T(t x2 ,t y2 ) . T(t x1 ,t y1 )} .P Where P and P’ are represented as homogeneous-coordinate column vectors. We can verify this result by calculating the matrix product for the two associative groupings. Also, the composite transformation matrix for this sequence of transformations is: - 1  0  t x2 0  1  t y2 0  0  1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],. = Or,  T(t x2 ,t y2 ) . T(t x1 ,t y1 ) = T(t x1 +t x2 , t y1 +t y2 ) Which demonstrate that two successive translations are additive.
(B)  Rotations  Two successive rotations applied to point P produce the transformed position: - P’= R( Ө 2 ) . {R( Ө 1   ) . P}   = {R( Ө 2 ) . R( Ө 1 )} . P By multiplication the two rotation matrices, we can verify that two successive rotations are additive: R( Ө 2 ) . R( Ө 1 ) = R ( Ө 1 +  Ө 2 ) So that the final rotated coordinates can be calculated with the composite rotation matrix as: - P’ = R( Ө 1 +  Ө 2 ) . P
(C) Scaling Concatenating transformation matrices for two successive scaling operations produces the following composite scaling matrix: - S x2  0  0 0  S y2  0   0  0  1 . = S x1  0  0 0  S y1  0   0  0  1 S x1  . S x2   0  0 0  S y1  .S y2  0   0  0  1 Or,  S( S x2 ,   S y2  ) . S( S x1 , S y1 ) =  S ( S x1  . S x2 ,   S y1  .S y2  ) The resulting matrix in this case indicates that successive scaling operations are multiplicative.
Other transformations ,[object Object],1 2 3 3’ 2’ 1’ Original position Reflected position Reflection about the line y=0, the X- axis , is accomplished with the transformation matrix ,[object Object],[object Object],[object Object]
Reflection -1  0  0 0  1  0 0  0  1 1’ 3’ 2’ 3 2 1 Original position Reflected position Reflection about the line x=0, the Y- axis , is accomplished with the transformation matrix
Reflection -1  0  0 0  -1  0 0  0  1 1’ 2’ 3’ 3 2 1 Original position Reflected position Reflection of an object relative to an axis perpendicular to the xy plane and passing through the coordinate origin X-axis Y-axis Origin  O (0,0) The above reflection matrix is the rotation matrix with angle=180 degree. This can be generalized to any reflection point in the xy plane. This reflection is the same as a 180 degree rotation in the xy plane using the reflection point as the pivot point.
Reflection of an object w.r.t the straight line y=x 0  1  0 1  0  0 0  0  1 1’ 3’ 2’ 3 2 1 Original position Reflected position X-axis Y-axis Origin  O (0,0)
Reflection of an object w.r.t the straight line y=-x 0  -1  0 -1  0  0 0  0  1 1’ 3’ 2’ 3 X-axis 1 Original position Reflected position 2 Y-axis Origin  O (0,0) Line Y = - X
Reflection of an arbitrary axis y=mx+b 3 2 1 Original position
3 2 1 Original position 3 2 1 Original position Translation so that it passes through origin 1’ 3’ 2’ 3 2 1 Reflected position Original position Rotate so that it coincides with x-axis and reflect also about x-axis 1’ 3’ 2’ 3 2 1 Original position Reflected position 1’ 3’ 2’ 3 2 1 Original position Reflected position Rotate back Translate back
Shear Transformations ,[object Object],[object Object]
Shears ,[object Object],[object Object],[object Object],[object Object]
An X- direction Shear (0,1) (1,1) (1,0) (0,0) (0,0) (1,0) (2,1) (3,1) For example, Sh x =2
An Y- direction Shear (0,1) (1,1) (1,0) (0,0) (0,0) (0,1) (1,3) (1,2) For example, Sh y =2 X X Y Y
CONCLUSION To manipulate  the initially created object and to display the modified object without having to redraw it, we use Transformations.
Textbook ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]
THANK YOU ALL

More Related Content

What's hot

2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinatesTarun Gehlot
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformationSelvakumar Gna
 
3 d transformation
3 d transformation3 d transformation
3 d transformationPooja Dixit
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer GraphicsSanu Philip
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output PrimitivesPrathimaBaliga
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric TransformationsIshan Parekh
 
Geometric transformation
Geometric transformationGeometric transformation
Geometric transformationDhruv Shah
 
Polygons - Computer Graphics - Notes
Polygons - Computer Graphics - NotesPolygons - Computer Graphics - Notes
Polygons - Computer Graphics - NotesOmprakash Chauhan
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformationsNareek
 
Reflection transformation
Reflection transformationReflection transformation
Reflection transformationMani Kanth
 
Back face detection
Back face detectionBack face detection
Back face detectionPooja Dixit
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics University of Potsdam
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removalPunyajoy Saha
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphicssabbirantor
 
Two dimensional viewing
Two dimensional viewingTwo dimensional viewing
Two dimensional viewingMohd Arif
 
Geometric transformation 2d chapter 5
Geometric transformation 2d   chapter 5Geometric transformation 2d   chapter 5
Geometric transformation 2d chapter 5geethawilliam
 
3D Transformation
3D Transformation3D Transformation
3D TransformationSwatiHans10
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformationsMohammad Sadiq
 

What's hot (20)

3D Transformation
3D Transformation3D Transformation
3D Transformation
 
2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer Graphics
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output Primitives
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
 
Geometric transformation
Geometric transformationGeometric transformation
Geometric transformation
 
Polygons - Computer Graphics - Notes
Polygons - Computer Graphics - NotesPolygons - Computer Graphics - Notes
Polygons - Computer Graphics - Notes
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
 
Reflection transformation
Reflection transformationReflection transformation
Reflection transformation
 
Back face detection
Back face detectionBack face detection
Back face detection
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
 
Two dimensional viewing
Two dimensional viewingTwo dimensional viewing
Two dimensional viewing
 
Geometric transformation 2d chapter 5
Geometric transformation 2d   chapter 5Geometric transformation 2d   chapter 5
Geometric transformation 2d chapter 5
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformations
 

Viewers also liked

Notes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNotes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNANDINI SHARMA
 
CG - Display Devices
CG - Display DevicesCG - Display Devices
CG - Display Devicesvinay arora
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics NotesGurpreet singh
 
3 d projections
3 d projections3 d projections
3 d projectionsMohd Arif
 
Introduction to Computer graphics
Introduction to Computer graphics Introduction to Computer graphics
Introduction to Computer graphics PrathimaBaliga
 
3 d geometric transformations
3 d geometric transformations3 d geometric transformations
3 d geometric transformationsMohd Arif
 
Display devices CRT and LCD screen
Display devices CRT and LCD screenDisplay devices CRT and LCD screen
Display devices CRT and LCD screenManoj Harsule
 
Video display device
Video display deviceVideo display device
Video display devicemissagrata
 
Computer Graphics Notes (B.Tech, KUK, MDU)
Computer Graphics Notes (B.Tech, KUK, MDU)Computer Graphics Notes (B.Tech, KUK, MDU)
Computer Graphics Notes (B.Tech, KUK, MDU)Rajesh Kamboj
 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphicsAaina Katyal
 
Random scan displays and raster scan displays
Random scan displays and raster scan displaysRandom scan displays and raster scan displays
Random scan displays and raster scan displaysSomya Bagai
 
liquid crystal display
liquid crystal displayliquid crystal display
liquid crystal displayDinesh Pasi
 

Viewers also liked (17)

2d/3D transformations in computer graphics(Computer graphics Tutorials)
2d/3D transformations in computer graphics(Computer graphics Tutorials)2d/3D transformations in computer graphics(Computer graphics Tutorials)
2d/3D transformations in computer graphics(Computer graphics Tutorials)
 
Notes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNotes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphics
 
Color models
Color modelsColor models
Color models
 
Color Models
Color ModelsColor Models
Color Models
 
CG - Display Devices
CG - Display DevicesCG - Display Devices
CG - Display Devices
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
 
3 d projections
3 d projections3 d projections
3 d projections
 
Introduction to Computer graphics
Introduction to Computer graphics Introduction to Computer graphics
Introduction to Computer graphics
 
3 d geometric transformations
3 d geometric transformations3 d geometric transformations
3 d geometric transformations
 
Display devices CRT and LCD screen
Display devices CRT and LCD screenDisplay devices CRT and LCD screen
Display devices CRT and LCD screen
 
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)
 
Video display device
Video display deviceVideo display device
Video display device
 
transformation 3d
transformation 3dtransformation 3d
transformation 3d
 
Computer Graphics Notes (B.Tech, KUK, MDU)
Computer Graphics Notes (B.Tech, KUK, MDU)Computer Graphics Notes (B.Tech, KUK, MDU)
Computer Graphics Notes (B.Tech, KUK, MDU)
 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphics
 
Random scan displays and raster scan displays
Random scan displays and raster scan displaysRandom scan displays and raster scan displays
Random scan displays and raster scan displays
 
liquid crystal display
liquid crystal displayliquid crystal display
liquid crystal display
 

Similar to 2 d transformations by amit kumar (maimt)

Similar to 2 d transformations by amit kumar (maimt) (20)

06.Transformation.ppt
06.Transformation.ppt06.Transformation.ppt
06.Transformation.ppt
 
Unit 3 notes
Unit 3 notesUnit 3 notes
Unit 3 notes
 
2d transformation
2d transformation2d transformation
2d transformation
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transform
 
2D-transformation-1.pdf
2D-transformation-1.pdf2D-transformation-1.pdf
2D-transformation-1.pdf
 
seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformations
 
2D transformations
2D transformations2D transformations
2D transformations
 
transformation IT.ppt
transformation IT.ppttransformation IT.ppt
transformation IT.ppt
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
 
Computer Graphics - transformations in 2d
Computer Graphics - transformations in 2dComputer Graphics - transformations in 2d
Computer Graphics - transformations in 2d
 
Transforms UNIt 2
Transforms UNIt 2 Transforms UNIt 2
Transforms UNIt 2
 
2 d transformation
2 d transformation2 d transformation
2 d transformation
 
2-D Transformations.pdf
2-D Transformations.pdf2-D Transformations.pdf
2-D Transformations.pdf
 
2D Transformation.pdf
2D Transformation.pdf2D Transformation.pdf
2D Transformation.pdf
 
Computer Graphics Unit 2
Computer Graphics Unit 2Computer Graphics Unit 2
Computer Graphics Unit 2
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
 
Bla b__________________la -2&3d -DD .ppt
Bla b__________________la -2&3d -DD .pptBla b__________________la -2&3d -DD .ppt
Bla b__________________la -2&3d -DD .ppt
 
2 d transformations
2 d transformations2 d transformations
2 d transformations
 

More from Amit Kapoor

Tweening and morphing
Tweening and morphingTweening and morphing
Tweening and morphingAmit Kapoor
 
Study from where
Study from whereStudy from where
Study from whereAmit Kapoor
 
Computer graphics syllabus
Computer graphics syllabusComputer graphics syllabus
Computer graphics syllabusAmit Kapoor
 
Cg my own programs
Cg my own programsCg my own programs
Cg my own programsAmit Kapoor
 
3 d modeling of objects
3 d modeling of objects3 d modeling of objects
3 d modeling of objectsAmit Kapoor
 
C aptitude scribd
C aptitude scribdC aptitude scribd
C aptitude scribdAmit Kapoor
 
C interview question answer 2
C interview question answer 2C interview question answer 2
C interview question answer 2Amit Kapoor
 
C interview question answer 1
C interview question answer 1C interview question answer 1
C interview question answer 1Amit Kapoor
 
C notes mca i sem 2011
C notes mca i sem 2011C notes mca i sem 2011
C notes mca i sem 2011Amit Kapoor
 
User defined data type
User defined data typeUser defined data type
User defined data typeAmit Kapoor
 

More from Amit Kapoor (17)

Shading
ShadingShading
Shading
 
Tweening and morphing
Tweening and morphingTweening and morphing
Tweening and morphing
 
Study from where
Study from whereStudy from where
Study from where
 
Projection
ProjectionProjection
Projection
 
Display devices
Display devicesDisplay devices
Display devices
 
Computer graphics syllabus
Computer graphics syllabusComputer graphics syllabus
Computer graphics syllabus
 
Cg my own programs
Cg my own programsCg my own programs
Cg my own programs
 
Animation
AnimationAnimation
Animation
 
3 d modeling of objects
3 d modeling of objects3 d modeling of objects
3 d modeling of objects
 
Essential c
Essential cEssential c
Essential c
 
C aptitude scribd
C aptitude scribdC aptitude scribd
C aptitude scribd
 
C in7-days
C in7-daysC in7-days
C in7-days
 
C interview question answer 2
C interview question answer 2C interview question answer 2
C interview question answer 2
 
C interview question answer 1
C interview question answer 1C interview question answer 1
C interview question answer 1
 
C notes mca i sem 2011
C notes mca i sem 2011C notes mca i sem 2011
C notes mca i sem 2011
 
C tutorials
C tutorialsC tutorials
C tutorials
 
User defined data type
User defined data typeUser defined data type
User defined data type
 

Recently uploaded

Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 

Recently uploaded (20)

Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 

2 d transformations by amit kumar (maimt)

  • 2.  
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. (B) Rotations Two successive rotations applied to point P produce the transformed position: - P’= R( Ө 2 ) . {R( Ө 1 ) . P} = {R( Ө 2 ) . R( Ө 1 )} . P By multiplication the two rotation matrices, we can verify that two successive rotations are additive: R( Ө 2 ) . R( Ө 1 ) = R ( Ө 1 + Ө 2 ) So that the final rotated coordinates can be calculated with the composite rotation matrix as: - P’ = R( Ө 1 + Ө 2 ) . P
  • 20. (C) Scaling Concatenating transformation matrices for two successive scaling operations produces the following composite scaling matrix: - S x2 0 0 0 S y2 0 0 0 1 . = S x1 0 0 0 S y1 0 0 0 1 S x1 . S x2 0 0 0 S y1 .S y2 0 0 0 1 Or, S( S x2 , S y2 ) . S( S x1 , S y1 ) = S ( S x1 . S x2 , S y1 .S y2 ) The resulting matrix in this case indicates that successive scaling operations are multiplicative.
  • 21.
  • 22. Reflection -1 0 0 0 1 0 0 0 1 1’ 3’ 2’ 3 2 1 Original position Reflected position Reflection about the line x=0, the Y- axis , is accomplished with the transformation matrix
  • 23. Reflection -1 0 0 0 -1 0 0 0 1 1’ 2’ 3’ 3 2 1 Original position Reflected position Reflection of an object relative to an axis perpendicular to the xy plane and passing through the coordinate origin X-axis Y-axis Origin O (0,0) The above reflection matrix is the rotation matrix with angle=180 degree. This can be generalized to any reflection point in the xy plane. This reflection is the same as a 180 degree rotation in the xy plane using the reflection point as the pivot point.
  • 24. Reflection of an object w.r.t the straight line y=x 0 1 0 1 0 0 0 0 1 1’ 3’ 2’ 3 2 1 Original position Reflected position X-axis Y-axis Origin O (0,0)
  • 25. Reflection of an object w.r.t the straight line y=-x 0 -1 0 -1 0 0 0 0 1 1’ 3’ 2’ 3 X-axis 1 Original position Reflected position 2 Y-axis Origin O (0,0) Line Y = - X
  • 26. Reflection of an arbitrary axis y=mx+b 3 2 1 Original position
  • 27. 3 2 1 Original position 3 2 1 Original position Translation so that it passes through origin 1’ 3’ 2’ 3 2 1 Reflected position Original position Rotate so that it coincides with x-axis and reflect also about x-axis 1’ 3’ 2’ 3 2 1 Original position Reflected position 1’ 3’ 2’ 3 2 1 Original position Reflected position Rotate back Translate back
  • 28.
  • 29.
  • 30. An X- direction Shear (0,1) (1,1) (1,0) (0,0) (0,0) (1,0) (2,1) (3,1) For example, Sh x =2
  • 31. An Y- direction Shear (0,1) (1,1) (1,0) (0,0) (0,0) (0,1) (1,3) (1,2) For example, Sh y =2 X X Y Y
  • 32. CONCLUSION To manipulate the initially created object and to display the modified object without having to redraw it, we use Transformations.
  • 33.
  • 34.