SlideShare a Scribd company logo
7
Most read
11
Most read
17
Most read
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

More Related Content

What's hot (20)

PPTX
Computer graphics LINE DRAWING algorithm.pptx
R S Anu Prabha
 
PDF
Unit 3
ypnrao
 
PPTX
UNIT-IV
VarthiniRamesh
 
PPTX
Cohen sutherland line clipping
Mani Kanth
 
PPTX
Projections.pptx
jyoti_lakhani
 
PPTX
3 d display methods
Shami Al Rahad
 
PPT
Polygon clipping
Mohd Arif
 
PPTX
Mid point circle algorithm
Mani Kanth
 
PPTX
3D Graphics : Computer Graphics Fundamentals
Muhammed Afsal Villan
 
PPTX
BRESENHAM’S LINE DRAWING ALGORITHM
St Mary's College,Thrissur,Kerala
 
PPTX
3D Transformation in Computer Graphics
sabbirantor
 
PPTX
Back face detection
Pooja Dixit
 
PPT
Three dimensional concepts - Computer Graphics
Kongunadu College of engineering and Technology, Namakkal
 
PPTX
Clipping
AMIT VIRAMGAMI
 
PPTX
Computer graphics basic transformation
Selvakumar Gna
 
PPTX
Polygon filling algorithm
Aparna Joshi
 
PPT
3 d geometric transformations
Mohd Arif
 
PPTX
Circle generation algorithm
Ankit Garg
 
PDF
4. THREE DIMENSIONAL DISPLAY METHODS
SanthiNivas
 
PPTX
Depth Buffer Method
Ummiya Mohammedi
 
Computer graphics LINE DRAWING algorithm.pptx
R S Anu Prabha
 
Unit 3
ypnrao
 
Cohen sutherland line clipping
Mani Kanth
 
Projections.pptx
jyoti_lakhani
 
3 d display methods
Shami Al Rahad
 
Polygon clipping
Mohd Arif
 
Mid point circle algorithm
Mani Kanth
 
3D Graphics : Computer Graphics Fundamentals
Muhammed Afsal Villan
 
BRESENHAM’S LINE DRAWING ALGORITHM
St Mary's College,Thrissur,Kerala
 
3D Transformation in Computer Graphics
sabbirantor
 
Back face detection
Pooja Dixit
 
Three dimensional concepts - Computer Graphics
Kongunadu College of engineering and Technology, Namakkal
 
Clipping
AMIT VIRAMGAMI
 
Computer graphics basic transformation
Selvakumar Gna
 
Polygon filling algorithm
Aparna Joshi
 
3 d geometric transformations
Mohd Arif
 
Circle generation algorithm
Ankit Garg
 
4. THREE DIMENSIONAL DISPLAY METHODS
SanthiNivas
 
Depth Buffer Method
Ummiya Mohammedi
 

Viewers also liked (20)

PPTX
3D Geometric Transformations
Ishan Parekh
 
PPT
2d/3D transformations in computer graphics(Computer graphics Tutorials)
Daroko blog(www.professionalbloggertricks.com)
 
PPT
transformation 3d
HiteshJain007
 
PPT
2 d transformations by amit kumar (maimt)
Amit Kapoor
 
PPTX
2 d transformations and homogeneous coordinates
Tarun Gehlot
 
PDF
Notes 2D-Transformation Unit 2 Computer graphics
NANDINI SHARMA
 
PPTX
Three dimensional transformations
Nareek
 
PPT
Composite transformations
Mohd Arif
 
DOCX
Homogeneous coordinate
Bed Dhakal
 
PPT
Projection Matrices
Syed Zaid Irshad
 
PPT
CS 354 Transformation, Clipping, and Culling
Mark Kilgard
 
PDF
OpenGL Transformation
Sandip Jadhav
 
PPT
3D transformation
Aditya Rawat
 
PPT
Secrets of CryENGINE 3 Graphics Technology
Tiago Sousa
 
PPTX
Introduction to Computer graphics
PrathimaBaliga
 
PDF
Computer Graphics Notes
Gurpreet singh
 
PPT
2 d geometric transformations
Mohd Arif
 
PPT
lecture1 introduction to computer graphics(Computer graphics tutorials)
Daroko blog(www.professionalbloggertricks.com)
 
PPTX
Display devices CRT and LCD screen
Manoj Harsule
 
PPT
3 d projections
Mohd Arif
 
3D Geometric Transformations
Ishan Parekh
 
2d/3D transformations in computer graphics(Computer graphics Tutorials)
Daroko blog(www.professionalbloggertricks.com)
 
transformation 3d
HiteshJain007
 
2 d transformations by amit kumar (maimt)
Amit Kapoor
 
2 d transformations and homogeneous coordinates
Tarun Gehlot
 
Notes 2D-Transformation Unit 2 Computer graphics
NANDINI SHARMA
 
Three dimensional transformations
Nareek
 
Composite transformations
Mohd Arif
 
Homogeneous coordinate
Bed Dhakal
 
Projection Matrices
Syed Zaid Irshad
 
CS 354 Transformation, Clipping, and Culling
Mark Kilgard
 
