Documente Academic
Documente Profesional
Documente Cultură
1.1 3D space
1.1.1 2D versus 3D
Human beings live in a 3D world, but when they draw they work with a 2D
representation of the 3D world. There are two approaches to this:
Since in computer graphics the graphics devices (screens) are 2D, both of these
methods are used, each corresponding to a different approach to modeling, graphic
systems, and applications.
A graphics system is said to be 2D if the internal representation of the graphic
information in the computer is 2D; a graphics system is 3D when the computer has
knowledge of 3D information. There is a fundamental difference between the two
approaches. When an image of a house in perspective is displayed on a screen, it may
not be possible to determine whether the image was produced with a 2D or a 3D
system. The house may have been drawn in perspective and the projection entered
into the computer using a 2D graphics system; in this case, the role of the system is
simply to display the image. The house may also have been generated by a 3D
graphics system using 3D data; in this case, the system calculated the projections
before displaying the image. It is important to note that when we discuss 3D images
in this book, we are referring to images based on 3D models stored by the computer
and not 3D techniques like stereoscopic views (see Sect. 2.4.4) or holography.
It should be noted that 2D space can be viewed as a special case of 3D space, with
the third dimension Z always zero. For this reason, we shall use a 3D system in such
a way that the third dimension is simply added to the 2D system as shown in Fig.
1.1.
- Wire-frame representations
- Surface representations
- Volume representations
y
YA~
4 4 P= <4,
P=<3.8, 2.8>
3 3
2·- 2
1 f-
..
,...
1
4
0 1 2 3 4 X 0 1 2 3 X
a b
Fig. 1.1. Coordinate system. a2D; b 3D