Professional Documents
Culture Documents
UNIT-1
OVERVIEW OF COMPUTER
GRAPHICS
Computer Graphics
Definition: Computer graphics is an art of drawing pictures, lines, charts,
etc. using computers with the help of programming.
*Computer graphics image is made up of number of pixels.
elt displays the information in the form of graphical objects such as pictures,
charts, diagram and graphs.
‘The special procedure determines which pixel will provide the best
approximation to the desired picture or graphics object this process is known
as Rasterization.
Difference between Computer Graphics and Image Processing
Generation Storage and manipulation graphics of objects a”,
¢ Computer graphics=Data
structure+Graphics Designt+Language
Computer Graphics
Made Up Of 4 Components
Aa iis) |My Redae) Lael eel a Me] a) lame MUTI] cye) gcc 18 (0) 8)
mean e
Pe eleol e ew che) carn) LU] O LMT e EAT ATM eM elite NY (OL
SP al gn alae tg Mad cel eccMel nari LE UT) COL Pe)
HeeAM (Mule EM ERY er |e as) (ae mee| eM eles le Rec R IB) aU ROLE
computer programs. Also, the results of such a model can be called a rendering.
COP NAL] PL srag}ai(e (Cee) MG c-r: 1 aym LOLIMOTig em eb (s4g mye (ea
oo Yb tok
is Called Animation.
CATHODE Ray Took
Connecter cri SCAEEN
Pins Elechon Verical Lh
Pixel: is the smallest addressable graphical unit represented on the
computer screen.
Image: is a visual representation of something. ...
°An image Is a picture that has been created or copied and stored in
electronic form.
°An image can be described in terms of vector graphics or raster graphics.
°An image stored in raster form is sometimes called a bitmap.
‘Object: In computer graphics, an object refers to an item within a graphic,
such as a graphic circle or a square.
Raster Zoom Vectc VS
Pixelated image ehol8
Raster Graphics Vector Graphics
spsoligy L Display |
Input/Output Devices
J ARCHITECTURE OF RANDOM SCAN SYSTEM
ol
* Graphics commands from application program translated into display file by graphics
package.
* Graphics can be drawn by directly directing electron beam along the components of
graphics,
Basic concept:
* In random scan display the electron beam Is
directed to the area on screen only where the
picture is to be drawn.
* Random scan display are also known as vector
display or stroke-writing or calligraphic display.
* The reason its also called vector display is
because random scan display draws the picture
one line at a time. ;
’ Refresh Buffer: |
¢ Refresh rate on a random-scan system depends
on the number of lines to be displayed.
¢ The picture definition is stored as a set of line
drawing commands in an area of memory called
the refresh display file.
* The refresh display file is also called the display
list or simply the refresh buffer.
Refresh Buffer:
* To display a specified picture, the system cycles
through the set of commands in the display file,
drawing each component line in turn.
¢ After all line-drawing commands have been
processed, the system cycles back to the first line
command in the list.
* The refresh rate of random scan display is 30 to
60 frames per second(fps).
Example: |
* For example if we want to display and maintain a
picture of a triangle ABC on the screen then the
display list will have commands like this:
¢ Draw a line from A to B Example
¢ Draw a line from B to C a
¢ Draw aline from C to A. :
PN é
’ Advantages of Random scan display
* Random scan display have higher resolution
compared to raster scan display as the picture is
stored as line drawing instructions rather than
intensity values.
* |t produces smooth line drawing.
* It also requires less memory as we are storing
information about only the picture to be drawn
rather than information about full screen.
Disadvantages of Random scan
display
* Raster scan system having CPU with special purpose processor video controller which
* Frame buffer is a temporary storage which stores what to display at that time on
monitor.