Class 1
Class 1
Associate Professor
9801104103
[email protected]
12
10
2
Source: template.net
0
Category 1 Category 2 Category 3 Category 4
Series 1 Series 2 Series 3
Contd.
• There are two techniques used for producing images on the CRT
screen:
1. Vector scan/Random scan display.
Source: tutorialspoint.com
2. Raster scan display.
Horizontal
Vertical OF ON Retrace
Retrace F
Source: eenadupratibha.net
Random Scan v/s Raster Scan
Base of Raster Scan System Random Scan System
Difference
Electron The electron beam is swept The electron beam is directed only
Beam across the screen, one row at a to the parts of screen where a
time, from top to bottom. picture is to be drawn.
Realistic The capability of this system to These systems are designed for line-
Display store intensity values for pixel drawing and can’t display realistic
makes it well suited for the shaded scenes.
realistic display of scenes contain
shadow and color pattern.
Cost They are cheaper than random It is more expensive than raster scan
display display
Contd.
Base of Raster Scan System Random Scan System
Difference
Raster Graphics
and Algorithms
Associate Professor
9801104103
[email protected]
Digital differential
analyzer
Associate Professor
9801104103
[email protected]
|∆x| > |∆y| it also means |∆x| > |∆y| it also means
|m| < 1; ∆x = 1, ∆y = m |m| < 1; ∆x = 1, ∆y = m
(10,10)
Use DDA to draw line from (10,10) to (13,14)
Bresenham’s Line
Drawing
algorithms
Associate Professor
9801104103
[email protected]