SlideShare a Scribd company logo
OUR PRESENTATION ON
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

Back face detection
Back face detectionBack face detection
Back face detection
Pooja Dixit
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
Timbal Mayank
 
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 curves and surfaces (1)
Computer graphics curves and surfaces (1)Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)
RohitK71
 
Spline representations
Spline representationsSpline representations
Spline representations
Nikhil krishnan
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
Mohammed Mahmoud
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
Selvakumar Gna
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
Kamal Acharya
 
Composite transformations
Composite transformationsComposite transformations
Composite transformationsMohd Arif
 
Composite transformation
Composite transformationComposite transformation
Composite transformation
Pooja Dixit
 
Video display devices
Video display devicesVideo display devices
Video display devicesMohd Arif
 
Dda algorithm
Dda algorithmDda algorithm
Dda algorithm
Mani Kanth
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphics
Safayet Hossain
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
ShahDhruv21
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
Mani Kanth
 
Unit 3
Unit 3Unit 3
Unit 3
ypnrao
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformationsMohammad Sadiq
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
2013901097
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
Ummiya Mohammedi
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
Muhammed Afsal Villan
 

What's hot (20)

Back face detection
Back face detectionBack face detection
Back face detection
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
 
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 curves and surfaces (1)
Computer graphics curves and surfaces (1)Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)
 
Spline representations
Spline representationsSpline representations
Spline representations
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
 
Composite transformation
Composite transformationComposite transformation
Composite transformation
 
Video display devices
Video display devicesVideo display devices
Video display devices
 
Dda algorithm
Dda algorithmDda algorithm
Dda algorithm
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphics
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
 
Unit 3
Unit 3Unit 3
Unit 3
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformations
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
 

Similar to 3D Transformation

3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics
University of Potsdam
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
Ahammednayeem
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
Daffodil International University
 
3D transformation and viewing
3D transformation and viewing3D transformation and viewing
3D transformation and viewing
Yogita Jain
 
Three dimensional transformations
Three dimensional transformationsThree dimensional transformations
Three dimensional transformations
Nareek
 
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
09transformation3dKetan Jani
 
transformation 3d
transformation 3dtransformation 3d
transformation 3d
HiteshJain007
 
Three dimensional graphics
Three dimensional graphicsThree dimensional graphics
Three dimensional graphics
sonangrai
 
2D transformations
2D transformations2D transformations
2D transformations
vijaysharma1265
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
Ishan Parekh
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transform
Patel Punit
 
Virtual reality
Virtual realityVirtual reality
Virtual reality
ReachLocal Services India
 
computer graphic.pptx
computer graphic.pptxcomputer graphic.pptx
computer graphic.pptx
ujjwalmatoliya
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
Nareek
 
Transforms UNIt 2
Transforms UNIt 2 Transforms UNIt 2
Transforms UNIt 2
sandeep kumbhkar
 
04transformation2d
04transformation2d04transformation2d
04transformation2dKetan Jani
 
seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation
9784
 

Similar to 3D Transformation (20)

3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
 
3D transformation and viewing
3D transformation and viewing3D transformation and viewing
3D transformation and viewing
 
Three dimensional transformations
Three dimensional transformationsThree dimensional transformations
Three dimensional transformations
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformations
 
09transformation3d
09transformation3d09transformation3d
09transformation3d
 
transformation 3d
transformation 3dtransformation 3d
transformation 3d
 
Three dimensional graphics
Three dimensional graphicsThree dimensional graphics
Three dimensional graphics
 
2D transformations
2D transformations2D transformations
2D transformations
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transform
 
Virtual reality
Virtual realityVirtual reality
Virtual reality
 
computer graphic.pptx
computer graphic.pptxcomputer graphic.pptx
computer graphic.pptx
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
 
Transforms UNIt 2
Transforms UNIt 2 Transforms UNIt 2
Transforms UNIt 2
 
04transformation2d
04transformation2d04transformation2d
04transformation2d
 
seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation
 

More from Mahmudul Hasan

Java Basic
Java Basic Java Basic
Java Basic
Mahmudul Hasan
 
Image Restoration
Image Restoration Image Restoration
Image Restoration
Mahmudul Hasan
 
