University of Utah § Department of Mathematics  


Table of Contents.  

Abstract. We present some mathematical ideas that occur in art and computer graphics. We touch upon the geometry of similar triangles, rigid motions in three space, perspective transformations, and projective geometry. We discuss computations behind rendering objects in perspective. We then describe vanishing points, answer how to measure distance in a receding direction in a perspective drawing and why a circle in three space becomes an ellipse when drawn in perspective. We use MAPLE generated computations and graphics to illustrate the ideas.
``I freely confess that I never had a taste for study or research either in physics or geometry except in so far as they could serve as a means of arriving at some sort of knowledge of the proximate causes...for the good and convenience of life, in maintaining health, in the practice of some art...having observed that a good part of the arts is based on geometry, among others the cutting of stone in architecture, that of sundials, and that of perspective in particular.´´
Girard Desargues
Artists now make amazing images using computers (e.g., visit PIXAR.). But taking into account the complexity of all the physical laws of light requires extensive computation. We'll focus on mathematical concepts and derive the basic formulas that are at the heart of all rendering machines. We shall concentrate on the geometry of drawing objects, which can be described by points in space. We'll calculate the perspective transformations that locate the points on the drawing. Then we'll use MAPLE's capability to draw polygons and lines to show the effect of transformation. We'll apply this to show some mathematical / artistic concepts. (This note is a slightly expanded version of lecture notes [TA].)
A mathematical theory of perspective drawing could only be developed when the Renaissance freed painters to depict nature in a way closer to what they observed [IW]. The biographer Vasari (151174) says that the Florentine architect Filipo Brunelleschi (13371446) studied Greek geometry, developed a theory of perspective and undertook painting just to apply his geometry [KM]. The first treatise, Della pittura(1435) by Leone Battista Alberti (140472) furnished most of the rules. Our diagram of the perspective view of the circle occurs in his text. A complete mathematical treatment De prospectiva pingendi (1478) was given by the Italian fresco painter Piero della Francesca (14101492). Leonardo da Vinci (14521519) incorporated geometry in his painting and wrote a now lost text on perspective Tratto della pittura. Albrecht Dürer (14711528) also wrote a text on the practice of geometry Underweysung der Messung mid dem Zyrkel und Rychtscheyd (1525) which was important in passing on to the Germans the Italian knowledge of perspective drawing. In it, Dürer invented several drawing machines to teach perspective. Alberti was first to ask if two drawing screens are interposed between the viewer and the object, and the object is projected onto both resulting in two different pictures of the same scene, what properties do the two pictures have in common [BC].
Alberti's Problem: What do the two projections have in common?
This question prompted the development of a new subject, projective geometry whose exponent was Girard Desargues (15911661). Desargues studied perspective geometry from a synthetic point of view, meaning he built up the geometry from axioms about points, lines and planes. A sampling is given in the section on projective geometry. There we address the question why the perspective image of a circle necessarily the ellipse. It can also be answered using analytic geometry methods, such as in our chapter on analytic geometry, where first, points and lines are reduced to equations. A modern deductive footing for perspective drawing was given later by Brook Taylor (16851731) and J. H. Lambert (172877). A competing point of view has held by mathematicians such as René Decartes (15961650), Pierre de Fermat (16011665) and Julius Plücker (18011868) who studied these question algebraically. Their work spurred the development of algebraic geometry. Mathematical issues and history are more completely covered in [BP], [DH], [FP], [M], [OW], [PD], [SD] and [WC].
Some current popular drawing texts such as Edwards' [EB] deemphasize the analytical approach in favor of an intuitive sighting method for perspective. However, complicated drawing situations require more analysis [EB], [EM]. If a student wishes to pursue linear perspective in the history and art see, e.g. [CA]. There are a number of web sites worth perusing, [DJ], [EM], [MS] as are sites discussing perspective and the internet [KJ], [XX]. The computer science of graphics is discussed in [BP], [FP], [PP]. Many of our illustrations were generated by the MAPLE symbolic algebra, graphics and computation system. Our code in the MAPLE programming language is available at http://www.math.utah.edu/~treiberg/HS.html Differential geometric graphic applications of MAPLE are described in Oprea [OJ] and Rovenski [RV] and of MATHEMATICA in Gray [GA]. Other graphics packages to render differential geometric objects, e.g., are Richard Palais' 3DFilmstrip or Konrad Polthier's JavaView.
The perspective transformations that describe how a point in three space is mapped to the drawing plane can be simply explained using elementary geometry. We begin by setting up coordinates. A projection involves two coordinate systems. A point in the coordinate system of an object to be drawn is given by X=(x,y,z) and the corresponding in the imaging system (on the drawing plane) is P=(u,v). If we use the standard right handed
Projecting an object to the drawing plane.
system, then x and y correspond to width and depth and z corresponds to height. On the drawing plane, we let u be the horizontal variable and v the vertical.
We can measure the distances between pairs of points in the usual way using the Euclidean
metric. If
X_{1} = (x_{1}, y_{1}, z_{1}) and
P_{1} = (u_{1}, v_{1}) and so on, then
The projection from X to P is called a parallel projection if all sets of parallel lines in the object are mapped to parallel lines on the drawing. Such a mapping is given by an affine transformation, which is of the form
= f(X) = T + AX
where T is a fixed vector in the plane and A is a 3 x 2 constant matrix. Parallel projection has the further property that ratios are preserved. That is if X_{1}, X_{2}, X_{3} and X_{4} are collinear points in the object, then the ratio of distances is preserved under parallel projection
Of course denominators are assumed to be nonzero.
To illustrate, let's begin with an object in three space, say a simplified house. It consists of the points [0,0,0], [0,0,3], [3.5,0,5], [7,0,3], [7,0,0], [0,9,3], [0,9,0], [7,9,3], [7,9,0], [3.5,9,5] which define eight corners of a box and two gable points and [3,9.1,0], [5,9.1,0], [5,9.1,8], [3,9.1,8], [3,10.2,0], [5,10.2,0], [5,10.2,8], [5,10.2,8] which define the chimney.
MAPLE generated 3d plot of house.
The most frequent parallel projections are called elevations, oblique projections and isometric projections. The elevations are just the front, top and side views of the object. Thus the projections are given by the functions
F_{front}(x,y,z)=(x,z), F_{side}(x,y,z)=(y,z); F_{top}(x,y,z)=(x,y)
Applied to the house object, we get three views.
MAPLE generated elevations.
In oblique projection, which is also called Cavalier projection, the front view is undistorted, but the sections of the object corresponding to y = y_{0} constant are drawn up and to the right depending on how far back y_{0} is. If we write w=(2^{1/2}, 2^{1/2})^{T}, the unit vector in the plane at 45°, then we may write
The vectors have been written in column form to here to facilitate matrix multiplication, but we'll not fuss about whether a vector is a row or column and use both forms interchangeably. Note that since w is a unit vector, lengths in the y directions are mapped to equal lengths along the 45° line in the drawing. Indeed, putting c = 2^{1/2},
Let R denote a rotation in the plane which moves points (x,y) about the origin an angle h_{0}. If a vector is written in polar coordinates (x,y)=(r cos h,r sin h) where r={x^{2} + y^{2}}^{1/2} is the distance of the point to the origin and h is the angle from the positive xaxis, dist((0,0),(x,y)), and h is the angle, then using trigonometric identities the rotated point
Hence R(a,b)=(0,r) as desired.
A variant of oblique projection is called military projection. In this case the horizontal sections are isometrically drawn so that the floor plans are not distorted and the verticals are drawn at an angle. The military projection is given by rotation in the xy plane and a vertical translation an amount z. Thus
F_{military}(x,y,z) = ( c x  s y, s x + c y + z).
We chose h_{0}=53.1° so that c=0.6 and s=0.8. Note that the floorplan is drawn rotated but without distortion.
MAPLE generated military projection.
The isometric projections are that class or parallel projections for which a round sphere projects to a round circle. The most common case is when measurements along the xaxis are plotted at 30°, those along the y axis at +150° and the vertical axis. Thus if w_{1}=(3^{1/2}/2,1/2), w_{2}=(3^{1/2}/2,1/2) and w_{3}=(0,1) are unit vectors at 30°, +30° and 90° (vertical), the isometric projection is
MAPLE generated standard isometric projection.
The general parallel projection is obtained by applying a general affine transformation of the form F(X) = AX + T. If we choose T=0 and
and measure the depth according to GH(x,y,z) = x + 2y  z and then the picture is distorted so that none of the directions measure actual length. As mentioned before, parallel lines and proportions are preserved.
MAPLE generated projection by the affine function F(X) = AX + T.
We now describe the perspective transformation. It is the composition of a rigid motion followed by the perspective transformation that reduces distant objects. The rigid motion moves the object in front of the drawing plane in such a way that the eye point ep=(x_{e}, y_{e}, z_{e}) is moved to the origin, so that the vector from eyepoint to centerpoint cp=(x_{c}, y_{c},z_{c}) toward which the eye is looking is moved to the positive yaxis and so that the vertical line through the centerpoint is drawn vertical. We shall accomplish the rigid motion by first translating the object to move the eyepoint to the origin using
T(x,y,z)=(x  x_{e}, y  y_{e}, z  z_{e}).
Let the new vector eye to center be the
displacement dp:=T(cp). Then we rotate the object around the origin. Every rotation is
the composition of a rotation around the zaxis by an angle h, around the new
xaxis by an angle k and around the yaxis by an angle
l. The three angles h, k, k are called the Euler
angles. We only need the first two rotations, and we can compute the cosines and sines involved
using only the eyepoint and centerpoint coordinates. First we rotate dp around the
zaxis so that (dp_{1}, dp_{2}) moves to (0,
r_{1}) where
r_{1} = {dp_{1}^{2} +
dp_{2}^{2}}^{1/2}. Letting s_{1} =
dp_{1}/r_{1}, c_{1} = dp_{2}/r_{1} then
the rotation is as before
R( x, y, z) = (c_{1} x  s_{1} y, s_{1} x + c_{1 }y, z).
Let rdp= R(dp)=(0, rdp_{2}, rdp_{3}) be the rotated dp. The length of rdp is the same as the length of dp which is r_{2} = {dp_{1}^{2} + dp_{2}^{2} + dp_{3}^{2}}^{1/2} = {rdp_{2}^{2} + rdp_{3}^{2}}^{1/2}. The second rotation takes rdp to (0, r_{2}, 0). Setting c_{2} = rdp_{2}/r_{2}, s_{2} = rdp_{3}/r_{2}, the rotation around the xaxis becomes
S( x, y, z) = (x, c_{2} y + s_{2} z,  s_{2} y + c_{2} z).
The composite SRT(X) = S(R(T(X))) is the desired rigid motion
The perpendicular projection is the front view or (x,z) part of the rotated object
F_{perp.}(x,y,z)= [ c_{1}(xx_{e})  s_{1}(y  y_{e}), s_{1} s_{2}(x  x_{e})  c_{1} s_{2}(y  y_{e}) + c_{2}(z  z_{e})]
and the depth is computed by GPpP(x, y, z)= s_{1} c_{2}(x  x_{e}) + c_{1} c_{2}(y  y_{e}) + s_{2}(z  z_{e}). For example, taking the eyepoint ep=(11.0,15.0,2.0) and centerpoint cp=(3.5,5.0,3.0) projects the house so:
MAPLE generated orthogonal projection.
Because light reflecting off the object travels in straight lines, the object point is seen on the drawing plane at the point where the line from the eyepoint to the object point intersects the drawing plane. The perspective transformation is simply to deduce the coordinates (u,v) on the drawing plane, which is a distance d from the origin, from the point X=(x,y,z) using triangles. The triangles (0,0):(0,d):(u,d) and (0,0):(0,y):(x,y) in the xyplane and the triangles (0,0):(d,0):(d,v) and (0,0):(y,0):(y,z) in the yzplane are similar. It follows that
Similar triangles used in computing perspective projection.
We have been using d=1 from which the perspective transformation may be calculated.
This is just the xzcoordinates of the perpendicular transformation divided by the depth (ycoordinate.) Using the same eyepoint and centerpoint as for the perpendicular transformation, we plot the house by perspective transformation.
MAPLE generated perspective projection.
Perspective transformations have the property that parallel lines on the object are mapped to pencils of lines passing through a fixed point in the drawing plane. To see this, note that each line in the rotated object lies in the plane passing through the line and through the eyepoint. This plane intersects the drawing plane in a line hence the image of a line in space is a line in the drawing. Any parallel lines in the object are parallel to the drawing plane or not. If the lines are parallel to the drawing plane (the ycoordinates on the line are constant) then the division by the depth (the y coordinate of the rotated object) is division by constant. Thus the formula reduces to a constant multiple of the numerator which is an affine transformation that maps parallel lines to parallel lines. If the parallel lines are not parallel with the drawing plane, then their image on the drawing plane passes through a fixed point, called the vanishing point. The easiest way to see this is to consider a pair of points on two parallel lines that travel together away from the drawing plane. Imagine that a wire of fixed length connects the points. Because the pair can get farther and farther from the drawing plane without letting go the wire, their perspective images get closer and closer in the drawing since the denominators are getting large whereas the difference in their (x,z) directions are bounded. Imagine the cliché of two rails of a track converging at infinity.
For general choices of the eyepoint and centerpoint, the parallel lines originally in the x, y and zaxis directions are not rotated to a position parallel to the drawing plane. Thus these three directions each have their own vanishing points. This is called threepoint perspective. The three points may not so easily seen since they may not be within the cone of vision that limits the width of our view. To illustrate one and two point perspective we change our eye and center points to guarantee some parallel lines parallel to the drawing plane.
Let us consider specific choices of eyepoint and centerpoint for which some of the objects axes are parallel to the drawing plane. Let the eyepoint ep=[6.0,15.0,2.0] and the centerpoint cp=[6.0,5.0,2.0]. Because dp=[0,20,0] no rotation is necessary. The x and zaxes are parallel to the y=1 plane. The perpendicular projection is just the front elevation and the perspective view has one vanishing point corresponding to the yaxis direction. The vanishing point is indicated (it is the position of the centerpoint.)
MAPLE generated front elevation and one point perspective projection.
Let the eyepoint ep=[16.0,15.0,2.0] and the centerpoint cp=[6.0,5.0,2.0]. This time dp=[10,20,0] so that the only rotation is about the z axis. The zaxis is parallel to the y=1 plane. The perpendicular projection is now a corner elevation and the perspective view has two vanishing points corresponding to the x and yaxis directions. The centerpoint is indicated.
MAPLE generated orthogonal and twopoint perspective projection.
Another pair of views come by taking the eyepoint ep=[6.0,5.0,9.0] and the centerpoint cp=[6.0,5.0,2.0]. This time the horizontal lines are parallel to the drawing plane but the vertical and receding lines are not. Therefore the vanishing points correspond to the vertical and receding directions.
Another MAPLE generated orthogonal and twopoint perspective projection.
The maximum view that the eye can take in is a cone of about 30° about its axis (the cone of vision.) It is possible for the computer to plot points outside the cone of vision, but such a drawing has a distortion like a fisheye camera photo. Thus usually both vanishing points aren't visible in the same scene, as in this computergenerated view of a cube with parallel lines.
MAPLE generated perspective view of unit cube showing vanishing points.
How do we locate the vanishing points in the drawing? The vanishing points for the xaxis and y axis parallels are always on the horizon line. If d is the distance from eye to drawing, then the two vanishing points in the drawing for xaxis and yaxis lines are on lines which meet at the eyepoint at 90°. This is easiest to see by imagining the top view.
MAPLE generated perspective view and construction of vanishing points from top view.
The drawing plane is a distance d from the eyepoint E. The rays emanating from the eyepoint at right angles parallel to the y and xaxes are the line segments EA and EB. A is the ucoordinate of the yaxis vanishing point V1 and B is the ucoordinate of the xaxis vanishing point V2. The vcoordinates are v=0 which corresponds to the eyelevel and horizon line. A circle whose center is on the drawing line and passes through the eyepoint intersects the drawings line at two points, say A and B for which AEB is a right angle. This is the geometric fact that a diameter AB subtends an angle 90° from any point E on the arc AEB.
MAPLE generated perspective and top view of vanishing points and their construction.
How do we measure distances in the receding direction? The idea is to figure out sets of parallel lines which transfer measurements along the baseline, a line parallel to the drawing plane, to the receding line. The projective transformation may scale but not distort distances along the baseline. To see how this works, consider the top view of a 3 x 3 square.
MAPLE generated parallel sets of measuring lines.
The baseline is the line af. The baseline has equally spaced points a, b, c, o, d, e, f in order. The spacing is the same as along the square o, c', b' a' and o d', e', f'. The square has been rotated an angle foX. The parallels to oX and the parallels to oY are along the two sides of the square. Their perspective images converge to two vanishing points. The other two sets of lines are called measuring lines. One family are the parallels oP, dd', ee', ff' measure the oX side of the square and the other set of parallels oQ, cc', bb', aa' measure the oY side of the square. This is what it looks like in perspective.
MAPLE generated top and perspective views showing parallel measuring lines, vanishing and measuring points.
Because the lines connect equally spaced points, the triangles fof' and aoa' are isosceles. This means that if the line oW is chosen so that the angle foW bisects the angle foX, then the lines oP and oW are perpendicular and the angle Similarly, the triangle aoa' is isosceles so the angle But since the total angle of a triangle is and since they are supplementary, It follows that so These angles may be easily constructed on the circle.
MAPLE generated top view for constructing vanishing points and measuring points.
As before, we locate the eyepoint E and centerpoint O on the drawing and let line EF be parallel to AB. The sides of the box from the previous diagram are along the rays EA and EB so that the vanishing points in the drawing are located at A and B. Since a line intersects parallel lines so that opposite angles are equal, Draw a circular arc with center B and radius BE until it meets the drawing plane line AB at M1. EBM1 is a similar triangle to fof' so Thus M1 is the point where the eye views the first family of measuring parallels; thus M1 is the vanishing point for this set of parallels. Similarly, so that if one draws a circle with center A and radius AE then this circle intersects the picture plane line at M2. Now the angle so that the point M2 is the vanishing point for the second family of measuring lines. Now we can use the measuring lines to mark off equispaced points on the perspectively receding lines.
MAPLE generated measuring lines viewed in perspective and their construction viewed from the top.
We mark off equally spaced points af on the baseline as before. The lines oV1 and oV2 correspond to the bottom edges of the box. Moving up one unit from o gives the upper corner of the box and the rays to V1 and V2 give the upper front edges. Now, the first measuring family was chosen so that the intersections with the right front edge were points spaced the same distance apart as on the baseline. Thus, where the lines dM1, eM1 and fM1 intersect oV1 are the equally spaced points d', e' f' in the perspective drawing. Similarly, the measuring family of parallel lines for the left side of the box have a vanishing point at M2. The intersection of aM2, bM2 and cM2 with oV2 correspond to the equally spaced points a', b', c' on the line oV2. The rest of the box is constructed by extending the vertical lines up from a'f'. If one is using twopoint perspective, these are truly vertical in the uvplane. Otherwise you have to use the vanishing point corresponding to the vertical family (which is probably way below the picture.)
MAPLE generated measuring lines viewed in perspective and their construction viewed from the top.
One is taught in drawing class, that circular objects in threedimensional Euclidean Space are drawn in perspective as ellipses. The usual construction is to draw a square around the circle, and then project the perspective view of the square by finding its edges using the vanishing points and measuring points, the center by drawing the diagonals, and then sketching the projected circle by drawing it tangent to the projected square. A beginner will sometimes make the mistake of trying to make the tangency points the same as the endpoints of the axes of the ellipse, but they are not the same as seen in the p. 17 figure. But why is the image exactly the ellipse and not some other closed curve?
We shall answer this question by figuring out the equation of the image of the circle on the perspective drawing. We'll be using the methods of analytic geometry, where curves are represented by equations. Thus we shall describe a circle in three space by describing it as the locus of points satisfying certain equations. We then compute the corresponding perspective locus in terms of the Cartesian coordinates of the drawing plane. Finally, after some simplification, we will be able to recognize the curve as an ellipse.
The conic sections in the plane are given as the locus, that is the set of all points (u,v) in E^{2} which satisfy a quadratic equation of the form
(1.)
au^{2} + 2buv + cv^{2} + eu + fv + g = 0,
where a, b, c, d, e, f, g are constants. This can be deduced from the geometric description of the conic section as the intersection in three space of a plane with a right circular cone. All possible conic sections arise this way including degenerate ones such as lines and points and the empty set. For example if a=b=c=0 then
e u + f v + g = 0
is the equation of a line and if a=c=1, b=0, d=2u_{0}, e=2v_{0}, g=u_{0}^{2}v_{0}^{2} then
a u^{2} + c v^{2} + e u + f v + g = (uu_{0})^{2} + (vv_{0})^{2} = 0
is satisfied only by one point (u,v)=(u_{0},v_{0}) whereas
u^{2} + v^{2} + 1 = 0
has no real solution at all. On the other hand if the discriminant
D = a c  b^{2}
is negative, then the conic is a hyperbola, if D=0 the conic is a parabola and if D is positive the conic is an ellipse. The easiest to see are the canonical conic curves given by the formulae
Of course if a=b the ellipse is a circle.
Now let's see what a projective transformation looks like analytically. For simplicity, we assume that the set is located in front of the observer (all points of the circle satisfy y0.) Then the horizontal and vertical coordinates of the drawing plane (points which satisfy y=1) are
(2.)
where (x, y, z) runs through all points of the original set. Now suppose that we consider a circle in space with center (x_{0}, y_{0}, z_{0}) and radius r and which lies on a plane not parallel to the drawing plane. By a rotation around the yaxis, we may arrange that the intersection line of the circle plane and the drawing plane is horizontal. In other words, the equation of the plane through the center of the circle sloping away from the drawing plane with slope m is given by
(3.)
z  z_{0} = m (y  y_{0}).
To be able to see the circle, we require that the eyepoint (0, 0, 0) is not on the plane of the circle, which means z_{0} does not equal m y_{0} . The circle also lies on the sphere of radius r centered at (x_{0}, y_{0}, z_{0}), which has the equation
(4.)
(x  x_{0})^{2} + (y  y_{0})^{2} + (z  z_{0})^{2} = r^{2}.
The circle is the collection of points satisfying both (3.) and (4.) These are projected using (2.) to the drawing plane. By substituting (3.) into (4.),
(5.)
(x  x_{0})^{2} + (1 + m^{2})(y  y_{0})^{2} = r^{2}.
We are trying to see how these equations relate u to v. Using (2.), we substitute in the equations (3.) and (5.)
v y  z_{0} = m (y  y_{0})
so
Substituting into equation (5.) and multiplying by (v  m)^{2} yields
[u(z_{0}  m y_{0})  v x_{0} + m x_{0}]^{2} + (1 + m^{2})(z_{0}  v y_{0})^{2} = r^{2}(v  m)^{2}.
Multiplying out and collecting factors of u^{2}, uv, ... yields
(z_{0}  m
y_{0})^{2}u^{2} + 2 x_{0}(z_{0}  m y_{0})u v +
[x_{0}^{2} + (1 + m^{2})y_{0}^{2} 
r^{2}]v^{2} +
2 m x_{0}(z_{0}  m y_{0})u + 2[m
r^{2}  m x_{0}^{2}  (1 + m^{2})y_{0} z_{0}]v +
[m^{2} x_{0}^{2} + (1 +
m^{2})z_{0}^{2}m^{2}r^{2}] = 0.
Thus (u,v) satisfy a quadratic equation in the plane. The discriminant is
D= (z_{0}  m y_{0})^{2}[x_{0}^{2} + (1 +
m^{2})y_{0}^{2}  r^{2}]  (z_{0}  m
y_{0})^{2}x_{0}^{2}
= (z_{0}  m
y_{0})^{2}[(1 + m^{2})y_{0}^{2}  r^{2}].
Since the eyepoint is not on the plane of the circle z_{0}  m y_{0} > 0. Since the circle is in front of the y=0 plane, the point (x_{0}, 0, z_{0} + m y_{0}) which is both in the y=0 plane and on the circle plane is can't be on the circle, in fact it is farther from the center than any point of the circle, hence
(1 + m^{2})y_{0}^{2}  r^{2} 0.
Thus D > 0 and the locus is an ellipse.
Perspective view of the circle
Here is a diagram from Alberti's treatise. The square that surrounds the circle projects to a trapezoid. The circle itself projects to an ellipse which is tangent to all four sides of the trapezoid. Observe that the left and right endpoints of the axes of the ellipse where the ellipse is widest occur below the tangency points. But be careful when drawing the ellipse which is not centered on the eyepoint to centerpoint line!
The original impetus to projective geometry came from perspective drawing. Alberti's textbook Della Pittura (1435) formulated new questions that tempted mathematicians to study new questions beyond those addressed by the Greeks. If two artists make perspective drawings of the same object, their drawings will not be the same, for example because different parts of the object will be closer to each of the the two artists. But what properties of the drawings remain the same? (Diagram of Alberti's question.)
The perspective projection, which takes points X of the object which are in three space and plots them as points P on the drawing plane. Let us write this
P=f(X).
It has the property that points are mapped to points and lines to lines. However, parallel lines in three space which are not parallel to the drawing plane must be drawn to converge at their vanishing points. Thus the correspondence between lines and points in three space and lines and points on the drawing isn't perfect. Thus if L_{1} and L_{2} are parallel lines in three space then f(L_{1}) and f(L_{1}) are lines which intersect at V their vanishing point. However L_{1} and L_{2} don't intersect at any point. In the diagram, lines AB, CD and E'V' are parallel. Their projections A'B', C'D' intersect at a point V' which is called the vanishing point since it has no corresponding point in three space.
The solution was proposed by Girard Desargues (15911661) a self educated man who worked as an architect after leaving the army. His opus with the ponderous name, Broullion project d`une atteinte aux événemens des renconteres du cône avec un plan, (1693) which describes projective methods in geometry went unnoticed. JeanVictor Poncelet (17881867), an engineer in Napoleon's army reworked the theory in Traité des proprietiés projectives des Figures(1822) while a prisoner of war in Russia in 1813 [KF]. This elevated Desargues work in projective geometry to one of the success stories of synthetic geometry, whose merits versus analytic geometry were being debated at the time. We sketch two theorems from projective geometry. For a more rigorous treatment, the reader should consult any of a number of texts, such as O'Hara & Ward [OW] or Wylie [WC].
To complete the correspondence, Desargues introduced ideal points, called points at infinity one for each set of parallel lines. The points at infinity don't contradict any axioms. They function as a convenience since now every pair of lines intersects at one point, the case of parallel lines does not have to be treated as an exceptional case. The following is now called Desargues' Theorem of Homologous Triangles.
Theorem. Suppose there is a point O and triangles ABC and A'B'C' in the plane or three space. If they are projectively related from the point O, that is, the triples {O, A, A'}, {O, B, B'} and {O, C, C'} are all collinear. Then the points of intersections of the corresponding sides AB and A'B', AC and A'C' and BC and B'C' (or their prolongations) are collinear. Conversely, if the three pairs of corresponding sides meet in three points which lie on one straight line, then the lines joining corresponding vertices meet at one point (are projectively related.)
The proof is easier for the case that the triangles are not coplanar. See Dörrie [HD] or Meserve [MB] for proofs.
Diagram of Desargues' Theorem of Homologous Triangles.
To see how we may use projective geometry directly to argue that the perspective image of a circle is an ellipse, we use a theorem due to Blaise Pascal (16231662). Pascal, who was urged to investigate the relationship between projectivities and conics by Desargues, published his Essai sur les Coniques when he was sixteen. Although he didn't prove the converse part, the theorem is known as Pascal's Hexagon Theorem.
Theorem. Let a hexagon be inscribed in a (nonsingular point) conic. Then the three points of intersection of pairs of opposite sides are collinear. Conversely, if the opposite sides of a hexagon, (of which no three vertices lie on a straight line) intersect on a straight line, the six vertices lie on a nonsingular pointconic.
Diagram for Pascal's Hexagon Theorem.
Pascal's Theorem may be used to deduce that the perspective image of a circle is an ellipse. Thus if c is the circle and f(c) is its image in a perspective drawing relative to the eyepoint O, then we have to show that if any six points A, B, C, D, E, F are chosen on f(c) so that no three of them lie on a straight line then the pairs of opposite sides intersect in collinear points. Then by the converse of Pascal's Theorem, the six points lie on a nonsingular pointconic. But since five points determine a conic, the sixth point which may be any general point of f(c) must be on the same on the conic. It follows that no matter which six points are chosen, they lie on the same conic, thus f(C) is (part of) a single pointconic. One argues that f(c) is bounded and nondegenerate thus can only be the ellipse. But the six points are in perspective correspondence to points A', B', C', D', E', F' on c which is a circle, hence a pointconic. Therefore, by Pascal's Theorem, the pairs of opposite sides (A'B' and E'D'), (B'C' and F'E'), and (C'D' and A'F') intersect at points P', Q', R' respectively, which are collinear in the plane of c. Their perspective images P, Q, R in the plane of F(c) must also be collinear since the perspective image of a line not containing O is a line. Moreover the planes OA'B', OE'D' contain the edges AB, ED, resp., since they are perspective to each other, and thus the planes intersect along the line OP'P. In other words, the point P is the intersection of the edges AB and ED. Similarly Q is the intersection of the edges BC and FE and R is the intersection of the edges CD and BF. Thus P, Q, R are collinear and we are done.
An analytic version is in the previous section Analytic Treatment of the Perspective View of a Circle.
Without going very deep into computer science complications, we explain something about the mathematics behind computer drawing. Computer science issues are treated, e.g. in [PP]. One of the ways that a computer renders threedimensional object is to build up the image from little constituent pieces. The object is regarded as a collection of polygons. The visual position of each little piece is computed and the polygons are drawn one polygon at a time. The computer screen is given a Cartesian (horizontal and vertical axis) coordinate system and the polygon is drawn specifying the position of each P=(u,v) of its vertices. For example, as the three triangles red (0,0),(4,1),(1,.5), green (4,2),(1,.5),(4,1) and blue(4,2),(3,1.5),(3,1.5) are drawn, each one covers the previous ones.
If for example, we wish to draw the front elevation of the an object in space consisting of the three triangles [(0,1,0),(4,0,1),(1,1,.5)], [(4,1,2),(1,0,.5),(4,1,1)] and [(4,1,2),(3,0,1.5),(3,1,1.5)] viewed toward the +yaxis, we have to draw the triangles as before, because the projection is given by
F(x, y,z )=(x, z).
This would result in an incorrect picture because one of tips of each triangle is closer to the viewer than some one of the other triangles. e.g., the base of the first triangle (0,1,0),(1,1,.5) at y=1 is farther from the viewer than the remaining vertex (4,0,1) at y=0. Another source of error would be if polygons in the object actually intersected. To correctly render the front elevation, the triangles have to be subdivided further into parts and the parts in front have to be drawn on top of parts in back.
The most fundamental way to depict depth in a picture is overlapping closer objects over farther ones. In general it is quite involved to decide if some part of the object can be seen or not. The simple way to deal with this is to draw all polygons of the object back to front. Some of the polygons which are in back of the object eventually get completely covered up. This is called the painter's algorithm. The way it works in our MAPLE program, first we compute the distances of each point to the eye. Then a typical distance is given for each polygon, which in our case is the distance to the nearest point. Then the polygons are sorted according to their typical distances, and are rendered back to front. Our program does not try to account for complicated overlaps or intersections so will sometimes render objects incorrectly. To illustrate the painter's algorithm, suppose we render a cube. The faces are drawn back to front, depending on the distance of each side to the viewer. In the example, the sky being farthest is drawn first, followed by the earth, the back face, the base, the sides, the top and finally the front, eventually covering up all but two sides.
Another way of rendering a threedimensional object is called ray tracing. In ray tracing, the computer follows light rays back from the eye to a point on the object from where it figures out how intense the light is and what its color is by following back the rays which illuminate that point. This can continue for several stages. At each stage the computation accounts for surface properties like shine and color and body properties such as refractive index and transmittivity. An example of ray tracing is a rendering of the same house made by the program POVRay^{TM} (Persistence of Vision^{TM} RayTracer Version 3.1.) We have specified that the body be made of gray glass and be positioned on a chessboard.
To get a sense of what is state of the art in raytracing, visit Steven Parker's website Interactive Ray Tracing  MPEG demo at the Scientific Computing and Imaging Institute http://www.sci.utah.edu/index.html in the Graphics and Visualization group http://www.cs.utah.edu/research/areas/graphics/ in the School of Computing at the University of Utah.
F(x,y,z) = x^{2} + y^{2}  c^{2} z^{2} = 0
where c0 is constant. Suppose T:E^{3} > E^{3} is a rigid motion, and T^{1} is the inverse motion. Show that the equation of the general right circular cone T(C) is
F(T^{1}(X))=0.
where X = (x, y, z). Using this fact, show that the points of the intersection of the cone T(C) with the plane z = 0 also satisfy equation (1.)
Last updated: 07 / 24 / 01