Professional Documents
Culture Documents
Introduction
Classification of CG
Based on Applications
Business or Presentation Graphics
Scientific Graphics
Scaled drawings
Classification of CG (contd..)
• Non Interactive CG - User/Observer has
no control over the pictures/images on the
screen.
– Ex: Titles displayed on TV system or other
computer art.
• Business Graphics - Used to present
the quantitative information and
performance of an industrial plant or
Business organization
– Ex: Bar charts, Pie charts etc.,
• Scientific Graphics - Includes program
flow charts, control flow diagrams, curve
fittings, X-Y plots etc.,
• Scaled drawings - Includes architectural
representations, building drawings, bridge
sketch, machine drawings etc.,
• Cartography, drafting, raster painting,
animation and artwork.
INTRODUCTION TO COMPUTER GRAPHIC S
Digital Electrical
Display Memory
Display
000000000000000000000
Display Controller device
000000011111111000000
000000000000000000000
Display
Refresh Buffer commands
Representative uses of CG
(Applications of CG)
• Used in areas such as - Industry, business,
Government, Education, Entertainment, and
at home.
Representative uses of CG
(Applications of CG)
• In Simulation and animation for scientific
visualization and entertainment - Computer
produced animated movies and displays of the
time-varying behavior of real and simulated
objects are becoming increasingly popular for
scientific and engineering visualization. Using
these, we can study the mathematical models of
the fluid flow, nuclear and chemical reactions.
• Art and Commerce: In advertising, to express
a message, and attract attention. i.e., at
museums, supermarkets, Transportation
terminals, and hotels.
• In Process Control systems: Status displays
in refineries, power plants, and computer
networks, and in Military: to view number and
position of vehicles, weapons launched, troop
movements, causalities.
• Cartography: to produce both accurate and
schematic representations of geographical and
other natural phenomena from measurement
data. Ex: Geographic maps, relief maps,
exploring maps for drilling and mining,
oceanographic charts, weather maps etc.,
INTRODUCTION TO COMPUTER GRAPHIC S
Definitions
• Pixel: Smallest unit/part of picture. P(X,Y)
• Resolution: Maximum number of pixels
that can be displayed on a screen area
without overlapping. Ex: 640x480,
1024x1024, 300x200 ( Depends on the
Driver/Adapter)
• Some common Graphics Adapters: CGA,
VGA, EGA, Herculous, IBM etc.,
CGA operates in CGAC0, CGAC1, CGAC2
modes
VGA operates in VGALO, VGAHI, VGAMED
modes
Note: With respect to different driver/
adapter and the mode , Resolution of the
Screen differs.
• Aspect ratio: It is the ratio of Maximum
number of pixels on vertical to the Maximum
number of pixels on horizontal direction.
Usually aspect ratio must be ¾ for better
resolution/appearance.
INTRODUCTION TO COMPUTER GRAPHIC S
2D Primitives
Line Polyline
Y Y
X X
Polygon Circle
Y Y
X X
INTRODUCTION TO COMPUTER GRAPHIC S
Curves
• Piecewise linear approximation
(“duck”)
Mathematical Splines
Example 3D Primitives
Polyline Polyhedron
Sphere Patch
Graphics
Application Application
Library Graphics
model program
(GL) System
INTRODUCTION TO COMPUTER GRAPHIC S
Decomposition of a Geometric
Model
• Divide and Conquer
• Hierarchy of geometrical components
• Reduction to primitives (e.g., spheres,
cubes, etc.)
• Simple vs. not-so-simple elements (nail
vs. screw)
Head
Shaft
Point
composition decomposition
INTRODUCTION TO COMPUTER GRAPHIC S
Environmental (R)evolution
• Graphics has been key to technology
growth in evolution of computing
environments:
– graphical user interfaces (GUIs)
– visual computing, e.g., desktop publishing,
scientific visualization, information
visualization
Apple iPhoneTM
Leapfrog PadTM
INTRODUCTION TO COMPUTER GRAPHIC S
Comparison in Hardware