SlideShare a Scribd company logo
3D TRANSFORMATION
CONTENTS
 Transformation
 Types of transformation
 Why we use transformation
 3D Transformation
 3D Translation
 3D Rotation
 3D Scaling
 3D Reflection
 3D Shearing
TRANSFORMATION
 Transformations are a fundamental part of the computer
graphics. Transformations are the movement of the object in
Cartesian plane .
TYPES OF
TRANSFORMATION
 There are two types of transformation in computer graphics.
1) 2D transformation
2) 3D transformation
 Types of 2D and 3D transformation
1) Translation
2) Rotation
3) Scaling
4) Shearing
5) Mirror reflection
WHY WE USE
TRANSFORMATION
 Transformation are used to position objects , to shape object , to
change viewing positions , and even how something is viewed.
 In simple words transformation is used for
1) Modeling
2) viewing
3D TRANSFORMATION
 When the transformation takes place on a 3D plane .it is called
3D transformation.
 Generalize from 2D by including z coordinate
Straight forward for translation and scale, rotation more difficult
Homogeneous coordinates: 4 components
Transformation matrices: 4×4 elements












1000
z
y
x
tihg
tfed
tcba
3D TRANSLATION
 Moving of object is called translation.
 In 3 dimensional homogeneous coordinate representation , a
point is transformed from position P = ( x, y , z) to P’=( x’, y’,
z’)
 This can be written as:-
Using P’ = T . P









































11000
100
010
001
1
z
y
x
t
t
t
z
y
x
z
y
x
3D TRANSLATION
 The matrix representation is equivalent to the three equation.
x’=x+ tx , y’=y+ ty , z’=z+ tz
Where parameter tx , ty , tz are specifying translation distance for the
coordinate direction x , y , z are assigned any real value.
3D ROTATION
Where an object is to be rotated about an axis that is parallel to one
of the coordinate axis, we can obtain the desired rotation with
the following transformation sequence.
Coordinate axis rotation
Z- axis Rotation(Roll)
Y-axis Rotation(Yaw)
X-axis Rotation(Pitch)
COORDINATE AXIS
ROTATION
 Obtain rotations around other axes through cyclic permutation
of coordinate parameters:
xzyx 
X-AXIS ROTATION
The equation for X-axis rotation
x’ = x
y’ = y cosθ – z sinθ
z’ = y sinθ + z cosθ








































11000
0cossin0
0sincos0
0001
1
'
'
'
z
y
x
z
y
x
Y-AXIS ROTATION
The equation for Y-axis rotaion
x’ = x cosθ + z sinθ
y’ = y
z’ = z cosθ - x sinθ








































11000
0cos0sin
0010
0sin0cos
1
'
'
'
z
y
x
z
y
x
The equation for Y-axis rotaion
x’ = x cosθ – y sinθ
y’ = x sinθ + y cosθ
z’ = z
Z-AXIS ROTATION
























 













11000
0100
00cossin
00sincos
1
'
'
'
z
y
x
z
y
x


3D SCALING
 Changes the size of the object and repositions the object relative
to the coordinate origin.









































11000
000
000
000
1
z
y
x
s
s
s
z
y
x
z
y
x
3D SCALING
 The equations for scaling
x’ = x . sx
Ssx,sy,sz y’ = y . sy
z’ = z . sz
3D REFLECTION
 Reflection in computer graphics is used to emulate reflective
objects like mirrors and shiny surfaces
 Reflection may be an x-axis
y-axis , z-axis. and also in
the planes xy-plane,yz-plane , and
zx-plane.
Reflection relative to a given
Axis are equivalent to 180
Degree rotations
3D REFLECTION
 Reflection about x-axis:-
x’=x y’=-y z’=-z
1 0 0 0
0 -1 0 0
0 0 -1 0
0 0 0 1
Reflection about y-axis:-
y’=y x’=-x z’=-z
3D REFLECTION
 The matrix for reflection about y-axis:-
-1 0 0 0
0 1 0 0
0 0 -1 0
0 0 0 1
 Reflection about z-axis:-
