# Orthographic projection

Short description: Means of projecting three-dimensional objects in two dimensions

Orthographic projection (also orthogonal projection and analemma)[lower-alpha 1] is a means of representing three-dimensional objects in two dimensions. Orthographic projection is a form of parallel projection in which all the projection lines are orthogonal to the projection plane,[2] resulting in every plane of the scene appearing in affine transformation on the viewing surface. The obverse of an orthographic projection is an oblique projection, which is a parallel projection in which the projection lines are not orthogonal to the projection plane.

The term orthographic sometimes means a technique in multiview projection in which principal axes or the planes of the subject are also parallel with the projection plane to create the primary views.[2] If the principal planes or axes of an object in an orthographic projection are not parallel with the projection plane, the depiction is called axonometric or an auxiliary views. (Axonometric projection is synonymous with parallel projection.) Sub-types of primary views include plans, elevations, and sections; sub-types of auxiliary views include isometric, dimetric, and trimetric projections.

A lens that provides an orthographic projection is an object-space telecentric lens.

## Geometry

Comparison of several types of graphical projection
Various projections and how they are produced
The three views. The percentages show the amount of foreshortening.

A simple orthographic projection onto the plane z = 0 can be defined by the following matrix:

$\displaystyle{ P = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \\ \end{bmatrix} }$

For each point v = (vx, vy, vz), the transformed point Pv would be

$\displaystyle{ Pv = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \\ \end{bmatrix} \begin{bmatrix} v_x \\ v_y \\ v_z \end{bmatrix} = \begin{bmatrix} v_x \\ v_y \\ 0 \end{bmatrix} }$

Often, it is more useful to use homogeneous coordinates. The transformation above can be represented for homogeneous coordinates as

$\displaystyle{ P = \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} }$

For each homogeneous vector v = (vx, vy, vz, 1), the transformed vector Pv would be

$\displaystyle{ Pv = \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} \begin{bmatrix} v_x \\ v_y \\ v_z \\ 1 \end{bmatrix} = \begin{bmatrix} v_x \\ v_y \\ 0 \\ 1 \end{bmatrix} }$

In computer graphics, one of the most common matrices used for orthographic projection can be defined by a 6-tuple, (left, right, bottom, top, near, far), which defines the clipping planes. These planes form a box with the minimum corner at (left, bottom, -near) and the maximum corner at (right, top, -far).[3]

The box is translated so that its center is at the origin, then it is scaled to the unit cube which is defined by having a minimum corner at (−1,−1,−1) and a maximum corner at (1,1,1).

The orthographic transform can be given by the following matrix:

$\displaystyle{ P = \begin{bmatrix} \frac{2}{\text{right}-\text{left}} & 0 & 0 & -\frac{\text{right}+\text{left}}{\text{right}-\text{left}} \\ 0 & \frac{2}{\text{top}-\text{bottom}} & 0 & -\frac{\text{top}+\text{bottom}}{\text{top}-\text{bottom}} \\ 0 & 0 & \frac{-2}{\text{far}-\text{near}} & -\frac{\text{far}+\text{near}}{\text{far}-\text{near}} \\ 0 & 0 & 0 & 1 \end{bmatrix} }$

which can be given as a scaling S followed by a translation T of the form

$\displaystyle{ P = ST = \begin{bmatrix} \frac{2}{\text{right}-\text{left}} & 0 & 0 & 0 \\ 0 & \frac{2}{\text{top}-\text{bottom}} & 0 & 0 \\ 0 & 0 & \frac{2}{\text{far}-\text{near}} & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 & 0 & -\frac{\text{left}+\text{right}}{2} \\ 0 & 1 & 0 & -\frac{\text{top}+\text{bottom}}{2} \\ 0 & 0 & -1 & -\frac{\text{far}+\text{near}}{2} \\ 0 & 0 & 0 & 1 \end{bmatrix} }$

The inversion of the projection matrix P−1, which can be used as the unprojection matrix is defined:

$\displaystyle{ P^{-1} = \begin{bmatrix} \frac{\text{right}-\text{left}}{2} & 0 & 0 & \frac{\text{left}+\text{right}}{2} \\ 0 & \frac{\text{top}-\text{bottom}}{2} & 0 & \frac{\text{top}+\text{bottom}}{2} \\ 0 & 0 & \frac{\text{far}-\text{near}}{-2} & -\frac{\text{far}+\text{near}}{2} \\ 0 & 0 & 0 & 1 \end{bmatrix} }$

## Types

Classification of the Orthographic projection and some 3D projections

