Cabinet projection

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Axonometric projection.svg
Part of a series on:
Graphical projection

Cabinet projection or sometimes cabinet perspective is a type of oblique projection. The term stems from the use for illustrations in furniture industry. This projection has been used in early video games such as Paperboy and Pac-Mania.

Like cavalier perspective, cabinet projection is an oblique projection, where one face of the projected object is parallel to the viewing plane, and the third axis is projected as going off in an angle (typical 30° or 45°). Unlike cavalier projection, where the third axis keeps its length, with cabinet projection the length of the receding lines is cut in half.

Contents

[edit] Mathematical formula

As formula, if the plane facing the viewer is xy, and the receding axis is z, then a point P is project like this:

 P \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix}
x + 0.5 \cdot z \cdot cos \alpha \\ y + 0.5 \cdot z \cdot sin \alpha \\  0 \end{pmatrix}

Where α is the mentioned angle.

The transformation matrix is:

 P = \begin{bmatrix}
1 & 0 & 0.5 \cdot \cos \alpha \\
0 & 1 & 0.5 \cdot \sin \alpha \\
0 & 0 & 0
\end{bmatrix}

[edit] Examples

[edit] See also

[edit] References

[edit] Further reading

  • Ingrid Carlbom, Joseph Paciorek, Planar Geometric Projections and Viewing Transformations, ACM Computing Surveys, v.10 n.4, p.465-502, Dec. 1978
  • Foley, James (1997). Computer Graphics. Boston: Addison-Wesley. ISBN 0201848406. 

[edit] External links

Languages