x’=-x y’=-y z’=z
-1 0 0 0
0 -1 0 0
0 0 1 0
0 0 0 1
3D SHEARING
 Modify object shapes
 Useful for perspective projections
 When an object is viewed from different directions and at
different distances, the appearance of the object will be
different. Such view is called perspective view. Perspective
projections mimic what the human eyes see.
3D SHEARING
E.g. draw a cube (3D) on a screen (2D) Alter the values for x and y
by an amount proportional to the distance from zref
3D SHEARING
 Matrix for 3d shearing
 Where a and b can
Be assigned any real
Value.
Thank You
Ad

More Related Content

What's hot (20)

2 d geometric transformations
2 d geometric transformations2 d geometric transformations
2 d geometric transformations
Mohd Arif
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
SwatiHans10
 
3D Display
3D Display3D Display
3D Display
Toushik Paul
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
sabbirantor
 
Viewing transformation
Viewing transformationViewing transformation
Viewing transformation
Udayan Gupta
 
Mid point circle algorithm
Mid point circle algorithmMid point circle algorithm
Mid point circle algorithm
Mani Kanth
 
2D Transformation in Computer Graphics
2D Transformation in Computer Graphics2D Transformation in Computer Graphics
2D Transformation in Computer Graphics
A. S. M. Shafi
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
dhruv141293
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformations
Mohammad Sadiq
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
shalinikarunakaran1
 
Projections.pptx
Projections.pptxProjections.pptx
Projections.pptx
jyoti_lakhani
 
Quadric surfaces
Quadric surfacesQuadric surfaces
Quadric surfaces
Ankur Kumar
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
Ahammednayeem
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
Mohd Arif
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
ShahDhruv21
 
2D viewing & clipping
2D viewing & clipping2D viewing & clipping
2D viewing & clipping
MdAlAmin187
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
Selvakumar Gna
 
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPTHOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
Ahtesham Ullah khan
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
Mohd Arif
 
Bresenham circle
Bresenham circleBresenham circle
Bresenham circle
Taher Barodawala
 
2 d geometric transformations
2 d geometric transformations2 d geometric transformations
2 d geometric transformations
Mohd Arif
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
SwatiHans10
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
sabbirantor
 
Viewing transformation
Viewing transformationViewing transformation
Viewing transformation
Udayan Gupta
 
Mid point circle algorithm
Mid point circle algorithmMid point circle algorithm
Mid point circle algorithm
Mani Kanth
 
2D Transformation in Computer Graphics
2D Transformation in Computer Graphics2D Transformation in Computer Graphics
2D Transformation in Computer Graphics
A. S. M. Shafi
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
dhruv141293
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformations
Mohammad Sadiq
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
shalinikarunakaran1
 
Quadric surfaces
Quadric surfacesQuadric surfaces
Quadric surfaces
Ankur Kumar
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
Mohd Arif
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
ShahDhruv21
 
2D viewing & clipping
2D viewing & clipping2D viewing & clipping
2D viewing & clipping
MdAlAmin187
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
Selvakumar Gna
 
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPTHOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
Ahtesham Ullah khan
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
Mohd Arif
 

Viewers also liked (20)

3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
Ishan Parekh
 
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)
Daroko blog(www.professionalbloggertricks.com)
 
transformation 3d
transformation 3dtransformation 3d
transformation 3d
HiteshJain007
 
2 d transformations by amit kumar (maimt)
2 d transformations by amit kumar (maimt)2 d transformations by amit kumar (maimt)
2 d transformations by amit kumar (maimt)
Amit Kapoor
 
2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates
Tarun Gehlot
 
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
NANDINI SHARMA
 
Three dimensional transformations
Three dimensional transformationsThree dimensional transformations
Three dimensional transformations
Nareek
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
Mohd Arif
 
Homogeneous coordinate
Homogeneous coordinateHomogeneous coordinate
Homogeneous coordinate
Bed Dhakal
 
Projection Matrices
Projection MatricesProjection Matrices
Projection Matrices
Syed Zaid Irshad
 
CS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingCS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and Culling
Mark Kilgard
 
OpenGL Transformation
OpenGL TransformationOpenGL Transformation
OpenGL Transformation
Sandip Jadhav
 
