SlideShare a Scribd company logo
6
Most read
11
Most read
12
Most read
140050119028 Kanani
Manthan
Faculty,
Ankur Patel
CONTENT
 GEMETRIC TRANSFORMATION
 HOMOGENEOUS REPRESENTATION
 2D AND 3D ROTATING AND SHEARING
 ROTATING ABOUT ARBITARY POINT AND LINE
 SHEARING ABOUT X(2D) ,XY(3D), AXIS
GEOMETRIC TRANSFORMATION
 All changes performed on the graphic image are done
by changing the database of the original picture.
These changes are called as transformations.
 Transformations allow the user to uniformly change
the entire picture. An object created by the user is
stored in the form of a database. If the database,
which represents the object, is changed, the object
also would change. This method is used to alter the
orientation, scale, position of the drawing.
HOMOGENEOUS
REPRESENTATIONS
 Many a times it becomes necessary to combine the
above mentioned individual transformations in order
to achieve the required results. In such cases the
combined transformation matrix can be obtained by
multiplying the respective transformation matrices.
 However, care should to be taken that the order of the
matrix multiplication be done in the same way as that
of the transformations as follows.
 [P*] = [Tn] [Tn – 1] [Tn – 2+ ……..*T3] [T2] [T1]
ROTATION ABOUT POINT
 The transformation given earlier for rotation is about
the origin of the axes system. It may sometimes be
necessary to get the rotation about any arbitrary base
point as shown in Fig. 4.5. To derive the necessary
transformation matrix, the following complex
procedure comprising the followin1g three points
would be required.
 Translate the point A to O, the origin of the axes system.
 Rotate the object by the given angle.
 Translate the point back to its original position.
 The transformation matrices for the above operations
in the given sequence are the following.
ROTATION
 Similar to the above, there are times when the reflection is
to be taken about an arbitrary line as shown in Fig. 4.6.
 Translate the mirror line along Y axis such that line passes
through the origin, O.
 Rotate the mirror line such that it coincides with the X axis.
 Mirror the object through the X axis.
 Rotate the mirror line back to the original angle with X
axis.
 Translate the mirror line along the Y axis back to the
original position.
ROTATION ABOUT LINE
ROTATION
SHEARING
 A transformation that distorts the shape of an object
such that the transformed shape appears as if the
object were composed of internal layers that had been
caused to slide over each other is called a shear.
2D SHEARING
 Two common shearing transformations are those that
shift coordinate x values and those that shift y values.
 An x-direction shear relative to the x axis is produced
with the transformation matrix
 Any real number can be assigned to the shear
parameter shx. A coordinate position (x, y) is then
shifted horizontally by an amount proportional to its
distance (y value) from the x axis (y = 0).
 Setting shx to 2, for example, changes the square in Fig.
into a parallelogram. Negative values for shx shift
coordinate positions to the left.
SHEARING ABOUT X AXIS
SHEARING ABOUT XY AXIS
•We can generate x-direction shears relative to
other reference lines with coordinate positions
transformed as
x’ = x + shx (y – yref), y’ = y ……..(eq)
•An example of this shearing transformation is given
in Fig. for a shear parameter value of 1 /2 relative to
the line yref = –1.
3D SHEARING
 In two dimensions, transformations relative to the x or
y axes to produce distortions in the shapes of objects.
In three dimensions, we can also generate shears
relative to the z axis.
SHEARING ABOUT XY AXIS
 Parameters a and b can be assigned any
real values. The effect of this
transformation matrix is to alter x- and
y-coordinate values by an amount that is
proportional to the z value, while
leaving the z coordinate unchanged.
 Boundaries of planes that are
perpendicular to the z axis are thus
shifted by an amount proportional to z.
An example of the effect of this shearing
matrix on a unit cube is shown in Fig.,
for shearing values a=b=1. Shearing
matrices for the x axis and y axis are
defined similarly.
Homogeneous Representation: rotating, shearing

More Related Content

PPTX
Reflection transformation
PPT
Composite transformations
PPTX
Back face detection
PPTX
Image Acquisition and Representation
PPTX
Frame buffer
PPTX
Raster animation
PPT
Two dimensional geometric transformations
PPTX
3D transformation in computer graphics
Reflection transformation
Composite transformations
Back face detection
Image Acquisition and Representation
Frame buffer
Raster animation
Two dimensional geometric transformations
3D transformation in computer graphics