OpenGL Transformation
Sandip Jadhav
 
3D transformation
Aditya Rawat
 
Secrets of CryENGINE 3 Graphics Technology
Tiago Sousa
 
Introduction to Computer graphics
PrathimaBaliga
 
Computer Graphics Notes
Gurpreet singh
 
2 d geometric transformations
Mohd Arif
 
lecture1 introduction to computer graphics(Computer graphics tutorials)
Daroko blog(www.professionalbloggertricks.com)
 
Display devices CRT and LCD screen
Manoj Harsule
 
3 d projections
Mohd Arif
 
Ad

Similar to 3d transformation computer graphics (20)

PPTX
3D Transformation
Ahammednayeem
 
PPTX
TYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptx
Praveen156918
 
PPTX
UNIT 1 2D AND 3Dtransformations hiutu h.pptx
Vinod Deenathayalan
 
PPT
Transformations Matrix Representations-2.ppt
sindhupriya344409
 
PPTX
Computer graphics presentation
Daffodil International University
 
PPTX
3 d transformation
Mani Kanth
 
PDF
3D transformation and viewing
Yogita Jain
 
PPTX
3 d transformation
Pooja Dixit
 
PPTX
3 d transformation
Pooja Dixit
 
PDF
Unit-3 overview of transformations
Amol Gaikwad
 
PPT
09transformation3d
Ketan Jani
 
PPTX
2D transformations
vijaysharma1265
 
PPT
2D-Transformations-Transformations are the operations applied to geometrical ...
BINJAD1
 
PPTX
Virtual reality
ReachLocal Services India
 
PPT
Two dimentional transform
Patel Punit
 
PPTX
Three dimensional graphics
sonangrai
 
PPTX
computer graphic.pptx
ujjwalmatoliya
 
PPTX
2d-transformation
Pooja Dixit
 
PPTX
Two dimensionaltransformations
Nareek
 
PPT
Transforms UNIt 2
sandeep kumbhkar
 
3D Transformation
Ahammednayeem
 
TYPES OF TRANSFORMATIONS IN COMPUTER GRAPHICS.pptx
Praveen156918
 
UNIT 1 2D AND 3Dtransformations hiutu h.pptx
Vinod Deenathayalan
 
Transformations Matrix Representations-2.ppt
sindhupriya344409
 
Computer graphics presentation
Daffodil International University
 
3 d transformation
Mani Kanth
 
3D transformation and viewing
Yogita Jain
 
3 d transformation
Pooja Dixit
 
3 d transformation
Pooja Dixit
 
Unit-3 overview of transformations
Amol Gaikwad
 
09transformation3d
Ketan Jani
 
2D transformations
vijaysharma1265
 
2D-Transformations-Transformations are the operations applied to geometrical ...
BINJAD1
 
Virtual reality
ReachLocal Services India
 
Two dimentional transform
Patel Punit
 
Three dimensional graphics
sonangrai
 
computer graphic.pptx
ujjwalmatoliya
 
2d-transformation
Pooja Dixit
 
Two dimensionaltransformations
Nareek
 
Transforms UNIt 2
sandeep kumbhkar
 
Ad

More from University of Potsdam (20)

PPTX
Computer fundamentals 01
University of Potsdam
 
PPTX
Workshop on android apps development
University of Potsdam
 
PDF
Transparency and concurrency
University of Potsdam
 
PDF
Database System Architecture
University of Potsdam
 
PDF
Functional dependency and normalization
University of Potsdam
 
PDF
indexing and hashing
University of Potsdam
 
PDF
data recovery-raid
University of Potsdam
 
PDF
Query processing
University of Potsdam
 
PDF
Machine Learning for Data Mining
University of Potsdam
 
PPTX
Tree, function and graph
University of Potsdam
 
PDF
Sets in discrete mathematics
University of Potsdam
 
PPT
Set in discrete mathematics
University of Potsdam
 
PPT
Series parallel ac rlc networks
University of Potsdam
 
PPT
Series parallel ac networks
University of Potsdam
 
PPT
Relations
University of Potsdam
 
PDF
Relations
University of Potsdam
 
PPT
Propositional logic
University of Potsdam
 
PDF
Propositional logic
University of Potsdam
 
PDF
Prim algorithm
University of Potsdam
 
Computer fundamentals 01
University of Potsdam
 
Workshop on android apps development
University of Potsdam
 
Transparency and concurrency
University of Potsdam
 
Database System Architecture
University of Potsdam
 
Functional dependency and normalization
University of Potsdam
 
indexing and hashing
University of Potsdam
 
data recovery-raid
University of Potsdam
 
Query processing
University of Potsdam
 
Machine Learning for Data Mining
University of Potsdam
 
Tree, function and graph
University of Potsdam
 
Sets in discrete mathematics
University of Potsdam
 
Set in discrete mathematics
University of Potsdam
 
Series parallel ac rlc networks
University of Potsdam
 
Series parallel ac networks
University of Potsdam
 
Propositional logic
University of Potsdam
 
Propositional logic
University of Potsdam
 
Prim algorithm
University of Potsdam
 

Recently uploaded (20)

PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPTX
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
PPTX
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPTX
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 

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.