Three sub-types of orthographic projection are isometric projection, dimetric projection, and trimetric projection, depending on the exact angle at which the view deviates from the orthogonal.[2][4] Typically in axonometric drawing, as in other types of pictorials, one axis of space is shown to be vertical.

In isometric projection, the most commonly used form of axonometric projection in engineering drawing,[5] the direction of viewing is such that the three axes of space appear equally foreshortened, and there is a common angle of 120° between them. As the distortion caused by foreshortening is uniform, the proportionality between lengths is preserved, and the axes share a common scale; this eases one's ability to take measurements directly from the drawing. Another advantage is that 120° angles are easily constructed using only a compass and straightedge.

In dimetric projection, the direction of viewing is such that two of the three axes of space appear equally foreshortened, of which the attendant scale and angles of presentation are determined according to the angle of viewing; the scale of the third direction is determined separately. Dimensional approximations are common in dimetric drawings.[clarification needed]

In trimetric projection, the direction of viewing is such that all of the three axes of space appear unequally foreshortened. The scale along each of the three axes and the angles among them are determined separately as dictated by the angle of viewing. Dimensional approximations in trimetric drawings are common,[clarification needed] and trimetric perspective is seldom used in technical drawings.[4]

## Multiview projection

Symbols used to define whether a multiview projection is either third-angle (right) or first-angle (left).
Main page: Multiview projection

In multiview projection, up to six pictures of an object are produced, called primary views, with each projection plane parallel to one of the coordinate axes of the object. The views are positioned relative to each other according to either of two schemes: first-angle or third-angle projection. In each, the appearances of views may be thought of as being projected onto planes that form a six-sided box around the object. Although six different sides can be drawn, usually three views of a drawing give enough information to make a three-dimensional object. These views are known as front view, top view and end view. Other names for these views include plan, elevation and section. When the plane or axis of the object depicted is not parallel to the projection plane, and where multiple sides of an object are visible in the same image, it is called an auxiliary view. Thus isometric projection, dimetric projection and trimetric projection would be considered auxiliary views in multiview projection. A typical characteristic of multiview projection is that one axis of space is usually displayed as vertical.

## Cartography

Main page: Orthographic projection in cartography
Orthographic projection (equatorial aspect) of eastern hemisphere 30°W–150°E

An orthographic projection map is a map projection of cartography. Like the stereographic projection and gnomonic projection, orthographic projection is a perspective (or azimuthal) projection, in which the sphere is projected onto a tangent plane or secant plane. The point of perspective for the orthographic projection is at infinite distance. It depicts a hemisphere of the globe as it appears from outer space, where the horizon is a great circle. The shapes and areas are distorted, particularly near the edges.[6][7]

The orthographic projection has been known since antiquity, with its cartographic uses being well documented. Hipparchus used the projection in the 2nd century BC to determine the places of star-rise and star-set. In about 14 BC, Roman engineer Marcus Vitruvius Pollio used the projection to construct sundials and to compute sun positions.[7]

Vitruvius also seems to have devised the term orthographic – from the Greek orthos ("straight") and graphē ("drawing") – for the projection. However, the name analemma, which also meant a sundial showing latitude and longitude, was the common name until François d'Aguilon of Antwerp promoted its present name in 1613.[7]

The earliest surviving maps on the projection appear as woodcut drawings of terrestrial globes of 1509 (anonymous), 1533 and 1551 (Johannes Schöner), and 1524 and 1551 (Apian).[7]

## Notes

1. This usage is obsolete; the common meaning of "analemma" is a diagram of the position of the Sun from the Earth.[1]

## References

1. Maynard, Patric (2005). Drawing Distinctions: The Varieties of Graphic Expression. Cornell University Press. pp. 22. ISBN 0-8014-7280-6.
2. Thormählen, Thorsten (November 26, 2021). "Graphics Programming – Cameras: Parallel Projection – Part 6, Chapter 2". pp. 8 ff.
3. McReynolds, Tom; David Blythe (2005). Advanced graphics programming using openGL. Elsevier. pp. 502. ISBN 1-55860-659-9.
4. Godse, A. P. (1984). Computer graphics. Technical Publications. pp. 29. ISBN 81-8431-558-9.
5. Snyder, J. P. (1987). Map Projections—A Working Manual (US Geologic Survey Professional Paper 1395). Washington, D.C.: US Government Printing Office. pp. 145–153.
6. Snyder, John P. (1993). Flattening the Earth: Two Thousand Years of Map Projections pp. 16–18. Chicago and London: The University of Chicago Press. ISBN:0-226-76746-9.