Chapter One
Chapter One
1 ) INTRODUCTION TO INTERACTIVE
COMPUTER GRAPHICS
Introduction to interactive Computer Graphics . . .
2
Going to Electric
Papers are an output medium for computers is useful
and persist today.
Laser printers and color inkjet printers have replaced
crude ASCII art with crisp presentation quality and
photographic reproductions of artwork.
Paper and ink, however, can be expensive to replace on
a regular basis, and using them consistently is wasteful
of our natural resources, especially because most of the
time we don’t really need hard-copy output of
calculations or database queries.
1.1 Brief history of computer Graphics . . .
7
21
- These are highly parallelized and very fast. Just as important, the
programmer can reconfigure how the card works to achieve virtually
any special effect imaginable.
Basic 3D Programming Principles
- Not a Toolbox: OpenGL is basically a low-level rendering API. You
do not tell OpenGL to “Draw this model over there”—you have to put
together a model yourself by loading the triangles and applying the
necessary transformations as well as the proper textures, shaders ,
and if necessary blending modes. This gives you a great deal of low-
level control. The beauty of using a low-level API such as OpenGL
instead of a higher level toolkit is that you cannot only re implement
many standard 3D rendering algorithms, you can invent your own and
even make new discoveries for shortcuts, performance tricks, and
artistic visualization techniques.
Common Uses for 3D Graphics. . .
33
Classification of projection
Projection
Perspective projection
Parallel projection
Orthographic
Oblique
Simple Two Three
point Point Point
Common Uses for 3D Graphics. . .
42