Computer Graphics
Computer Graphics
What is Graphics?
A graphic is an image or visual representation of an
object. Therefore, computer graphics are simply images
displayed on a computer screen. Graphics are often
contrasted with text, which is comprised of characters,
such as numbers and letters, rather than images.
Introduction
Computer is information processing machine. User
needs to communicate with computer and the
computer graphics is one of the most effective and
commonly used ways of communication with the
user.
It displays the information in the form of graphical
objects such as pictures, charts, diagram and
graphs.
Graphical objects convey more information in less
time and easily understandable formats for
example statistical graph shown in stock
exchange.
In computer graphics picture or graphics objects
are presented as a collection of discrete pixels.
We can control intensity and color of pixel which
decide how picture look like.
The special procedure determines which pixel will
provide the best approximation to the desired
picture or graphics object this process is known as
Rasterization.
The process of representing continuous picture or
graphics object as a collection of discrete pixels is
called Scan Conversion.
History
It would be stupid to summarize the development of
the entire field of computer graphics in one bullet list,
so here goes:
Before there was interactive computer graphics,
there was non-interactive graphics with several
thousands of years of experience and expertise.
Ivan Sutherland invented a good part of modern
interactive graphics in the 1960's for the system
called "Sketchpad" that was his Ph.D. thesis.
Graphics was done using vector displays and pen
plotters; input with light pens.
Characteristics
Itwon’t be wrong to say that digital computers have
changed the way we think about and imagine pictures.
Most of the exciting images we see on TV, most of the
cute picture along with sports commentaries ,
documentaries and almost all the computer games are
made possible through the magic of computer graphics
packages.
Some of the major characteristics of computer
graphics may be listed as follows:
1. The interactive nature and the preview
capability of computer processing. One can create
a drawing, modify it as required, look at it from various
angles and in different styles, and arrive at a
satisfactory final version quickly and pleasantly. This is
the most efficient characteristic of modern computer
usage but is often taken completely for granted.
2. Computer graphics is not only pretty and
impressive to look at but also very user-friendly,
making its operation a joy and an adventure. Modern
computer packages have made it very easy for anyone
with some computer training and experience to use
these packages for quickly and neatly producing
complicated drawings that would have taken draftsman
many days and weeks of efforts. In these packages it is
very easy to color, hatch or shade at the touch of a
button that would take hours for a veteran artist to do
by hand.
3. But the ease of production of these high
quality graphics does not come cheap. For,
a) A good graphics package will cost a fortune.
b) The hardware to run the package will also be quite
expensive, involving large storage, very high-resolution
monitors, and fast machines with math co-processors
to speed up the countless calculations involved.
c) Even to use a package efficiently, it would need
proper and formal training from experienced staff.
4. Finally, as with most other computer applications, it
must be remembered that invariably it is not the
computer that makes mistakes, it is the person
entering the data or using the command. Same is true
for computer graphics and its applications.
Components
Hardware Components
Interactive computer Graphics consist of three
components namely digital buffer, TV monitor
anddisplay controller. Using these components, we are
able to see the output on the screen in form of pixels
(Picture elements). Following is the explanation of
these components:-
1.Digital Memory Buffer:-
This is a place where images and pictures are
stored as an array (matrix of 0 &1, 0 represents
darkness and 1 represents image or picture). This
is also called frame buffer. In today'sterm frame
buffer is called V-RAM (video RAM) and it helps to
store the image in bit form. It helps toincrease the
speed of graphics (sometimes we watch movies on
our computer system and movie runslowly. System
engineer is then called for. He comes and fits in V-
RAM (in Megabytes) into our systemand movie
runs perfectly.
2.TV Monitor: -
Monitor helps us to view the display and they make
use of CRT technology (Cathode rayTube).
3.Display Controller:-
It is an interface between Memory Buffer and TV
Monitor. Its job is to pass thecontents of frame
buffer to the monitor. This passing has to be fast
for steady display on the monitor(depending upon
the material of the system). The image must be
passed repeatedly to the monitor tomaintain a
steady picture on the screen. The display controller
reads each successive byte of data from FBMemory
and converts 0's and 1's into corresponding video
signals. This signal is then feed to the TVmonitor to
produce a black and white picture on screen. In
today's term, display controller is recognizedas a
display card and one of our choices can be VGA
card with a resolution of 640x480.(Display
Controlleris also capable of displaying image in
colors).
Software Components
1. Modeling:
Defining objects in terms of primitives, coordinates
and characteristics
2.Storing:
Storing scenes and images in memory and on disk
3.Manipulating:
Changing the shape, position and characteristics of
objects
4.Rendering:
Applying physically based procedures to generate
(photorealistic) images from scenes (usinglighting
and shading)
5.Viewing:
Displaying images from various viewpoints on
various devices
Advantages
Computer Graphics is one of the most effective and
commonly used ways of communication with
computer.
It provides tools for producing picture of “real-
world” as well as synthetic objects such as
mathematical surfaces in 4D and of data that have
no inherent geometry such as survey result.
It has ability to show moving pictures thus possible
to produce animation with computer graphics.
With the use of computer graphics we can control
the animation by adjusting the speed, portion of
picture in view the amount of detail shown and so
on.
It provides tools called motion dynamics. In which
user can move objects as well as observes as per
requirement for example walk throw made by
builder to show flat interior and surrounding.
It provides facility called update dynamics. With
this we can change the shape color and other
properties of object.
Now in recent development of digital signal
processing and audio synthesis chip the interactive
graphics can now provide audio feedback along
with the graphical feed backs.
Disadvantages
Memory required for depth buffer
Wasted computation on drawing distant points that
are drawn over with closer points that occupy the
same pixel
Impossible to get multiple y values for a single x
value; can’t represent circles and other closed
forms with a single function
Not rotationally invariant (rotation may require
breaking the curve into multiple segments)
Presentation Graphics:
For the preparation of reports or summarizing the
financial, statistical, mathematical, scientific,
economic data for research reports, managerial
reports, moreover creation of bar graphs, pie
charts, time chart, can be done using the tools
present in computer graphics.
Entertainment:
Computer graphics finds a major part of its utility
in the movie industry and game industry. Used for
creating motion pictures ,music video, television
shows, cartoon animation films. In the game
industry where focus and interactivity are the key
players, computer graphics helps in providing such
features in the efficient way.
Education:
Computer generated models are extremely useful
for teaching huge number of concepts and
fundamentals in an easy to understand and learn
manner. Using computer graphics many
educational models can be created through which
more interest can be generated among the
students regarding the subject.
Training:
Specialized system for training like simulators can
be used for training the candidates in a way that
can be grasped in a short span of time with better
understanding. Creation of training modules using
computer graphics is simple and very useful.
Visualization:
Today the need of visualize things have increased
drastically, the need of visualization can be seen in
many advance technologies , data visualization
helps in finding insights of the data , to check and
study the behavior of processes around us we need
appropriate visualization which can be achieved
through proper usage of computer graphics
Image Processing:
Various kinds of photographs or images require
editing in order to be used in different places.
Processing of existing images into refined ones for
better interpretation is one of the many
applications of computer graphics.
Machine Drawing:
Computer graphics is very frequently used for
designing, modifying and creation of various parts
of machine and the whole machine itself, the main
reason behind using computer graphics for this
purpose is the precision and clarity we get from
such drawing is ultimate and extremely desired for
the safe manufacturing of machine using these
drawings.