Académique Documents
Professionnel Documents
Culture Documents
3D Graphics Demystified
Creating Worlds
Almost all computer systems shipped today – The Applications Conundrum
from the humblest sub-$500 PC to the most
The most prevalent 3D graphics applications for
sophisticated workstation – have some form of
personal computers have been games. However,
3D graphics. But most of the marketing and
as CPUs and graphics processors become more
advertisements never really describe what 3D
powerful, other applications are emerging. Some
graphics are or why 3D graphics are useful.
are high-end, supercomputer-class applications
There's often a vague association with computer
migrating down to the PC, such as the
games, but little else.
geophysical visualization applications used by
oil companies. But other types of applications
The Purpose of 3D Graphics are emerging as well. The business world, long
mired in the static, 2D spreadsheet, is slowly
3D graphics in general are used to create realistic discovering that 3D graphics can allow a faster
looking environments that are visible through the grasp of complex business data. Virtual
2D screen of a computer monitor. These shopping or real estate browsing is now possible
environments are designed to be fully immersive as well.
– meaning the user can "see" or "move" in any
direction, at will. The most sophisticated of
these environments are highly interactive, Enter 3D Graphics Hardware
allowing users to move or change the appearance
You can think of the graphics chip on a 3D
of objects.
graphics card as a special CPU that can perform
specific types of calculations and move certain
The Challenge of Interactivity types of data around very, very fast – much
faster than the Pentium III or other processors.
You may have seen the stunning visual images In fact, 3D graphics processors such as the
that exist in the computer game Myst. In fact, GeForce 256™ from NVIDIA are referred to as
Myst is not interactive at all, but a series of pre- GPUs – graphics processing units. The job of
rendered pictures that are brought up each time handling the various parts of an application is
you take a "step" in the world. You cannot turn split up. Think of it as an assembly line, with the
in any direction, only in fixed increments. You CPU as the foreman and other processors – like
can't take a virtual swim in the water, nor can the graphics chips – as assembly line workers
you "climb" on top of the many buildings you that can do specific jobs very well. In fact, even
see. While the authors used 3D graphics tools to within the graphics chip, there's an assembly line
create the images, they are simply a series of of sorts. We'll talk about that in the next few
static images. pages.
A movie is not interactive, either. Movies like A
Bug's Life or Jurassic Park make heavy use of
computer graphics, but those are all pre-
generated – you can’t manipulate the objects on
the screen.
Creating a 3D world that's visible on your
computer screen is a mathematically challenging
application. Allowing a user to manipulate or
interact with the virtual environment at will, in
real time, is the goal. Even the fastest Pentium®
III processor cannot do an adequate job of
generating graphics which look realistic and
allow fluid, realistic movement through that
world.
When looking at reality, we don't pay
attention to the things we can't see.
The Real World window, we see the woman walk out to the car.
A moment ago, she was hidden, but then moved
Imagine you're standing at the kitchen window into view. The car leaves the driveway, heads
of a house. The sink is in front of you and you into the distance and disappears. If we can
can see clearly out the window above the sink. "lean" forward in our view, we may see the tree
Outside, you see a driveway with a car. A to the left of the window. The graphics
woman walks into view, gets in the car and programmer – and the graphics software – needs
drives away. to keep track of things like the woman who
This is a pretty prosaic scene, but think about it moves into view, or the tree we can't
for a moment. You can see out the window. But immediately see. There's a tremendous amount
what's to the left and right of the window frame? of detail that must be considered. When the car
Where did the woman come from? How did the drives away, how far will it be visible? How
car appear as it drove into the distance? detailed is the computer model of the car? How
realistic are the woman's movements and
Now imagine that you can walk around while the appearance?
above events are taking place. You turn around
and notice what's behind you – not a façade (as
on a movie set), but the cabinets, refrigerator and
other typical items that exist in a kitchen. You
turn around, open the window, and lean out,
noticing a tree to the left of the window that was
hidden by the wall.
Breaking It Down
The problem of creating a virtual world with
three-dimensional attributes on your computer
monitor has been studied for many years. Like
most problems, it can be broken down into
component parts. Think of the process of
generating 3D graphics as an assembly line.
Like the factory assembly line, there are
specialists that can handle specific jobs well:
unprecedented level
Offloading graphics from the CPU to the GPU
leaves more CPU cycles for physics, collision
detection and AI, which makes for a richer
gaming experience.
Today's Applications
In the past three years, the hardware in your PC
that handles the graphics chores went through a
revolution. Three years ago, finding a graphics
adapter that could accelerate any part of our
four-step 3D pipeline wasn't easy. Today, you
cannot buy a computer that doesn't have some
flavor of 3D graphics hardware already installed.
It was inevitable that game designers would
adopt the new generations of 3D processors.
Simulators such as flying and driving games, and
action games like Quake, all try to create a
virtual world that allows the user to move around
in it at will in any direction – unlike older-
generation games.
However, other types of applications are taking
advantage of 3D.
Imagine, for example, real estate shopping on the
web. You'll be able to "walk through" houses
that are still being built in real time yet look
complete on your screen. You could look out the
window and check out the view. You could even
get measurements of rooms to figure out
furniture arrangement.
Another possible application is business
visualization. One of the hot trends in business
data mining which involves huge repositories of