3D projection
From Wikipedia, the free encyclopedia
A 3D projection is a mathematical transformation used to project three dimensional points onto a two dimensional plane[1]. As most current methods for displaying graphical data are based on two dimensional media, the use of 3D projection is widespread, especially in computer graphics, engineering and drafting. Several common projections are described below.
Contents |
Orthographic projections are a small set of transforms often used to show profile, detail or precise measurements of a three dimensional object. Common names for orthographic projections include plan, cross-section, birds-eye, and elevation.
The normal of the viewing plane (the camera direction) is always parallel to one of the 3D axes making the mathematical transformation very simple. To project the 3D point ax, ay, az onto the 2D point bx, by using an Orthographic projection parallel to the y axis(Profile view), the following equation can be used:
- bx = sxax + cx
- by = szaz + cz
Where the vector s is an arbitrary scale factor, and c is an arbitrary offset. These constants are optional, and can be used to properly align the viewport. The projection can be shown using Matrix notation (introducing a temporary vector d for clarity)
The perspective projection requires greater definition. A conceptual aid to understanding the mechanics of this projection involves treating the 2D projection as being viewed through a camera viewfinder. The camera's position, orientation, and field of view control the behaviour of the projection transformation. The following variables are defined to describe this transformation:
- a point in 3D space.
- the location of the camera.
- The rotation of the camera. When
=<0,0,0>, and
=<0,0,0>, the 3D vector <1,2,0> is projected to the 2D vector <1,2>.
- the viewer position in camera space. [2]
Which results in:
- the 2D projection of
.
First, we define a point
as a translation of point
into a coordinate system defined by
. This is achieved by subtracting
from
and then applying a vector rotation matrix using
to the result. This transformation is often called a camera transform: [3] [4] [5]
Or, for those less comfortable with matrix multiplication:
This transformed point can then projected onto the 2D plane using the formula (here, x/y is used as the projection plane, literature also may use x/z):[6]
Or again in matrix form:
and
The distance of the camera plane to the viewer,
, directly relates to the field of view, where
is the viewed angle.
Subsequent clipping and scaling operations may be necessary to map the 2D plane onto any particular display media.
To determine which screen x coordinate corresponds to a point at Ax,Az multiply the point coordinates by:

the same works for the screen y coordinate:

Other common 3D projections include:
- Isometric projection - othographic projection which is used in illustrations and computer games
- Fisheye projection - most commonly used in wide-angle photography to create special effects
- Map projections - Cartographers use numerous projections to represent the earth
- Stereoscopic projections - utilise color information or light polarity to encode depth information
- Dimetric and Trimetric projections - relations of the isometric projection
- Computer graphics
- 3D computer graphics
- Graphics card
- Transform and lighting
- Texture mapping
- Perspective (graphical)
- Homography
- ^ Kenneth C. Finney (2004). 3D Game Programming All in One. Thomson Course, 93. ISBN 159200136X.
- ^ Ingrid Carlbom, Joseph Paciorek (Dec. 1978). Planar Geometric Projections and Viewing Transformations. ACM Computing Surveys (CSUR), p.465-502. DOI:10.1145/356744.356750.
- ^ Riley, K F (2006). Mathematical Methods for Physics and Engineering. Cambridge University Press, 931. DOI:10.2277/0521679710. ISBN 0521679710.
- ^ Riley, K F (2006). Mathematical Methods for Physics and Engineering. Cambridge University Press, 942. DOI:10.2277/0521679710. ISBN 0521679710.
- ^ Goldstein, Herbert (1980). Classical Machanics 2nd Edn., 146-148. ISBN 0201029189.
- ^ Sonka, M; Hlavac, V & Boyle, R (1995), Image Processing, Analysis & Machine Vision 2nd Edn., Chapman and Hall, pp. 14, ISBN 0412455706







