L8 Projections
L8 Projections
PROJECTIONS
1. Parallel Projections
a) Orthographic Projections
b) Axonometric Projections
2. Perspective Transformations and
Projections
PROJECTIONS
Affine, Rigid-body/Euclidian Vs Perspective
Both affine and perspective transformations are 3-
dimensional
They are transformations from one 3-D space to
another
Viewing 3D transformations (results) on a 2-
Dimensional surface(screen) requires projections
from 3-Space to 2-Space.
This is known as plane geometric projection
1
PROJECTIONS
Projections are a necessary part of Graphics
Pipeline
Graphics Pipeline
PROJECTIONS - Classification
Plane Geometric Projections
Parallel Perspective
Isometric Projectors
COP xx
Infinity t
ecct
bbjje z
O
O
z
2
Generalized 4 x 4 transformation matrix in
homogeneous coordinates
a d g l
b e i m
[T ] =
c f j n
p q r s
Orthographic Views
View C.O.Projection Proj. Plane
Front On +ve z axis Z=0 (xy)
Right Side On +ve x axis X=0 (yz)
Top On +ve y axis Y=0 (xz)
Rear On -ve z axis Z=0 (xy)
Left Side On -ve x axis X=0 (yz)
Bottom On -ve y axis Y=0 (xz)
3
Ortho graphic views x
Top
y
Y=0
z
y
Projectors
Infinity x
Right
z X=0
y
z
Front
Z=0
y
Concatenated matrix z
2 2 2 0 2 2 2 0
1 0 0 0 6 6 6 6 6 6
0 1 0 0 0 2 2 0 0 2 2 0
[T1 ] = [ Pz ][T ] = 6 6 = 6 6
0 0 0 0 2 2 2 0 0 0 0 0
0 0 0 1 6 6 6 0 0 0 1
0 0 0 1
4
AXONOMETRIC PROJECTIONS
The limitations of orthographic projections are
overcome
An axonometric projection is obtained by
manipulating the object, using rotation and
translations such that atleast 3 adjoint faces are
shown. The result is then projected from COP at
infinity onto one of the coordinate planes,usually
on z=0
Features
Unless the plane is parallel to the POP, an axonometric
projection does not show its true shape
Parallel lines are equally foreshortened and the relative
lengths of parallel lines remain constant
TRIMETRIC PROJECTIONS
Arbitrary rotations in arbitrary order about any or all
of the coordinate axes, followed by parallel
projections on z=0 plane. The ratios of lengths are
obtained as:
1 0 0 xx' x 'y x z'
0 1 0 y x' y 'y y z'
[T ][U ] = [T ] =
0 0 1 0 0 1
1 1 1 1 1 1
fx = x 'x2 + y 'x2
projected length
f y = x 'y2 + y 'y2 foreshortening factor =
true length
fz = x 'z2 + y 'z2
5
DIMETRIC & ISOMETRIC PROJECTIONS
Just as in the case of trimetric projections, similar
transformations + projections cause dimetric and
isometric projections with following conditions:
fx ≠ f y ≠ fz Trimetric
Any 2 of f x f y f z are same Dimetric
fx = f y = fz Isometric
1 0 0 0 1 0 0 0 cos φ 0 sin φ 0
0 1 0 0 0 cosϑ −sin ϑ 0 0 1 0 0
[T ] = [ Pz ][ R x ][ R y ] =
0 0 0 0 0 sin ϑ cosϑ 0 − sin φ 0 cosφ 0
0 0 0 1 0 0 0 1 0 0 0 1
6
Example (contd.): Trimetric projections
The concatenated matrix is :
cos φ 0 sin φ 0 3 0 1 0
2 2
sin φ sin θ cosθ − cos φ sin θ 0 2 2 6
[T ] = [ Pz ][ R x ][ R y ] == = 0
0 0 0 0 4 2 4
0 0 0 0
0 0 0 1
0 0 0 1
cos φ 0 sin φ 0 1 0 0
sin φ sin θ cos θ − cos φ sin θ 0 0 1 0
[ X ′] = [T ][U ] ==
0 0 0 0 0 0 1
0 0 0 1 1 1 1
projected length
foreshortening factor =
true length
7
Calculation of angles For dimetric projections fx = fy
(say) then
2 sin 2 θ
sin φ =
1 − sin 2 θ
The second equation is obtained in terms of fz and
solving for theta
2 sin 2 θ − 2 sin 4 θ − (1 − sin 2 θ ) f 2 = 0 z
8
Calculation of angle that the projected x-axis makes
with the horizontal in the isometric case
y *x sin φ sin θ
tan α = * = = ± sin θ as φ = 45°
xx cos φ
∴α = tan −1 (± sin 35.26) = ±30°
Perspective Transformations