Data Mining Zoo classification
Data Mining Zoo classificationData Mining Zoo classification
Data Mining Zoo classification
Mahmudul Hasan
 
Rgb&amp
Rgb&ampRgb&amp
Anti aliasing
Anti aliasingAnti aliasing
Anti aliasing
Mahmudul Hasan
 
Curve modeling-bezier-curves
Curve modeling-bezier-curvesCurve modeling-bezier-curves
Curve modeling-bezier-curves
Mahmudul Hasan
 
3 d display-methods
3 d display-methods3 d display-methods
3 d display-methods
Mahmudul Hasan
 
Arduino RFID Module (RC522) & Buzzer Access System
Arduino RFID Module (RC522) & Buzzer Access SystemArduino RFID Module (RC522) & Buzzer Access System
Arduino RFID Module (RC522) & Buzzer Access System
Mahmudul Hasan
 
Basics and different xml files used in android
Basics and different xml files used in androidBasics and different xml files used in android
Basics and different xml files used in android
Mahmudul Hasan
 
Antialiasing
AntialiasingAntialiasing
Antialiasing
Mahmudul Hasan
 
e-commerce web site project
e-commerce web site projecte-commerce web site project
e-commerce web site project
Mahmudul Hasan
 
COST-VOLUME-PROFIT RELATIONSHIPS
COST-VOLUME-PROFIT RELATIONSHIPSCOST-VOLUME-PROFIT RELATIONSHIPS
COST-VOLUME-PROFIT RELATIONSHIPS
Mahmudul Hasan
 
Encoder
EncoderEncoder

More from Mahmudul Hasan (13)

Java Basic
Java Basic Java Basic
Java Basic
 
Image Restoration
Image Restoration Image Restoration
Image Restoration
 
Data Mining Zoo classification
Data Mining Zoo classificationData Mining Zoo classification
Data Mining Zoo classification
 
Rgb&amp
Rgb&ampRgb&amp
Rgb&amp
 
Anti aliasing
Anti aliasingAnti aliasing
Anti aliasing
 
Curve modeling-bezier-curves
Curve modeling-bezier-curvesCurve modeling-bezier-curves
Curve modeling-bezier-curves
 
3 d display-methods
3 d display-methods3 d display-methods
3 d display-methods
 
Arduino RFID Module (RC522) & Buzzer Access System
Arduino RFID Module (RC522) & Buzzer Access SystemArduino RFID Module (RC522) & Buzzer Access System
Arduino RFID Module (RC522) & Buzzer Access System
 
Basics and different xml files used in android
Basics and different xml files used in androidBasics and different xml files used in android
Basics and different xml files used in android
 
Antialiasing
AntialiasingAntialiasing
Antialiasing
 
e-commerce web site project
e-commerce web site projecte-commerce web site project
e-commerce web site project
 
COST-VOLUME-PROFIT RELATIONSHIPS
COST-VOLUME-PROFIT RELATIONSHIPSCOST-VOLUME-PROFIT RELATIONSHIPS
COST-VOLUME-PROFIT RELATIONSHIPS
 
Encoder
EncoderEncoder
Encoder
 

Recently uploaded

Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 

Recently uploaded (20)

Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 

3D Transformation

  • 1.
  • 2. OUR PRESENTATION ON 3D TRANSFORMATION
  • 3. CONTENTS  Transformation  Types of transformation  Why we use transformation  3D Transformation  3D Translation  3D Rotation  3D Scaling  3D Reflection  3D Shearing
  • 4. TRANSFORMATION  Transformations are a fundamental part of the computer graphics. Transformations are the movement of the object in Cartesian plane .
  • 5. 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
  • 6. 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
  • 7. 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
  • 8. 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
  • 9. 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.
  • 10. 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)
  • 11. COORDINATE AXIS ROTATION  Obtain rotations around other axes through cyclic permutation of coordinate parameters: xzyx 
  • 12. 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
  • 13. 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
  • 14. 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  
  • 15. 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
  • 16. 3D SCALING  The equations for scaling x’ = x . sx Ssx,sy,sz y’ = y . sy z’ = z . sz
  • 17. 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
  • 18. 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
  • 19. 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
  • 20. 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.
  • 21. 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
  • 22. 3D SHEARING  Matrix for 3d shearing  Where a and b can Be assigned any real Value.