3D transformation
3D transformation3D transformation
3D transformation
Aditya Rawat
 
Secrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics TechnologySecrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics Technology
Tiago Sousa
 
Introduction to Computer graphics
Introduction to Computer graphics Introduction to Computer graphics
Introduction to Computer graphics
PrathimaBaliga
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
Gurpreet singh
 
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)
Daroko blog(www.professionalbloggertricks.com)
 
3 d geometric transformations
3 d geometric transformations3 d geometric transformations
3 d geometric transformations
Mohd Arif
 
Display devices CRT and LCD screen
Display devices CRT and LCD screenDisplay devices CRT and LCD screen
Display devices CRT and LCD screen
Manoj Harsule
 
3 d projections
3 d projections3 d projections
3 d projections
Mohd Arif
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
Ishan Parekh
 
2 d transformations by amit kumar (maimt)
2 d transformations by amit kumar (maimt)2 d transformations by amit kumar (maimt)
2 d transformations by amit kumar (maimt)
Amit Kapoor
 
2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates
Tarun Gehlot
 
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
NANDINI SHARMA
 
Three dimensional transformations
Three dimensional transformationsThree dimensional transformations
Three dimensional transformations
Nareek
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
Mohd Arif
 
Homogeneous coordinate
Homogeneous coordinateHomogeneous coordinate
Homogeneous coordinate
Bed Dhakal
 
CS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingCS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and Culling
Mark Kilgard
 
OpenGL Transformation
OpenGL TransformationOpenGL Transformation
OpenGL Transformation
Sandip Jadhav
 
Secrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics TechnologySecrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics Technology
Tiago Sousa
 
Introduction to Computer graphics
Introduction to Computer graphics Introduction to Computer graphics
Introduction to Computer graphics
PrathimaBaliga
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
Gurpreet singh
 
3 d geometric transformations
3 d geometric transformations3 d geometric transformations
3 d geometric transformations
Mohd Arif
 
Display devices CRT and LCD screen
Display devices CRT and LCD screenDisplay devices CRT and LCD screen
Display devices CRT and LCD screen
Manoj Harsule
 
3 d projections
3 d projections3 d projections
3 d projections
Mohd Arif
 
Ad

Similar to 3d transformation computer graphics (20)

TYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptx
TYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptxTYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptx
TYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptx
Praveen156918
 
UNIT 1 2D AND 3Dtransformations hiutu h.pptx
UNIT 1 2D AND 3Dtransformations hiutu h.pptxUNIT 1 2D AND 3Dtransformations hiutu h.pptx
UNIT 1 2D AND 3Dtransformations hiutu h.pptx
Vinod Deenathayalan
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
Daffodil International University
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
Mani Kanth
 
3D transformation and viewing
3D transformation and viewing3D transformation and viewing
3D transformation and viewing
Yogita Jain
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
Pooja Dixit
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
Pooja Dixit
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformations
Amol Gaikwad
 
09transformation3d
09transformation3d09transformation3d
09transformation3d
Ketan Jani
 
2D transformations
2D transformations2D transformations
2D transformations
vijaysharma1265
 
2D-Transformations-Transformations are the operations applied to geometrical ...
2D-Transformations-Transformations are the operations applied to geometrical ...2D-Transformations-Transformations are the operations applied to geometrical ...
2D-Transformations-Transformations are the operations applied to geometrical ...
BINJAD1
 
Virtual reality
Virtual realityVirtual reality
Virtual reality
ReachLocal Services India
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
Muhammed Afsal Villan
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transform
Patel Punit
 
Three dimensional graphics
Three dimensional graphicsThree dimensional graphics
Three dimensional graphics
sonangrai
 
computer graphic.pptx
computer graphic.pptxcomputer graphic.pptx
computer graphic.pptx
ujjwalmatoliya
 
2d-transformation
2d-transformation2d-transformation
2d-transformation
Pooja Dixit
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
Nareek
 
Transforms UNIt 2
Transforms UNIt 2 Transforms UNIt 2
Transforms UNIt 2
sandeep kumbhkar
 
04transformation2d
04transformation2d04transformation2d
04transformation2d
Ketan Jani
 
TYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptx
TYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptxTYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptx
TYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptx
Praveen156918
 
UNIT 1 2D AND 3Dtransformations hiutu h.pptx
UNIT 1 2D AND 3Dtransformations hiutu h.pptxUNIT 1 2D AND 3Dtransformations hiutu h.pptx
UNIT 1 2D AND 3Dtransformations hiutu h.pptx
Vinod Deenathayalan
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
Mani Kanth
 
3D transformation and viewing
3D transformation and viewing3D transformation and viewing
3D transformation and viewing
Yogita Jain
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
Pooja Dixit
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
Pooja Dixit
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformations
Amol Gaikwad
 
09transformation3d
09transformation3d09transformation3d
09transformation3d
Ketan Jani
 
2D-Transformations-Transformations are the operations applied to geometrical ...
2D-Transformations-Transformations are the operations applied to geometrical ...2D-Transformations-Transformations are the operations applied to geometrical ...
2D-Transformations-Transformations are the operations applied to geometrical ...
BINJAD1
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
Muhammed Afsal Villan
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transform
Patel Punit
 
Three dimensional graphics
Three dimensional graphicsThree dimensional graphics
Three dimensional graphics
sonangrai
 
2d-transformation
2d-transformation2d-transformation
2d-transformation
Pooja Dixit
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
Nareek
 
04transformation2d
04transformation2d04transformation2d
04transformation2d
Ketan Jani
 
Ad

More from University of Potsdam (20)

Computer fundamentals 01
Computer fundamentals 01Computer fundamentals 01
Computer fundamentals 01
University of Potsdam
 
Workshop on android apps development
Workshop on android apps developmentWorkshop on android apps development
Workshop on android apps development
University of Potsdam
 
Transparency and concurrency
Transparency and concurrencyTransparency and concurrency
Transparency and concurrency
University of Potsdam
 
Database System Architecture
Database System ArchitectureDatabase System Architecture
Database System Architecture
University of Potsdam
 
Functional dependency and normalization
Functional dependency and normalizationFunctional dependency and normalization
Functional dependency and normalization
University of Potsdam
 
indexing and hashing
indexing and hashingindexing and hashing
indexing and hashing
University of Potsdam
 
data recovery-raid
data recovery-raiddata recovery-raid
data recovery-raid
University of Potsdam
 
Query processing
Query processingQuery processing
Query processing
University of Potsdam
 
Machine Learning for Data Mining
Machine Learning for Data MiningMachine Learning for Data Mining
Machine Learning for Data Mining
University of Potsdam
 
Tree, function and graph
Tree, function and graphTree, function and graph
Tree, function and graph
University of Potsdam
 
Sonet
SonetSonet
Sonet
University of Potsdam
 
Sets in discrete mathematics
Sets in discrete mathematicsSets in discrete mathematics
Sets in discrete mathematics
University of Potsdam
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
University of Potsdam
 
Series parallel ac rlc networks
Series parallel ac rlc networksSeries parallel ac rlc networks
Series parallel ac rlc networks
University of Potsdam
 
Series parallel ac networks
Series parallel ac networksSeries parallel ac networks
Series parallel ac networks
University of Potsdam
 
Relations
RelationsRelations
Relations
University of Potsdam
 
Relations
RelationsRelations
Relations
University of Potsdam
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
University of Potsdam
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
University of Potsdam
 
Prim algorithm
Prim algorithmPrim algorithm
Prim algorithm
University of Potsdam
 

Recently uploaded (20)

pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
SPRING FESTIVITIES - UK AND USA -
SPRING FESTIVITIES - UK AND USA            -SPRING FESTIVITIES - UK AND USA            -
SPRING FESTIVITIES - UK AND USA -
Colégio Santa Teresinha
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 

