Game Development Reference
In-Depth Information
formation, such as
The Sims
or
Diablo III
, also use orthographic projections.
Fig-
ure 4.5
illustrates a 3D scene that's rendered with an orthographic projection.
Figure 4.5
Top-down view of an orthographic projection (a), and the resulting
2D image onscreen (b).
The other type of projection commonly used is the
perspective projection
. In this
projection, objects further away from the camera are smaller than closer ones. The
majority of 3D games use this sort of projection.
Figure 4.6
shows the 3D scene
from
Figure 4.5
, except this time with a perspective projection.