Download presentation
Presentation is loading. Please wait.
Published byBeverly Freeman Modified over 5 years ago
1
Type to enter a caption. Computer Graphics Week 3 Lecture 1
2
2D Transformations (Part II)
3
Shear Transform Distorts the object such that it seems that the object is composed of layers which have been slided over one another.
4
Shear Equations Along x-axis:
Points further from the x-axis slide the most Distance from x-axis = y-coordinate x’ = x + ay and y=y where a= cot θ θ = angle transformed shape makes with x-axis Along y-axis: Points further from the y-axis slide the most Distance from y-axis = x-coordinate x’ = x and y’ = y + bx where b= cot θ θ = angle transformed shape makes with y-axis Matrix form?
5
Example
6
contd For every point do x’ = x+y * cot 300 and y’ = y
7
contd For each point do x’= x and y’ = y + x * cot 300
8
Window to Viewport i.e. How to convert world coordinates to screen coordinates.
9
Derivation To preserve the relative positions and shapes of the objects we should satisfy the following relationship:
10
Derivation
11
Reflection Matrix form for reflection about x- axis ?
Matrix form for reflection about y- axis ? Matrix form for reflection about line y=x? Matrix form for reflection about line y= -x ?
12
Rigid Body vs Affine Transformations
Which transforms are rigid body and which ones are affine ? Rigid Body Affine Shape of the object does not distort / change Shape of the object does change / distort
13
The End
14
Slide 1
15
Text
16
TEXT [TEXT]
17
Text
18
Text –Johnny Appleseed
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.