Computer Aided Design (CAD) ME P25: - Perspective Projection
Computer Aided Design (CAD) ME P25: - Perspective Projection
Faculty of Engineering
Mechatronics Engineering Department
Perspective Projection
The basic idea is when we
looking at any object, the
eye projecting lines is
located at specific point,
therefore, the perspective
view is different from that
orthographic view.
In figure, the projecting lines is defined as x-y plane, and eye point in
z direction, so we need to find coordinate of .
Consider
Dr. Mohammed Osman Ali Hamid
Perspective Projection
Consider
Consider
Similarly;
Also
Perspective
Projection
Before translation, rotation, scaling and orthographic projection are linear transformations because of linear
combination x,y,z. But in perspective projection these transformations are non linear because there are no
combination of x,y,z, such as has no combination between x,y.
If need to get value in last column with 1st and 2nd rows, then we should put eye point in (-ve) x,y direction
respectively.
Perspective projection can be easily captured in general homogenous matrix, when we have 16 terms in a matrix
as follows:
Term p captured uniform scaling; 4 terms (m,n,o) captured translation; 9 terms (a,b,c,e,f,g,i,j,k) captured different
rotations; 2 terms (a,f,k) captured scaling; So far, 2 terms (d,h,l) captured perspective view transformation.
Perspective Projection
1. Eye at origin;
2. Projecting plane passes through and has unit normal vector .
. Procedure:
, , )
, , )
-. Draw normal unit vector from onto to the plane , i.e. (translate (o) onto the plane
and rotate coordinate system such that one of the principle axis concise with the direction vector ;then we can use
transformation matrices in previous example, and this very complex procedure.
-. Instead of that we can use equation from geometry; So, if you have any arbitrary and the line of this point
intersected with plane at , then satisfy equation pf this plane; therefore, from vector principles:
Perspective Projection
, , )
, , )
Objective
is to find transformation matrix when perspective projection;
Vanishing Points
Perspective Projection
If
you have general perspective projection, how do we can find vanishing point and
Its coordinate.
Assume:
1/ You have and you have set of lines parallel to each other in the
direction of .
, , )
, , )
, , )
,,)
Perspective Projection
, , )
, , )
, , )
,,)
10