| 6.2Dtform |
![[prev]](common/prev.gif)
Translation
|
Translation
x' = x + tx |
Translation
x' = x + tx In matrix form:
Repeat transformation for each point in figure (rigid body transformation) |
Scaling
x' = x * sx |
Scaling
x' = x * sx In matrix form:
|
Uniform and Nonuniform Scaling
|
Rotation
|
Rotation
x' = r cos[theta] |
Rotation
x' = x cos[theta] - y sin [theta] In matrix form:
|
Homogeneous CoordinatesWant to do all standard transformations as matrix multiplications
|
Composite TransformationsTranslationP' = T2.T1.P = T(tx2, ty2).T(tx1, ty1).P
|
Composite TransformationsRotationP' = R([theta]2).R([theta]1).P = R([theta]2 + [theta]1).P
|
Composite TransformationsScalingP' = S(sx2, sy2).S(sx1, sy1).P
|
General Pivot Point RotationA transformation sequence for rotating an object about a specified pivot point using the rotation matrix
P' = T(xr, yr) . R([theta]) . T(-xr, -yr) . P |
General Pivot Point ScalingA transformation sequence for scaling an object with respect to a specified fixed position using the scaling matrix
P' = T(xr, yr) . S . T(-xr, -yr) . P |
General-Scaling Direction
|
General-Scaling Direction
|
General-Scaling Direction
|
Order of Transformations
P' = R . T . P |
Order of Transformations
P' = T . R . P |
The Two-dimensional Viewing-transformation Pipeline
|
The Two-dimensional Viewing-transformation Pipeline
|
World-to-Viewing Coordinate Transform
|
World-to-Viewing Coordinate Transform
|
World-to-Viewing Coordinate Transform
|
World-to-Viewing Coordinate Transform
|
World-to-Viewing Coordinate Transform
|
The Two-dimensional Viewing-transformation Pipeline
|
The Two-dimensional Viewing-transformation Pipeline
(1) Scale with fixed point of (xwmin, ywmin) |
The Two-dimensional Viewing-transformation Pipeline
(1) Scale with fixed point of (xwmin, ywmin) (2) Translate scaled window to viewport position |
![[prev]](common/prev.gif)
| Made by dynaPage 0.2 |