Introduction To Computer Graphics Graphics Primitives & Devices (UNIT-I)
Introduction To Computer Graphics Graphics Primitives & Devices (UNIT-I)
“Computer Graphics is a Branch of Computer Science, which deals with generation of image
& pictures using the concept of Pixels.”
For easy understanding we divide (C.G) in to 2 parts i.e. Computer + Graphics and then
understand as-
“The Computer is an Information processing machine. It is a tool for storing, manipulating
& controlling Data. There are many ways to communicate the processed information to the
user. The Computer Graphics is one of the most effective & commonly used way to
communicate the processed information to the user which makes it possible to express data
in pictorial form.”
Computer Graphics is a field which deals with pictures and images. In literature, one can
find many definitions of Computer Graphics, of which a few are given below-
According to computer terminology computer program is the collection of algorithm and data
structure. In the same convention computer graph has been defined as the collection of data structure,
graphic algorithms & any high level language. We can use any of the higher level language like C, C+
+, Java or any of the Graphics packages like Maya, 3-D MAX or Flash to generate graphics of our
choice.
Computer Graphics need a logical mind and mastery over a programming language to succeed. This
Field is becoming popular day by day & there are a large no. of opportunities to be explored.
Computer graphics is the field of Computer Science in which we are interested in generating objects &
images using pixels (picture elements). It started with elementary programs like point, line & circle
generation. Earlier Graphics systems used primitives to generate simple graphics. But with the
development of interactive input & output devices and the technology, it is possible virtually to design
anything on the computer system. Animation and cartoons have reached high quality.
With the use of Advanced Graphics. The scene showing Titanic sinking in the sea was possible
through Graphic design with Maya. The movies like Spiderman, Superman, and Hanuman etc. have
generated special effects using Computer Graphics.
Multimedia, CAD and CAM have all been possible because of Computer graphics.
Non-Interactive Computer Graphics-This is also called Off-line Graphics. Once the graphics
program is developed, the user has no control over the display even if he/she wishes to change the
display. E.g- Static Web Page (Using HTML) where user has no control over the contents.
Interactive Computer Graphics- This is also called On-line Graphics. User can dynamically control
the display on the monitor. Display is controlled by Mouse, Keyboard, Trackball, Joystick etc. This is
known as Interactive Computer Graphics (ICG), Because user can interact with & control contents,
formats, size or the color on the display surface by means of interaction devices.
Cartoons, Special effects in movies (e.g. in Avatar, Dinosaurs of Jurassic Park), video games &
dynamic websites (using Dynamic HTML) are all making use of ICG.
COMPONENTS OF COMPUTER GRAPHICS / HOW ARE PICTURES ACTUALLY
STORED & DISPLAY-
1. DIGITAL MEMORY
2. MONITOR
3. DISPLAY CONTROLLER
Using these components, we are able to see the o/p on the screen in form of Pixels(Picture
Element).Following is the explanation of these components:-
Digital Memory Buffer: This is the place where images or pictures are stored as an array ( in matrix
form of 0 and 1,O represents darkness & 1 represents image or picture).This is also called Frame
Buffer. In today’s terms, frame buffer is called V-RAM (Video RAM).It helps to store the image in
bit form. And to increase the Speed of graphics.(Sometimes we watch movie on our P.C and the
movie runs slowly. System engineer is then called for. He comes & fits a V-RAM (in Mega bytes) into
our system and the movie runs perfectly).
TV Monitor : Monitor helps us to view the display & they make use of CRT (Cathode Ray Tube)
Technology.
Display Controller: It is an interface between Digital Memory Buffer and TV Monitor. Its job is to
pass the contents of Frame Buffer to the monitor. This passing has to be fast for steady display on the
monitor. The image must be passed repeatedly to the monitor to maintain a steady picture on the
screen. The display controller reads each successive byte of data from the F.B memory and converts
0’s & 1’s into corresponding video signal. This signal is then fed to the TV monitor to produce a Black
& White picture on the Screen. (Display Controller is also capable of displaying image in colors).
FRAME
BUFFER DISPLAY CONTROLLER MONITOR
APPLICATIONS/ USES OF COMPUTER GRAPHICS-
With the increasing use of graphics in the information technology, it is very difficult to find out an
area which has remained untouched by Computer Graphics. There are countless no. of areas exists
where computer graphics is used extensively. Some of them are-
“Virtual Reality is an artificial intelligent, created with computer h/w & s/w and presented
to the users in such a way that it appears & feels like a real world environment.” Computer
Graphics is extensively used in Virtual Reality. This is the field which is used in training
centers. Etc
(a) Mechanical Design Field: Presently engineers use C.G for designing & developing
mechanical parts, specially for the complex design equipments.
(b) AERO- Dynamic Modeling & Design Field: The design of airplane is very
difficult considering its velocity, air pressure, light weight and other factors. C.G is
very much useful in such kind of situations & other designing fields.
PCB & Electronic Circuits Design field: Printed Circuit Board (PCB) is made of
using (1’s & 0’s) & used in almost all electronic circuits .The design of PCB is very
sophisticated type of design where Thousand of IC’s are on the Circuit Board
(PCB). C.G made it possible to minimizing the Labor cost & Time.