Unit 1.1.4, 5raster, Random
Unit 1.1.4, 5raster, Random
DISCOVER . LEARN .
EMPOWER 1
Course Objectives
• This course is designed to provide a comprehensive
introduction to computer graphics techniques.
• This course provides basic elements involved in drawing
shapes.
• Provide an understanding of how to transform the shapes to
fit them as per the picture definition
2
Course Outcomes
• Students will have an understanding of computer Graphics
Applications, Visual
3
Syllabus
Unit-I
Introduction: Computer Graphics, Computer Graphics Applications.
Video Display Devices: Refresh Cathode Ray Tube, Raster Scan displays,
Random Scan Displays, Architecture of Raster and Random Scan Monitors,
Color CRT-monitors, Color Generating Techniques (Shadow Mask, Beam
Penetration), Direct View Storage Tube, Flat Panel Display, Graphics monitors
and Workstations.
Two dimensional Graphics Primitives: Points and Lines, Point plotting
Techniques: Coordinate system, Increment method, Line drawing algorithm:
DDA, Bresenham’s line drawing, Bresenham‘s circle drawing algorithm: Using
polar coordinates, Midpoint circle drawing algorithms Filled area algorithm:
Scan line, Polygon filling algorithms, Boundary filled algorithms.
4
Contents
5
Pixel
6
7
What is Raster Scan
8
Raster Scan Display
Raster: A rectangular array of points or dots
9
FRAME BUFFER
10
Raster Scan Display
Stored intensity values then retrieved from refresh buffer
and “painted” on the screen one row (scan line) at a time.
Fig. A raster-scan system displays an object as a set of discrete points across each scan line.
11
Horizontal Retrace
The return to the left of the screen, after refreshing
each scan line is called horizontal retrace.
12
Vertical Retrace
At the end of Each frame the electron beam returns
to the top left corner of the screen to begin the next
frame.
13
Polling
14
Random Scan Display
1. In Random Scan display , a CRT
has the electron beam directed
only to the parts of the screen
where a picture is to be drawn.
2. Random scan monitors draw a
picture one line at a time and for
this reason are also referred as
vector display.
3. A pen plotter operates in a 5. Picture definition is now
similar way and is an example of stored as a set of line
random scan. drawing commands in an
4. Refresh rate depends on the area referred to as refresh
number of lines to be displayed. display file.
15
Raster
RasterScan System
Scan System
• Addition to the CPU, special purpose processor, Video Controller is used
to control of the operation of the display device.
• Frame Buffer can be anywhere in the systems memory & video
controller access the frame buffer to refresh the screen.
18
Applications
20
Polling
21
Video Controller
Random Scan Display
Fig. Architecture of a raster system with a fixed portion of the system memory reserved for the frame
buffer.
22
Video Controller refresh operation
23
Display Processor
The display processor is used to convert digital information from the CPU
into analog value needed by the display device.
25
Polling
26
Random Scan Display
MoveTo (300,800)
LineTo (700,800)
LineTo (500,300)
LineTo (300,800)
28
Random Scan Display [8]
Random Scan System
Graphics commands in the application program are translated by the
graphics package into a display file stored in the system memory.
This display file is then accessed by the display processor to refresh the
screen
29
Advantages and Disadvantages
30
30/01/2024 3035
Polling
31
COMPARISON
Raster Scan System Random Scan System
Resolution
It has poor or less Resolution It has High Resolution
Electron- Electron Beam is directed to only that part of screen
Beam Electron Beam is directed from top to bottom and where picture is required to be drawn, one line at a
one row at a time on screen, but electron beam is time so also called Vector Display.
directed to whole screen.
Cost
It is less expensive It is Costlier
Refresh Rate
Refresh rate is 60 to 80 frame per second. Refresh Rate is 30 to 60 times per second.
Picture
It Stores picture definition in Refresh Buffer also It Stores picture definition as a set of line
Definition
called Frame Buffer. commands called Refresh Display File.
Line Drawing
Zig – Zag line Smooth line
Realism in It contains shadow, advance shading and It does not contain shadow and hidden surface
display hidden surface technique so gives the realistic technique so it can not give realistic display of
display of scenes. scenes.
Image
Drawing It uses Pixels along scan lines for drawing an It is designed for line drawing applications and uses
image. various mathematical function to draw.
32
THANK YOU
33