Computer Graphics Basics
Computer Graphics Basics
Computer Graphics Basics
Computer graphics is an art of drawing pictures on computer screens with the help of
programming. It involves computations, creation, and manipulation of data. In other words, we can
say that computer graphics is a rendering tool for the generation and manipulation of images.
The electron beam passes through focusing and deflection systems that direct it towards
specified positions on the phosphor-coated screen.
When the beam hits the screen, the phosphor emits a small spot of light at each position
contacted by the electron beam.
It redraws the picture by directing the electron beam back over the same screen points
quickly.
There are two ways RandomscanandRasterscan by which we can display an object on the screen.
Raster Scan
In a raster scan system, the electron beam is swept across the screen, one row at a time from top
to bottom. As the electron beam moves across each row, the beam intensity is turned on and off to
create a pattern of illuminated spots.
Picture definition is stored in memory area called the Refresh Buffer or Frame Buffer. This
memory area holds the set of intensity values for all the screen points. Stored intensity values are
then retrieved from the refresh buffer and “painted” on the screen one row scanline at a time as
shown in the following illustration.
Each screen point is referred to as a pixel pictureelement or pel. At the end of each scan line, the
electron beam returns to the left side of the screen to begin displaying the next scan line.
Random Scan VectorScan
In this technique, the electron beam is directed only to the part of the screen where the picture is
to be drawn rather than scanning from left to right and top to bottom as in raster scan. It is also
called vector display, stroke-writing display, or calligraphic display.
Random-scan displays are designed to draw all the component lines of a picture 30 to 60 times
each second.
Engineering drawings − mechanical, electrical, civil, etc. - Replacing the blueprints of the
past.
Typography − The use of character images in publishing - replacing the hard type of the
past.
Architecture − Construction plans, exterior sketches - replacing the blueprints and hand
drawings of the past.