What's hot (20)

PPTX
3d transformation computer graphics
PPT
2D transformation (Computer Graphics)
PDF
2D Transformation in Computer Graphics
PPTX
Projections.pptx
PPTX
digital image processing
PPTX
Transformations computer graphics
PPTX
Ray tracing
PPTX
Computer graphics realism
PDF
Lecture 4 Relationship between pixels
PPT
2 d transformations by amit kumar (maimt)
PPTX
Concept of basic illumination model
PPTX
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
PPTX
Output primitives in Computer Graphics
PDF
Digital Image Processing: Image Enhancement in the Frequency Domain
PPTX
Image processing second unit Notes
PPTX
1.arithmetic & logical operations
PPTX
Color Models Computer Graphics
PPTX
Mid point circle algorithm
PPTX
Computer graphics
3d transformation computer graphics
2D transformation (Computer Graphics)
2D Transformation in Computer Graphics
Projections.pptx
digital image processing
Transformations computer graphics
Ray tracing
Computer graphics realism
Lecture 4 Relationship between pixels
2 d transformations by amit kumar (maimt)
Concept of basic illumination model
HOMOGENEOUS CO-ORDINATES IN COMPUTER GRAPHICS PPT
Output primitives in Computer Graphics
Digital Image Processing: Image Enhancement in the Frequency Domain
Image processing second unit Notes
1.arithmetic & logical operations
Color Models Computer Graphics
Mid point circle algorithm
Computer graphics
Ad

Similar to Homogeneous Representation: rotating, shearing (20)

PPT
transformation IT.ppt
PPTX
Presentation3(UNIT-3) presentation of std
PPT
Two dimentional transform
PPTX
2D transformations
PPTX
computer graphic.pptx
PPTX
3D Transformation in Computer Graphics
PDF
CG 2D Transformation
PDF
2D Transformations(Computer Graphics)
PPT
2 d geometric transformations
PDF
2-D Transformations.pdf
PDF
3D Transformation
PPTX
Matrix of linear transformation 1.9-dfs
PPTX
CG 5.2 3D trabnvbnvmjvmfjvmfjnsformation.pptx
PPTX
3D Transformation
PPTX
Computer Graphics Presentation Engg.pptx
PPT
Hearn and Baker 2 D transformations
PPTX
2D- Transformation
PPT
Geometric transformation cg
PPT
2d transformations
PDF
2D Transformation.pdf
transformation IT.ppt
Presentation3(UNIT-3) presentation of std
Two dimentional transform
2D transformations
computer graphic.pptx
3D Transformation in Computer Graphics
CG 2D Transformation
2D Transformations(Computer Graphics)
2 d geometric transformations
2-D Transformations.pdf
3D Transformation
Matrix of linear transformation 1.9-dfs
CG 5.2 3D trabnvbnvmjvmfjvmfjnsformation.pptx
3D Transformation
Computer Graphics Presentation Engg.pptx
Hearn and Baker 2 D transformations
2D- Transformation
Geometric transformation cg
2d transformations
2D Transformation.pdf
Ad

More from Manthan Kanani (10)

PPTX
Micro-Macro Motion Study
PPTX
Merchant Circle Diagram
PPT
Force Damped Vibrations
PPTX
Simple And Automobile Carburator
PPTX
Plastic Process and Processing Parameter
PPTX
2nd law of thermodynamic
PPTX
Hydaulic ram
PPTX
Static Force Analysis
PPTX
Time Response Analysis
PPT
Extended surface fins
Micro-Macro Motion Study
Merchant Circle Diagram
Force Damped Vibrations
Simple And Automobile Carburator
Plastic Process and Processing Parameter
2nd law of thermodynamic
Hydaulic ram
Static Force Analysis
Time Response Analysis
Extended surface fins

Recently uploaded (20)