3d transformation computer graphics

  • 2. CONTENTS  Transformation  Types of transformation  Why we use transformation  3D Transformation  3D Translation  3D Rotation  3D Scaling  3D Reflection  3D Shearing
  • 3. TRANSFORMATION  Transformations are a fundamental part of the computer graphics. Transformations are the movement of the object in Cartesian plane .
  • 4. TYPES OF TRANSFORMATION  There are two types of transformation in computer graphics. 1) 2D transformation 2) 3D transformation  Types of 2D and 3D transformation 1) Translation 2) Rotation 3) Scaling 4) Shearing 5) Mirror reflection
  • 5. WHY WE USE TRANSFORMATION  Transformation are used to position objects , to shape object , to change viewing positions , and even how something is viewed.  In simple words transformation is used for 1) Modeling 2) viewing
  • 6. 3D TRANSFORMATION  When the transformation takes place on a 3D plane .it is called 3D transformation.  Generalize from 2D by including z coordinate Straight forward for translation and scale, rotation more difficult Homogeneous coordinates: 4 components Transformation matrices: 4×4 elements             1000 z y x tihg tfed tcba
  • 7. 3D TRANSLATION  Moving of object is called translation.  In 3 dimensional homogeneous coordinate representation , a point is transformed from position P = ( x, y , z) to P’=( x’, y’, z’)  This can be written as:- Using P’ = T . P                                          11000 100 010 001 1 z y x t t t z y x z y x
  • 8. 3D TRANSLATION  The matrix representation is equivalent to the three equation. x’=x+ tx , y’=y+ ty , z’=z+ tz Where parameter tx , ty , tz are specifying translation distance for the coordinate direction x , y , z are assigned any real value.
  • 9. 3D ROTATION Where an object is to be rotated about an axis that is parallel to one of the coordinate axis, we can obtain the desired rotation with the following transformation sequence. Coordinate axis rotation Z- axis Rotation(Roll) Y-axis Rotation(Yaw) X-axis Rotation(Pitch)
  • 10. COORDINATE AXIS ROTATION  Obtain rotations around other axes through cyclic permutation of coordinate parameters: xzyx 
  • 11. X-AXIS ROTATION The equation for X-axis rotation x’ = x y’ = y cosθ – z sinθ z’ = y sinθ + z cosθ                                         11000 0cossin0 0sincos0 0001 1 ' ' ' z y x z y x
  • 12. Y-AXIS ROTATION The equation for Y-axis rotaion x’ = x cosθ + z sinθ y’ = y z’ = z cosθ - x sinθ                                         11000 0cos0sin 0010 0sin0cos 1 ' ' ' z y x z y x
  • 13. The equation for Y-axis rotaion x’ = x cosθ – y sinθ y’ = x sinθ + y cosθ z’ = z Z-AXIS ROTATION                                        11000 0100 00cossin 00sincos 1 ' ' ' z y x z y x  
  • 14. 3D SCALING  Changes the size of the object and repositions the object relative to the coordinate origin.                                          11000 000 000 000 1 z y x s s s z y x z y x
  • 15. 3D SCALING  The equations for scaling x’ = x . sx Ssx,sy,sz y’ = y . sy z’ = z . sz
  • 16. 3D REFLECTION  Reflection in computer graphics is used to emulate reflective objects like mirrors and shiny surfaces  Reflection may be an x-axis y-axis , z-axis. and also in the planes xy-plane,yz-plane , and zx-plane. Reflection relative to a given Axis are equivalent to 180 Degree rotations
  • 17. 3D REFLECTION  Reflection about x-axis:- x’=x y’=-y z’=-z 1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 Reflection about y-axis:- y’=y x’=-x z’=-z
  • 18. 3D REFLECTION  The matrix for reflection about y-axis:- -1 0 0 0 0 1 0 0 0 0 -1 0 0 0 0 1  Reflection about z-axis:- x’=-x y’=-y z’=z -1 0 0 0 0 -1 0 0 0 0 1 0 0 0 0 1
  • 19. 3D SHEARING  Modify object shapes  Useful for perspective projections  When an object is viewed from different directions and at different distances, the appearance of the object will be different. Such view is called perspective view. Perspective projections mimic what the human eyes see.
  • 20. 3D SHEARING E.g. draw a cube (3D) on a screen (2D) Alter the values for x and y by an amount proportional to the distance from zref
  • 21. 3D SHEARING  Matrix for 3d shearing  Where a and b can Be assigned any real Value.