Documente Academic
Documente Profesional
Documente Cultură
INGRID CARLBOM
Program in Computer Science, Brown University, Providence, Rhode Island 02912
JOSEPH PACIOREK
Computervision Corporation, Bedford, Massachusetts 01730
Illustrated by Thomas K. Stat, Rhode Island School of Design, Providence, Rhode Island
Permission to copy without fee all or part of this material is granted provided that the copies are not made or
distributed for direct commercial advantage, the ACM copyright notice and the title of the publication and its
date appear, and notice is given that copying is by permission of the Association for Computing Machinery. To
copy otherwise, or to republish, requires a fee and/or specific permission.
© 1978 ACM 0010-4892/78/1200-0465 $00.75
466 . I. Carlbom and J. Paciorek
FIGURE 1-1. Plan view of building, part of statue of Gudea, from Lagash, Mesopotamia, c. 2150 B.C. (Ernest
de Sarzec, D~couvertes en Chald~e, 1891, Sterling Memorial Library, Yale University.)
history of the use of perspective and paral- man could have built as accurately as he
lel projections in art, architecture, and did without the use of fairly accurate draw-
engineering. The next section briefly intro- ings. The earliest known technical drawing
duces these projections and their subclas- in existence is that of a plan view of a
sifications, and illustrates their use in building from about 2150 B.C. It is engraved
current practice. In Section 3 the mathe- on a stone tablet that is part of a statue
matical framework of the projections is de- representing Gudea, king of the city of La-
veloped, and their visual advantages and gash in Mesopotamia: The engraving (Fig-
disadvantages are discussed. Section 4 in- ure 1-1) is similar in form to the plan draw-
troduces some viewing capabilities of the ings used by architects today.
Core Graphics System and the use of these According to literary allusions, Greek
capabilities to specify the various types of painters and geometers during classical an-
projections. The Appendix contains math- tiquity were acquainted with the laws of
ematical derivations of the conditions that perspective. The painter Agatharchus (5th
determine the different types of projections century B.C.) was the first to use perspec-
and some programming examples using the tive on a large scale. (Vases from as early
Core Graphics System, and illustrates a as the late 6th century B.C. show isolated
simple, straightforward way to implement instances of its use.) Agatharchus wrote a
the projections using homogeneous coordi- book on "scene painting" which inspired
nate transformations. the philosophers Anaxagoras and Democri-
tus to write on perspective. During the 3rd
century B.C., Euclid, Archimedes, and
1. HISTORY OF PROJECTIONS 1 Apollonius studied the conic sections.
Whereas Euclid and Archimedes investi-
It is surmised that drawings have been used gated the metric properties of the conic
since early historic times to represent ob- sections, ApoUonius studied those proper-
jects which were to be constructed. Al- ties shared by all sections of a given cone.
though no traces of these drawings are These properties, unlike the metric prop-
available today, it is not likely that early erties, are invariant under projective trans-
formations. Apollonins' work provided the
J This section uses some terminology which is not foundation for later work in projective ge-
defined until later sections. ometry.
FIGURE 1-2. Duccio di Buoninsegna, The Last Supper, Opera del Duomo, Siena, fresco, c. 1308, (Alinari/
Editorial Photocolor Archives).
The first evidence of the use of drawings an interest in representing the real world in
to guide construction work is found in the their works. Duccio (1255-1319) and Giotto
writings of Vitruvius, an architect and en- (1276-1336) made efforts at illustrating the
gineer in Rome under Julius Caesar and third dimension using perspective. In
Augustus. About 14 B.C., he wrote De Ar- Duccio's The L a s t Supper (Figure 1-2), the
chitectura, which was intended as a com- receding walls and ceiling lines are fore-
plete guide for architects and engineers. shortened to suggest depth.
Vitruvius discussed plan and elevation During the 15th century, artists, many
drawings of buildings and defined a per- of whom were also able mathematicians,
spective as a drawing where "the lines aH realized that perspective could be explained
meet at the center of a circle." Unfortu- in terms of geometry. The first artist to
nately, the illustrations that accompanied develop a mathematical system for per-
this work have been lost. spective was Filippo Brunelleschi (1377-
Although Greek artists had investigated 1446). The first treatise on perspective,
the laws of perspective, these techniques Della Pittura, was published in 1435 by
were apparently not formalized until the Leone Battista Alberti (1404-1472). Al-
beginning of the Renaissance. During me- though Euclid, in Optica, had already de-
dieval times, art was highly symbolic, gen- scribed the system of vision as a cone or
erally illustrating religious events. Paint- pyramid of visual rays emanating from the
ings from this time rarely give a sense of eye to an object, Alberti was the first to
depth; people and objects seem two-dimen- define a painting as a cross section of this
sional. A green or brown line was used to visual pyramid. In his work, Alberti de-
indicate the ground, and objects farther scribes a method of drawing perspective,
away were depicted with horizontal or ver- known as the focused system, by which an
tical displacements. About the beginning of artist constructs a painting on a perspective
the 14th century artists again began to take grid.
FIGURE 1-3. Piero della Francesca, The Resurrection, Pinacoteca Civica, San Sepolcro, fresco, c. 1460,
(Alinari/Editorial Photocolor Archives).
FIGURE 1-4. Engraving of Leonardo da Vinci's fresco, The Last Supper, Santa Maria delle Grazie, Milan,
c. 1495-1498, (The B e t t m a n n Archive).
ings, The Last Supper (Figure 1-4), is a spective from this time was written not by
perfect study of perspective. A comparison one of the Italian masters, but by a German,
with Duccio's painting of the same name Albrecht Dfirer (1471-1528). In his work,
clearly demonstrates the development of Unterweysung der Messung mit dem Zyr-
the science of perspective during the 15th kel u n d Rychtscheyd, Diirer describes both
century. Although Duccio's work has some mathematical and mechanical methods for
suggestion of depth, Leonardo gives the drawing perspective. One of the mechanical
viewer a feeling of actually being in the methods for constructing a perspective
room, watching a scene from real life. view of an object is illustrated in his wood-
The most widely read treatise on per- cut, Artist Drawing a Lute (Figure 1-5).
FIGURE 1-5. Albrecht Diirer, Artist Drawing a Lute, woodcut from Unterweysung der Messung mit dem
Zyrkel und Rychtscheyd, 1525, (The Metropolitan Museum of Art, Harris Brisbane Dick Fund, 1941).
FIGURE 1-6. Albrecht Ddrer, St. Jerome in His Study, engraving, 1514, (The Metropolitan Museum of Art,
Fletcher Fund, 1919).
! • - .
plan
,hh .~
2=2: :o1
C2[][]D---113[ [
front elevation right elevation
section
FIGURE 2-1. Multivieworthographicprojection:plan, elevations,and section of a building.
rectangular faces can often be described in sents an object so that three adjacent faces
only two views. A more complicated object are visible, i n order to get a three-dimen-
with inclined faces will need more. Objects sional representation in one view. Such
with complicated internal detail may re- projections are particularly well suited to
quire one or more sectional views. Figure illustrate objects composed mostly of rec-
2-1 illustrates a plan, a section, and a front tangular shapes (see Figure 2-2).
and side elevation of a building.
Multiview orthographic projections are•
presented with the hidden lines either en-
tirely omitted, or indicated as dashed lines.
If the hidden lines are included, the infor-
mation content of each view is increased,
and fewer views are required. In Figure 2-1
the hidden lines are omitted, whereas in
Figure 3-2a they are included.
Multiview orthographic projections are
used for engineering drawings of machines
and machine parts and for architectural
working drawings of buildings.
Although axonometric projections illus- object are parallel in the drawing, but give
trate the three-dimensional shape of an ob- the observer the illusion of divergence. This
ject, axonometric views often seem dis- is illustrated in Figure 2-5.
totted. This happens because more distant
parts of an object are represented at the
same scale as are close ones and the true
shape of an object is rarely shown in these
projections. For example, right angles are
generally not represented as right angles,
and circles are usually represented as el-
lipses. This is illustrated in Figure 2-3.
I planargeometricprojections 1
I ,J .....
parallel [ I perspective I
(figure 3-2c) I
1
I 1 I I I
orthographic
(figure 3-2a)
oblique
(figure 3-2b) I one-po'nt ]1 two-point
ii I
I I
I I I
multiview axonometricI I cavalier
,orthograph,c,, II cabinet
cavalier
u: i
/
FIGURE 3-2a. Pictorial effects of orthographic pro-
jections.
one-point
two-point
FIGURE 3-2c. Pictorial effects of perspective pro- 3.1 Multiview Orthographic Projections
jections.
Multiview orthographic projections show,
in one picture, two or more orthographic
Most objects can be thought of as having projections onto planes parallel to the prin-
three principal perpendicular axes. 7 For cipal planes. These projections are ar-
convenience, the coordinate system is cho- ranged relative to each other in a specified
sen to coincide with the principal directions manner. A way of creating a multiview or-
of such an object. In the following discus- thographic projection is to surround the
sion it is assumed that the coordinate sys- object with six projection planes which
tem is chosen in this manner. Furthermore, form a rectangular box around the object,
in accordance with common practice, the as shown in Figure 3-3. The six ortho-
7 For other objects, many distinctions between the graphic projections are then "unfolded"
projections discussed in this paper are no longer valid. and arranged as illustrated in Figure 3-4.
top
rear
1 left side front right side
bottom
FIGURE 3-4. Multiview orthographic projection. The six principal orthographic views.
i"1
478 . I. Carlbom and J. Paciorek
Obviously, other arrangements of the six interest. An auxiliary plane and the result-
projections are possible, but this one is the ing orthographic projection is illustrated in
most commonly used. Of these six projec- Figure 3-5.
tions, the top view is sometimes referred to All the multiview projections discussed
as a plan, and the front and side views as so far illustrate the exterior of an object. To
front and side elevations. represent objects with complicated interior
Six views are rarely needed. For example, detail, sectional views are used. A sectional
a simple, symmetrical object may be com- view of an object is obtained by "cutting"
pletely described by two or three views. the object with a plane, removing one part
The most common combination is top, of the object, and projecting the remaining
front, and right side view. By convention part orthographically onto the cutting
each projection occupies a standard posi- plane. When the cutting plane is horizontal,
tion relative to the others, no matter how the sectional view is generally referred to as
many are used. a plan; when it is vertical, the sectional
The principal multiview orthographic view is called simply a section. A plan and
projections are well suited to describe the a section are illustrated in Figure 2-1. (The
shapes of objects that are essentially rec- arrows in the plan indicate the section line,
tangular. However, auxiliary views are re- i.e., the position of the cutting plane.)
quired to describe the true shape of an
3.2 Axonometric Projections
object with faces inclined to the principal
planes. Auxiliary views are orthographic An axonometric projection is an ortho-
projections onto planes inclined to the prin- graphic projection onto a single plane,
cipal planes and parallel to the faces of where this plane is chosen in such a way
that the general three-dimensional shape of
an object is illustrated. It usually represents
an object so that three adjacent faces are
visible, but the true shape and size of any
of these faces are not shown unless the face
is parallel to the projection plane. In an
axonometric projection, parallel lines are
equally foreshortened. In particular, ax-
onometric projections produce uniform
foreshortening along the projected princi-
pal axes; thus, measurements can easily be
made to scale along these axes.
FIGURE-3-5ai Projecting orthographically onto an
auxiliary plane. The axonometric projections are classi-
fied according to the orientation of the pro-
jection plane, i.e., the angles between the
projection plane and the coordinate axes. If
all three angles are equal, the projection is
isometric; if only two angles are equal, the
result is a dimetric projection. If all angles
are different, the projection is trimetric.
The type of axonometric projection de-
termines the properties of the projected
object, namely:
, I"- "/---2 1) the number of foreshortening ratios s
of the principal coordinate axes that
IOllrOIHOI are equal, or
2) the number of angles between the pro-
FIGURE 3-5b. Multiview orthographic projection jected coordinate axes that are equal.
consisting of two principal orthographic views and
one auxiliary view. (Dashed lines indicate relation- s T h e foreshortening ratio of a line is its projected
ships of the three views.) length divided by its true length.
Yp
36 50'1~6o50,
scale ratios 1:3/4 scale ratios 3/4:1
FIGURE 3-7, Dimetric projections of a cube.
FIGURE 3-6b. Isometric projection resulting from
the construction in Figure 3-6a. (Xp,yf and Zp are the
projected coordinate axes.)
only two of the angles between the pxo-
T h e mathematical equivalences between
jected axes are equal. T w o different dime-
the orientation of the projection plane and
tric views of a cube are illustrated in Figure
these properties are shown in Section A.5
3-7.1° T o obtain a dimetric projection, the
of the Appendix.
projection plane must intersect two of the
In an isometric projection all three coor-
coordinate axes at the same angle. As is
dinate axes are equally foreshortened, and
shown in Section A.4 of the Appendix, this
the angles between the projected axes are
means t h a t the projection plane normal
all equal. T o obtain an isometric projection, must be parallel to one of the six planes
the projection plane must intersect all three
x = ±y, x = ±z, or y = ± z. B y moving the
coordinate axes at the same angle. As is
projection plane normal in one of these
shown in Section A.4 of the Appendix, this planes, the emphasis of the three perpen-
means t h a t the projection plane normal
dicular faces of an object can be varied.
must be parallel to one of the four lines
± x = ± y = ±z. Hence there are only eight 9 Figure 3-6a shows how an isometric projection is
possible isometric views of an object. A constructed. This figure is itself a trimetrie projection.
The same is true for later figures which illustrate the
cube, along with an isometric projection construction of oblique and perspective projections.
plane, the projectors, and the projected ~0The scale ratios are displayed in the figure rather
cube, is illustrated in Figure 3-6. 9 than the foreshortening ratios. These ratios more
clearly illustrate the relative sizes of the sides of the
In a dimetric projection only two coor- cubes. The scale ratios are derived by multiplying the
dinate axes are equally foreshortened, and foreshortening ratios by the same scalar.
Ill
~ o 4 6 '
4---iproj
sometri
ectiocn
~ o 1 4 '
scale ratios 7/8:1:2/3 scale ratios 1:3/4:7/8
FIGURE3-9. Trimetric projectionsof a cube.
dimetric projection in Figure 3-10b has re-
duced the top area of the bookcase, giving
more emphasis to the front and side,
whereas the dimetric projection in Figure
principal c
orthographi 3-10c has reduced the side area, giving more
projection emphasis to the largest face of the bookcase
in order to lessen the distortion of this face.
A trimetric projection allows almost com-
FmURE 3-8. Sequence of dimetric projections of a plete freedom in choice of projection plane,
cube. and, if the plane is properly chosen, gives
the most realistic appearance. A trimetric
This is illustrated in Figure 3-8. {Note that view of the bookcase is illustrated in Figure
the middle view is an isometric projection 3-10d.
and that the last view is a principal ortho-
graphic view.) 3.3 Oblique Projections
A trimetric projection is the general form
of axonometric projection. It produces dif- Oblique projections combine properties of
ferent foreshortening of the three coordi- multiview orthographic and axonometric
nate axes, and none of the angles between projections. A multiview orthographic pro-
the projected axes are equal. Four different jection illustrates the exact shape of two or
trimetric projections of a cube are shown in more faces of an object. Such a represen-
Figure 3-9. tation has the disadvantage, however, that
The shape of an object determines the the three-dimensional shape of the object
choice of a suitable axonometric represen- may be hard to visualize from the separate
tation. In order to minimize distortion and views. The axonometric projections de-
provide the most realistic view, the largest scribe the general three-dimensional ap-
area, or the area with the most detail, pearance of an object in one view, but they
should be emphasized. An isometric projec- rarely show the true shape of any face of
tion provides little freedom in choice of an object, and measurements can be made
projection plane, and equal importance is to scale only in the directions of the pro-
given to all three principal faces, as is illus- jected principal axes. An oblique projection
trated by the bookcase in Figure 3-10a. The usually presents the exact shape of one face
jr
FIGURE 3-10a. Isometric projection of a bookcase. FIGURE 3-10b. Dimetric projection of a bookcase.
The top face is reduced in size.
FIGURE 3-10C. Dimetric projection of a bookcase. FIGURE 3-10d. Trimetric projection of a bookcase.
The side face is reduced in size.
of an object, and at the same time illus- tion. The projectors are chosen to best il-
trates its general three-dimensional appear- lustrate the third dimension.
ance. An oblique projection is classified by the
The orthographic projections are char- angle between the projectors and the pro-
acterized by projectors that are perpendic- jection plane. If the angle is 45 ° the projec-
ular to the projection plane. These projec- tion is cavalier; if the angle is arccot(V2),
tions are therefore completely determined which is approximately 64 °, the result is a
by the orientation of the projection plane. cabinet projection. The angle between the
An oblique projection is characterized by projectors and the projection plane deter-
projectors that are at an oblique angle to mines the foreshortening ratio, of lines per-
the projection plane and is determined by: pendicular to the projection plane. A cava-
1) the orientation of the projection lier projection results in perpendiculars pro-
plane, jected at full scale, i.e., without foreshorten-
2) the angle between the projectors and ing, whereas a cabinet projection gives
the projection plane, and foreshortening of one-half. The mathemat-
3) the orientation of the projectors about ical relationships between the angle and the
the projection plane normal. foreshortening ratios are illustrated in Sec-
The projection plane of an oblique pro- tion A.6 of the Appendix. A cube, the pro-
jection is usually positioned parallel either jection plane, the projectors, and the pro-
to the largest principal face of the object or jected cube are illustrated in Figure 3-11.
to the principal face with most detail, so The choice of projectors determines how
that this face is projected without distor- realistically the third dimension is repre-
Compu~ ~ ~ ~ ~ ¢ ~ m b ~ 1978
482 I. Carlbom a n d J. Paciorek
y
Droiection
j Z
k x
T Zp
orientation of the projectors with respect to
the projection plane normal determines the
relative emphasis of the receding planes.
The proportions of a cavalier projection
often seem distorted--objects appear too
thick. Similarly, objects represented by a
cabinet projection sometimes seem !too
thin. These projections are used for ease of
measurement, but foreshortening ratios of
2/3 or 3Amay give more pleasing views. Fig-
ure 3-12 illustrates a cube projected with
Xp foreshortening of one, three-fourths, two-
FIGURE 3-11b. Oblique projection resulting from the thirds, and one-half, respectively.
construction in Figure 3-11a. (Xp, yp and zp are the The proportions of an oblique view can
projected coordinate axes.) also be varied by changing the orientation
1 1 1 1
FIGURE 3-12. Oblique projections of a cube. The foreshortening ratio varies with the angle between the
projectors and the projection plane.
FIGURE 3-14. Plan oblique projections of a cube. The horizontal face is shown at true shape, and the relative
emphasis of the receding faces varies with the orientation of the projectors.
it is referred to as the horizon line. The top true size. Figure 3-19 illustrates the dimi-
half of Figure 3-18 is a plan view of an nution of equal-sized objects when they are
object, a projection plane, the center of placed farther away from the observer.
projection, and the projectors. The bottom The shape of an object is rarely preserved
half illustrates the corresponding perspec- under a perspective projection. Parallel
tive view of the object, the vanishing points, fines are unequally foreshortened depend-
and the horizon line. ing on their position relative to the ob-
The convergence of parallel lines results server. Circles generally project to ellipses.
in both diminution of size and in nonuni- Only the parts of an object parallel to the
form foreshortening of objects. Objects of projection plane retain their shape. Non-
equal size appear smaller as their distance uniform foreshortening of parallel lines and
from an observer increases and become circles is illustrated in Figure 3-20.
larger as that distance decreases. Only A perspective projection of an object is
areas in the projection plane retain their determined by five variables:
:iiiiiii~. . . . . . iiiiiiii: ~
:iili, iiiJ~' I
I ~1
I I
I
~::~iiiiii~:~................................~iiiiii]y....
I
I I
I I
I I horizon line
I I
I I
I I
jiiiiii i i i ~. I
center of
• zp
1) the orientation of the projection plane jection is the type of projection where the
with respect to the object (i.e., the projection plane intersects two of the prin-
angles between the projection plane cipal coordinate axes. A two-point perspec-
and the principal coordinate axes), tive is obtained by choosing the projection
2) the height of the center of projection plane parallel to one of the principal axes,
with respect to the object (i.e., the but not parallel to any coordinate plane. A
position of the horizon line with re- two-point perspective of a cube is illus-
spect to the object), trated in Figure 3-22.
3) the distance of the center of projection
to the object,
4) the distance of the projection plane to
the object, and
5) the horizontal displacement of the FIGURE 3-22. Two-point perspective projection.
center of projection relative to the
center of the object.
A three-point perspective projection is
The values of these five variables are gen- the type of projection where the projection
erally chosen so as to give the most realistic plane intersects all of the coordinate axes.
appearance of the object. A three-point perspective is obtained by
The perspective projections are classified choosing the projection plane so that it is
according to the number of principal coor- not parallel to any coordinate axis. A three-
dinate axes that intersect, but do not lie point perspective of a cube is illustrated in
within, the projection plane. As is shown in
Section A.7 of the Appendix, this is equal Figure 3-23.
to the number of finite principal vanishing The five variables listed above control
the pictorial effects of a perspective projec-
points.
A one-point (or parallel) perspective pro- tion, and if not chosen properly may pro-
jection is the type of projection in which duce unpleasant distortions. If a perspec-
the projection plane intersects only one of tive projection is to illustrate an object as
the principal coordinate axes. Hence, to it is seen by an observer, the choice of
obtain a one-point perspective, the projec- station point 1~ and position of the projec-
tion plane must be parallel to one of the tion plane are fairly limited. Certain distor-
principal planes. A cube, along with the tions are, however, at times acceptable or
projection plane, the projectors, and the even desirable to obtain more interesting
one-point perspective of the cube, is illus-
11This term is commonly used in architectural drawing
trated in Figure 3-21. to indicate the position of the viewer, and is equivalent
A two-point (or angular) perspective pro- to the center of projection.
\
\ I !
\\ 11 Il
\I I
11
and dramatic illustrations. The effects of sized more than the other, and the viewer's
these variables on the three types of per- attention is naturally drawn to the center
spective are discussed below. of interest, which is to the side of the center
In general, the station point should be
selected at a position from which an object
would be viewed "naturally." The distance
from the station point to the object should
be such that the object is well within the
observer's field of view with the horizon
line near the observer's eye level. The sta-
tion point should not be displaced horizon-
tally too far off-center, and it should be
opposite the center of interest in the pic-
ture. As was illustrated in Piero's Resurrec-
tion (Figure 1-3}, the viewer's attention is
naturally drawn to the area in the painting
opposite the station points. (The reader
should note that this painting is a study in
one-point perspective. It was painted from
two vantage points, and hence has two prin- FIGURE 3-24. One-pointperspective projectionwith
cipal vanishing points.} station point off-center.
In a one-point perspective, the projection
plane is parallel to one of the major faces of
the object, that is, the observer is looking
straight at this face. A one-point perspec-
tive has the advantage that it may show
three adjacent vertical faces, one at true
shape. A one-point perspective is used
mostly for interior spaces, street scenes,
and objects such as pieces of furniture.
The orientation of the projection plane F-l--1
cannot be varied in a one-point perspective. II tl I
The observer is always looking at one face,
which gives a symmetric view that some-
times appears dull and static. Moving the
center of projection slightly off-center hor-
izontally may produce a more interesting
perspective. This situation is illustrated in FIGURE 3-25. One-pointperspective projectionwith
Figure 3-24. One of the side walls is empha- station point too far off-center.
488 • I. Carlbom a n d J. Paciorek
of projection. If the center of projection is Moving the horizon line up and down
moved too far off-center, an objectionable changes the proportions of ceiling and floor
view may result, as is illustrated in Figure in an interior view (Figure 3-26), or shows
3-25. The distortion in Diirer's St. Jerome the exterior view of a building as if it were
in His Study (Figure 1-6) is due mostly to seen from above or below (Figure 3-27). An
this phenomenon. (A nonsymmetric view indoor view should generally have the ho-
with heavy emphasis on one of the side rizon line at the eye-level of a sitting or
walls would generally be better illustrated standing observer. For exterior views a
with two-point perspective.) more interesting projection is often
FIGURE 3-26. One-point perspective projections of interior of a room with different heights of horizon line.
FIGURE 3-27. One-point perspective projections of exterior of a building with different heights of horizon line.
J Ij ]
station point close to room station point at medium distance station point far from room
FIGURE 3-28. One-point perspective projections of interior of a room with different distances from station
point to room.
FIGURE 3-29. The distance from the plane to the station point affects only the size of a perspective projection.
achieved with the horizon above or below formly. Zooming can lbe i m p l e m e n t e d b y
the object. slowly moving the projection plane towards
T h e distance of the station point to the or away from the station point.
object determines w h e t h e r it is viewed from In a two-point perspective the projection
far or near. W h e n the station point is too plane is parallel to one of the m a j o r axes of
close to the object, the d e p t h in the projec- the object, i.e., the observer is looking
tion seems exaggerated. If it is too far away straight at one edge of an object but not
from the object, the projected object seems straight at any of the faces adjacent to this
flat. T h e effect of distance is illustrated in edge. Unlike a one-point perspective, a two-
Figure 3-28. T h e station point should be point perspective does not generally give a
chosen at a distance from an object at symmetric view. For this reason, it is more
which an observer would naturally view the widely used.
object, so as to include the entire object in In a two-point perspective, the orienta-
the field of vision. tion of the projection plane with respect to
Figure 3-29 shows how moving the pro- the object can be varied so as to emphasize
jection plane with respect to the station one vertical face or the other. In Figure 3-
point scales the perspective projection uni- 30 the proportions of the left and right side
station point close to object station point at station point far from object
medium distance
FmURE 3-31b. Two-point perspective projections with different distances from station point to object.
e6
iii:(: :
ff'
j J
j J
• 1
622
a32
0
623
633
i
i
J i
jJ
(pcosO p s n e O) /
' ' ~ : " : . :. ! ::: : i:T~"
I \k :.: ::::::::::::::::::::::::~'""'~-~,.~(x, y, z) '
x P)
i
Computing ~ t t d ~ t t l ~ t ~ NO.4, D ~ e t 1978
496 • I. C a r l b o m a n d J. P a c i o r e k
[aij] represents a linear transformation of 3- angles between the normal and the princi-
space, [h, t2, ts] represents a translation, pal coordinate axes.
and [pl, p2, p3] represents a perspective A dimetric projection is defined by the
transformation. condition that two of the angles between
the projection plane and the coordinate
A.2 Direction Cosines axes be equal. This is equivalent to the
Direction cosines describe the direction of requirement that the absolute values of two
a vector in 3-space. They are the cosines of of the direction cosines for the normal be
the angles between this vector and the the same, i.e.,
three principal coordinate axes. (See Figure Ixl lyl
A-1.) The direction cosines for the vector or
,/X 2+y+z ~ ,/x ~+22+z ~
O P are (cos~, cosfl, cosT), where ~ is the
angle between the vector and the positive Ixl Izl
x-axis, fl is the angle between the vector J ~ c 2 + y 2 + z 2 - ~ / x 2 + y 2 + z 2 or
and the positive y-axis, and 7 is the angle
between the vector and the positive z-axis. lyl Izl
If the coordinates of the vector O P in the jx 2+y2+z 2 jx 2+y+z 2
figure are (x,y,z), then:
x This implies that the normal of the projec-
COS~ tion plane for a dimetric projection lies in
J x 2 + :~ + z ~ a plane parallel to one of the six planes
x = ±y, x = ±z, o r y = ±z.
cosfl = Y
J x ~ + 22 + z ~
z
COS~ =
~/X 2 + y2 + Z 2
u
A.3 Spherical Coordinates
A point in 3-space can be represented by
three Cartesian coordinates (x,y,z) with re-
spect to the standard coordinate axes. It
can also be represented by the spherical
coordinates (p, O, 8), with p ~ 0, 0 _< # _<
360 °, and 0 _< # _< 180 °.
In Figure A-2, # is the angle between the
vector (x,y,z) and the positive z-axis, O is P
the angle between its orthographic projec-
tion on the x y plane and the positive x-axis, I
f
J
S projectoIT
~Z
(0,0,~)
FIGURE A-4.
T=
[ 001 0 i] 0 1
the xy-plane c~in be thought of as a shear of
the object along the xy-plane, followed by
an orthographic projection onto this plane.
The shearing operation can be expressed in
d.nl d.n2 d.n3
matrix form:
where d is the shortest distance from the
plane to the origin and (nl, n2, m) is the
projection plane unit normal. Note that d
is a signed distance:
d > 0 if the normal is directed
S =
E1 °°i]
0 1 0
a b l
000
towards the origin, where a, b are the shearing components
d <_ 0 otherwise. discussed in Section A.6. Hence the projec-
tion matrix for an oblique projection is P
The rotation is a transformation that turns = S.P1.
the translated projection plane into the A perspective projection of a n object
xy-plane (see Figure A-2). onto the xy-plane can be thought of as a
Assume that (x, y, z) is the (translated) perspective transformation followed by an
projection plane normal. Then a rotation of orthographic projection onto this plane.
- O about the z-axis followed by a rotation The matrix of this perspective transforma-
of - 9 about the yoaxis will accomplish this tion is:
rotation ~5. The composite rotation matrix
is:
R =
[coso sn° ° il
sinO cosO 0
C= lie 0 0 0
-d
1
0
0 0 1
0 0 0 where (c, d, - 1 / r ) is the center of projection
in the translated and rotated coordinate
[cos0o°il1sion°
-sinO 0 eosO
system. (The translation by - c and - d
positions the center of projection on the z-
axis.) The perspective projection matrix is
0 0 0 P = C.P~. The resulting vector (x, y, 0, w)
is finally divided by w to map the result
I cosOcosO -sinO cosOsinO from its 4D representation to 3D.
= sinOcosO cosO sinOsin8
-sinO
0
0
0
cosO
0 i] A.9 Viewing Specification in the Core
Graphics System
This section briefly describes the viewing
~ It is c o m m o n practice to draw one of the principal functions in the Core Graphics System and
axes as a vertical line. In order to accomplish this, a
third rotation about the z-axis m u s t generally be em- gives a few examples of how to use these
ployed. functions. For additional explanations and
(I .0, -I .0, 1.0)
from the origin to correspond to Figure (* The side of the cube parallel to the xy-plane
A-5a. *) is projected to true size. *)
VIEW__PLANE_DISTANCE(-2.5); VIEW__PLANE_NORMAL(0.0, 0.0, 1.0);
(* The y-axis should be vertical in the resulting (* Although the distance of the view plane to
projection. *) the object does not affect the resulting projec-
VIEW__UP__~(0.0, 1.0, 0.0); tion, the view plane is positioned at a distance
(* The projectors are parallel to the view plane from the origin to correspond to Figure
normal. *) A-6a. *)
PARALLEL(1.0, -1.0, 1.0); VIEW_PLANE__DISTANCE(-2.0);
(* The routine CUBE generates the cube *) (* The y-axis should be vertical in the resulting
CUBE; projection. *)
VIEW__UP_3(0.0, 1.0, 0.0);
(* The foreshortening ratio of the receding axis
is % and the axis is projected at a 30 ° angle
with the projected x-axis. *)
DELT_X:=COS(30.0)*2.0/3.0;
D E L T _ Y : = S I N (30.0)* 2.0/3.0;
DELT_Z:=-I.0;
PARALLEL(DELT_..X, D E L T _ ¥ ,
DELT_Z);
CUBE;
Example 3:
T h e following c o d e will g e n e r a t e a one-
p o i n t p e r s p e c t i v e view o f a cube. T h e cube,
center of along w i t h t h e view plane, t h e view plane
projection
(o.L o.5, ,4.o) n o r m a l , t h e p r o j e c t o r s , a n d t h e resulting
p r o j e c t e d c u b e is illustrated in Figure A-7.
FIGURE A-7a. Construction of a one-point perspec-
tive projection. V I E W _ _ R E F E R E N C E _ P O I N T ( 0 . 0 , 0.0,
o.0);
Yp (* The view plane is parallel to the xy-
plane. *)
VIEW__PLANE__NORMAL(0.0, 0.0,1.0);
VIEW__PLANE DISTANCE(-2.0);
(* The y-axisshould be verticalin the resulting
projection. *)
VIEW__UP__3(0.0, 1.0,0.0);
(* The center of projectionisdisplacedslightly
horizontally with respect to the center of the
cube. *)
PERSPECTIVE(0.7, 0.5,-4.0);
CUBE;
xp
i
ComputingSulwey6,~VoL10, ~,h. ~ December 1978
502 • L Carlbom and J. Paciorek
methods, Clarendon Press, Oxford, 1940, Engineering drawing, John Wiley & Sons,
451pp. Inc., New York, 1935, 528pp.
COUL66 COULIN, C. Step-by-step perspectwe KELL49 KELLAWAY, G.P. Map projections, E.P.
drawing, Van Nostrand Reinhold Co., Dutton & Co., Inc., New York, 1949, 127pp.
New York, 1966, ll2pp. KLIN54 KLINE, M. Mathematics in western cul-
CROZ21 CROZET, C. Descriptive geometry, A.T. ture, George Allen and Unwin, Ltd., Lon-
Goodrich Co., New York, 1821. don, 1954, 484pp.
CUTT23 CUTTER, L,E. Descriptive geometry, LANC70 LANCZOS,C. Space through the ages, Ac-
McGraw-Hill, Inc., New York, 1923, 244pp. ademic Press, London, 1970, 320pp.
DAME64 D'AMELIO, J. Perspective drawing LEVE62 LEVENS, A.S. Graphics, John Wiley &
handbook, Leon Amiel, New York, 1964, Sons, Inc., New York, 1962, 743pp.
96pp. LUZA57 LUZADDER,W.J. Graphics for engineers,
DAVI26 DAVIES, C. Elements of descriptive ge- Prentice-Hall, Inc., Englewood Cliffs, N.J.,
ometry, Wiley & Long, New York, 1826, MART68 1957, 597pp.
174pp. MARTIN, C.L. Design graphics, Macmil-
DiJRE25 DORER, A. Unterweisung der Messung lan Inc., New York, 1968, 307pp.
mit dem ~yrkel und Rychtscheyd, Stocker- MILL41 MILLER, H.W. Descriptive geometry,
Schmid, Ziirich, 1525, 217pp. John Wiley & Sons, Inc., New York, 1941,
EVES63 EVES, H. A survey of geometry, Vol. 1, 254pp.
Allyn & Bacon, Inc., Boston, 1963, 489pp. NEWM56 NEWMAN,J.R. (ED.) The world of math-
EVES65 EVES, H. A survey of geometry, Vol. 2, ematics, Simon and Schuster, New York,
Allyn & Bacon, Inc., Boston, 1965, 496pp. 1956.
EvEs69 EvEs, H. An introduction to the history NEWM73 NEWMAN, W.M., AND SPROULL, R.F.
of mathematics, Holt, Rinehard & Win- Principles in interactive computer graph-
ston, New York. 1969. 464pp. ics, McGraw-Hill, Inc., New York, 1973,
FRAN54 FRANKFORT, H. The art and architec- 607pp.
ture of the ancient Orient, Penguin Books, NEWM78 NEWMAN, W.M., AND VAN DAM,
Inc., New York, 1954, 279pp. A. "Recent efforts towards graphics
FREN47 FRENCH, T.E. Engineering drawing, standardization", Comput. Surv. 10, 4
Rev. by C.J. Vierck, McGraw-Hill, Inc., (Dec. 1978), 365-380.
New York, 1947, 694pp. OLES78 OLES, P.S. Architectural illustration,
FREN70 FRENCH, T.E., AND VIERCK, C.J. Van Nostrand Reinhold Co., New York,
Graphic science and design, McGraw-Hill 1978.
Inc., New York, 1970, 788pp. PARR60 PARROT, A. Sumer, Gallimard, Paris,
GIAC61 GIACHINO, J.W., AND BEUKEMA, H.J. 1960, 392pp.
Drafting and graphics, American Tech- RICH72 RICHARDUS, P., AND ADLER, R.K. Map
nical Society, Chicago, 1961, 778pp. projections, Elsevier North-Holland Inc.,
GIES58 GIESECKE,F.E., MITCHELL,A., ANDSPEN- New York, 1972, 174pp.
CER, H.C. Technical drawing, Macmil- RIsI77 RISING, J.S., ALMFELDT, M.W., A N D DE-
lan Inc., New York, 1958, 849pp. JONG, P.S. Engineering graphics: com-
GILL74 GILL, R.W. Basic perspective, Thames munication, analysis, and creative design,
and Hudson, London, 1974, 96pp. Kendall-Hunt, Dubuque, Iowa, 1977.
GSPC77 GSPC "Status report of the Graphics ROGE76 ROGERS, D.F., AND ADAMS, J.A.
Standards Planning Committee of ACM/ Mathematical elements for computer
SIGGRAPH," Comput. Gr. 11, 3 (1977), graphics, McGraw-Hill, Inc., New York,
II-1 - - II-177. 1976, 239pp.
HAMM71 HAMMOND, R.H., BUCK, C.P., ROGERS, RULE61 RULE, J.T., AND COONS, S.A. Graphics,
W.B., WALSH, G.W., JR., AND ACKERT, McGraw-Hill, Inc., New York, 1961, 484pp.
H.P. Engineering graphics, Ronald SMIT36 SMITH, W.G. Practical descriptive ge-
Press Co., New York, 1971, 648pp. ometry, McGraw-Hill Inc., New York,
HOEL63 HOELSCHER, R.P., SPRINGER, C.H., AND 1936, 275pp.
DOBROVOLNY, J. Basic drawing for en- STEE48 STEERS, J.A., AND DEBENHAM, F. Study
gineering technology, John Wiley & Sons, of map projections, University of London
Inc., New York, 1963, 396pp. Press, Ltd., London, 1948, 292pp.
IvIN75 IvINS, W.M., JR. On the rationalization WATT46 WATTS,E.F., AND RULE, J.T. Descriptive
of sight, Da Capo Press, Inc., New York, geometry, Prentice-Hall, Inc., Englewood
1975, 160pp. Cliffs, N.J., 1946, 301pp.
JANS62 JANSON, H.W. History of art, Harry N. WHIT67 WHITE, J. The birth and rebirth of pic-
Abrams, Inc., New York, 1962, 572pp. torial space, Faber and Faber, London,
JORD29 JORDAN, H.H., AND PORTER P.M. De- 1967, 289pp.
scriptive geometry, Grim and Co., Boston, WILL98 WILLSON, F.N. Theoretical and practi-
1929, 349pp. cal graphs, Macmillan, Inc., New York,
JORD35 JORDAN, H.H., A N D HOELSCHER, R.P. 1898, 293pp.