PDF
SEVA- Fashion designing-Presentation.pdf
PDF
Urban Design Final Project-Site Analysis
PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PDF
Phone away, tabs closed: No multitasking
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
PPTX
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
PPTX
rapid fire quiz in your house is your india.pptx
PPTX
An introduction to AI in research and reference management
PPTX
12. Community Pharmacy and How to organize it
DOCX
actividad 20% informatica microsoft project
PDF
BRANDBOOK-Presidential Award Scheme-Kenya-2023
PDF
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
PPTX
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
PDF
Interior Structure and Construction A1 NGYANQI
PPTX
Entrepreneur intro, origin, process, method
PDF
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
PPTX
joggers park landscape assignment bandra
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
SEVA- Fashion designing-Presentation.pdf
Urban Design Final Project-Site Analysis
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
Phone away, tabs closed: No multitasking
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
rapid fire quiz in your house is your india.pptx
An introduction to AI in research and reference management
12. Community Pharmacy and How to organize it
actividad 20% informatica microsoft project
BRANDBOOK-Presidential Award Scheme-Kenya-2023
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
Interior Structure and Construction A1 NGYANQI
Entrepreneur intro, origin, process, method
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
joggers park landscape assignment bandra
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
YV PROFILE PROJECTS PROFILE PRES. DESIGN
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY

Homogeneous Representation: rotating, shearing

  • 2. CONTENT  GEMETRIC TRANSFORMATION  HOMOGENEOUS REPRESENTATION  2D AND 3D ROTATING AND SHEARING  ROTATING ABOUT ARBITARY POINT AND LINE  SHEARING ABOUT X(2D) ,XY(3D), AXIS
  • 3. GEOMETRIC TRANSFORMATION  All changes performed on the graphic image are done by changing the database of the original picture. These changes are called as transformations.  Transformations allow the user to uniformly change the entire picture. An object created by the user is stored in the form of a database. If the database, which represents the object, is changed, the object also would change. This method is used to alter the orientation, scale, position of the drawing.
  • 4. HOMOGENEOUS REPRESENTATIONS  Many a times it becomes necessary to combine the above mentioned individual transformations in order to achieve the required results. In such cases the combined transformation matrix can be obtained by multiplying the respective transformation matrices.  However, care should to be taken that the order of the matrix multiplication be done in the same way as that of the transformations as follows.  [P*] = [Tn] [Tn – 1] [Tn – 2+ ……..*T3] [T2] [T1]
  • 5. ROTATION ABOUT POINT  The transformation given earlier for rotation is about the origin of the axes system. It may sometimes be necessary to get the rotation about any arbitrary base point as shown in Fig. 4.5. To derive the necessary transformation matrix, the following complex procedure comprising the followin1g three points would be required.  Translate the point A to O, the origin of the axes system.  Rotate the object by the given angle.  Translate the point back to its original position.  The transformation matrices for the above operations in the given sequence are the following.
  • 7.  Similar to the above, there are times when the reflection is to be taken about an arbitrary line as shown in Fig. 4.6.  Translate the mirror line along Y axis such that line passes through the origin, O.  Rotate the mirror line such that it coincides with the X axis.  Mirror the object through the X axis.  Rotate the mirror line back to the original angle with X axis.  Translate the mirror line along the Y axis back to the original position. ROTATION ABOUT LINE
  • 9. SHEARING  A transformation that distorts the shape of an object such that the transformed shape appears as if the object were composed of internal layers that had been caused to slide over each other is called a shear.
  • 10. 2D SHEARING  Two common shearing transformations are those that shift coordinate x values and those that shift y values.  An x-direction shear relative to the x axis is produced with the transformation matrix  Any real number can be assigned to the shear parameter shx. A coordinate position (x, y) is then shifted horizontally by an amount proportional to its distance (y value) from the x axis (y = 0).  Setting shx to 2, for example, changes the square in Fig. into a parallelogram. Negative values for shx shift coordinate positions to the left.
  • 12. SHEARING ABOUT XY AXIS •We can generate x-direction shears relative to other reference lines with coordinate positions transformed as x’ = x + shx (y – yref), y’ = y ……..(eq) •An example of this shearing transformation is given in Fig. for a shear parameter value of 1 /2 relative to the line yref = –1.
  • 13. 3D SHEARING  In two dimensions, transformations relative to the x or y axes to produce distortions in the shapes of objects. In three dimensions, we can also generate shears relative to the z axis.
  • 14. SHEARING ABOUT XY AXIS  Parameters a and b can be assigned any real values. The effect of this transformation matrix is to alter x- and y-coordinate values by an amount that is proportional to the z value, while leaving the z coordinate unchanged.  Boundaries of planes that are perpendicular to the z axis are thus shifted by an amount proportional to z. An example of the effect of this shearing matrix on a unit cube is shown in Fig., for shearing values a=b=1. Shearing matrices for the x axis and y axis are defined similarly.