Unit 1 CG
Unit 1 CG
1.1 Introduction
1.2 What is computer Graphics?
1.3 Area of Computer Graphics
1.3.1 Design and Drawing
1.3.2 Animation
1.3.3 Multimedia applications
1.3.4 Simulation
1.4 How are pictures actually stored and displayed
1.5 Difficulties for displaying pictures
1.6 Raster scan
1.7 Random scan
1.1 Introduction
Figures can be stored and drawn in two ways – either by line drawing or by Raster
graphic methods. In the line drawing scheme, the figures are represented by
equations – for example a straight line can be represented by the equation y=mx+c,
a circle by x2+y2=r2 etc. If (x, y) are representative points, then all these (x,y) value
pairs which satisfy the equations form a part of the figure while those that do not,
lie outside the figure. Thus, to generate any figure, obviously the equation of the
figure is to be known. Then all points that satisfy the equation are evaluated. These
are the points to be illuminated on the screen.
The values stored in the buffer are then fetched and traced over scan lines one by
one on the screen.
The image formed through this raster scan is known as a raster image. The
quality of this image is determined by the number of pixels which is termed
as the resolution of the image.
The amount of information each pixel represents is known as the color
depth of the image.
The raster graphics system of high quality contains 24 bits per pixel in the
frame buffer. This is referred to as a full color or true color system.
Refreshing of raster scan displays is carried out at the rate of 60 to 80
frames per second.
Interlacing
Advantages:
1. Realistic image
2. Million Different colors to be generated
3. Shadow Scenes are possible.
Disadvantages:
1. Low Resolution
2. Expensive
In Random Scan Display a beam of the electron is directed only to the screen
areas where any picture has to be displayed or drawn on the screen. It is also
termed as vector display, as it displays or draws a picture in the form of one line
at a time. It can draw and refresh lines on the screen of a picture in any sequence
not particularly specific.
Random scan monitors are used to draw a picture in one line at a time and
are thus also referred to as vector displays.
The cathode ray tube when operates as a random scan display device
directs the beam of an electron only to those areas of the screen where
display or a picture has to be drawn.
To draw a picture or display it on the screen the system goes through a line
or set of commands and draws each of them one at a time in a line turn by
turn.
The refresh rate here depends on the number of lines that are to be displayed on
the screen and are designed so that they draw the component lines of the picture
30 to 60 times in a second.
They have a high resolution of pictures and produce smooth line drawing. It's
that smooth that while zooming also it doesn't spread.
Advantages:
1. A CRT has the electron beam directed only to the parts of the screen where
an image is to be drawn.
2. Produce smooth line drawings.
3. High Resolution
Disadvantages:
Review Questions