Week 1 Introduction to Computer Graphics and Devices
Week 1 Introduction to Computer Graphics and Devices
• Electronic painting
– Picture painted electronically on
a graphics tablet (digitizer) using a stylus
– Cordless, pressure sensitive stylus
• Morphing
– A graphics method in which one object is
transformed into another
4.Entertainment
• Movie Industry
– Used in motion pictures, music
videos, and television shows.
– Used in making of cartoon
animation films
Electron gun
Cathode
Focusing Horizontal
system & vertical
deflection
Properties of the CRT
• Phosphor Persistence (PP)
- the light output decays exponentially with time.
- a phosphor’s persistence is defined as the time from the removal of
excitation to the moment of decaying the light to one-tenth of its
original intensity
- low persistence -> good for animation
- high persistence -> good for static picture with high complexity
- typical range: 10ms – 60ms
• Resolution
- the maximum number of points that can be displayed without
overlap on a CRT
- high-definition system, e.g. 1280 * 1024 pixels
- resolution depends on the type of phosphor, the intensity to be
displayed, focusing and deflection systems, size of video memory
Shadow Mask
Electron Guns
Red Input
Green
Input
Blue Input
Deflection
Yoke Red, Blue,
and Green
Phosphor Dots
Beam Penetration method
This technique is used with random scan monitors.
In this technique inside of CRT coated with two phosphor
layers usually red and green.
The outer layer of red and inner layer of green phosphor.
The color depends on how far the electron beam penetrates
into the phosphor layer.
• A beam of fast electron penetrates more and
excites outer red layer while slow electron
excites inner green layer.
• At intermediate beam speed we can produce
combination of red and green lights which
emit additional two colors orange and yellow.
• The beam acceleration voltage controls the
speed of the electrons and hence color of
pixel.
Shadow Mask
•Shadow mask has one small hole for each phosphor triad.
•Holes are precisely aligned with respect to both the triads and the electron
guns, so that each dot is exposed to electrons from only one gun.
•The number of electrons in each beam controls the amount of red, blue and
green light generated by the triad.
SHADOW MASK
Phosphor Dot
Screen
Red
Green Convergence
Blue Point
Sr.
No. Basis Beam Penetration Shadow Mask
As in this method only four colors are As in this method millions of colors are
2. Color dependency produced it is because of the speed of the produced because it depends upon the
electron gun. intensity value of the three available guns.
Number of
In this method, only one electron gun is In this methods, three electron guns are used;
3. electron guns
used. i.e red, green and blue.
used.
As we know in this different colors and As we know in this different colors and shades
4. Picture quality shades are not possible. So, it’s picture are possible. So, it’s picture quality is quite
quality is poor. good.
This method is not suitable for providing This method is suitable for providing the
5. Realistic view
the realistic view. realistic view.
• Vector display
• Raster display
-- The
The buffer
buffer stores
stores the
the computer-produced
computer-produced display
display list
list or
or display
display program
program
-- Display
Display program
program contains
contains point-
point- and
and point-plotting
point-plotting commands
commands withwith (x,
(x, y,
y, z)
z)
endpoint
endpoint coordinates
coordinates
-- The
The commands
commands forfor plotting
plotting are
are interpreted
interpreted by
by the
the display
display processor
processor
-- The
The principle
principle of
of vector
vector system
system is
is random
random scan
scan
The
The beam
beam isis deflected
deflected from
from endpoint
endpoint to
to endpoint,
endpoint, as
as dictated
dictated by
by the
the order
order of
of the
the
display
display command
command
-- display
display list
list needed
needed to
to be
be refreshed
refreshed (e.g.,
(e.g., 30Hz)
30Hz)
Raster Display
-- The
The buffer
buffer stores
stores the
the primitive
primitive pixels,
pixels, rather
rather than
than display
display list
list or
or display
display program
program
-- Video
Video controller
controller reads
reads the
the pixel
pixel contents
contents toto produce
produce the
the actual
actual image
image on
on the
the
screen
screen
-- The
The image
image is
is represented
represented asas aa set
set of
of raster
raster scan
scan lines,
lines, and
and forms
forms aa matrix
matrix of
of pixels.
pixels.
-- need
need refresh
refresh the
the raster
raster display
display (e.g.,
(e.g., 60Hz)
60Hz)
Architecture of a simple raster-graphics
system
Architecture of a raster system
with a fixed portion of the system memory reserved for the frame
buffer.
Basic video-controller refresh operations
Architecture of a Vector-graphics system
with a display processor.
Video Controller
•• Access
Access the
the frame
frame buffer
buffer to
to refresh
refresh the
the screen
screen
•• Control
Control the
the operation
operation for
for display
display
•• Color
Color look-up
look-up table
table
X
Linear address Horizontal
address Raster-scan & vertical
generator Deflection signal
Frame Y
buffer address
Data Pixel Intensity
values or color
Video Controller
Types
Types of
of refresh
refresh
•• Interlaced
Interlaced (mostly
(mostly for
for TV
TV for
for reducing
reducing flickering
flickering effect
effect --
-- NTSC)
NTSC)
-- two
two fields
fields for
for one
one frame
frame
-- odd-field:
odd-field: odd-numbered
odd-numbered scan scan lines
lines
-- even-field:
even-field: even-numbered
even-numbered scan scan lines
lines
-- refresh
refresh rate:
rate: e.g.,
e.g., NTSC:
NTSC: 60Hz
60Hz (60
(60 fields
fields per
per second);
second); 3030 frame/s.
frame/s.
PAL:
PAL: 50Hz
50Hz
•• Non-interlaced
Non-interlaced (mostly
(mostly for
for monitor)
monitor)
-- refresh
refresh rate:
rate: e.g.,
e.g., 60Hz
60Hz or
or more
more
Odd-field
Even-field
Display Processor
1 bit
2 levels
Electron
Gun
3-Bit Color Display
3
red
green
blue
R 0 1 0 0 1 0 1 1
G 0 0 1 0 1 1 0 1
B 0 0 0 1 0 1 1 1
True Color Display
24 bitplanes, 8 bits per color gun. 224 =
16,777,216 colors
8
8 Red
Green
Blue
Difference between raster scan and random scan
Base of Difference Raster Scan System Random Scan System
Electron Beam The electron beam is swept across the The electron beam is directed only to the
screen, one row at a time, from top to parts of screen where a picture is to be drawn.
bottom.
Resolution Its resolution is poor because raster Its resolution is good because this system
system in contrast produces zigzag lines produces smooth lines drawings because CRT
that are plotted as discrete point sets. beam directly follows the line path.
Picture Definition Picture definition is stored as a set of Picture definition is stored as a set of line
intensity values for all screen points, drawing instructions in a display file.
called pixels in a refresh buffer area.
Realistic Display The capability of this system to store These systems are designed for line- drawing
intensity values for pixel makes it well and can’t display realistic shaded scenes.
suited for the realistic display of scenes
contain shadow and color pattern.
Draw an Image Screen points/pixels are used to draw an Mathematical functions are used to draw an
image. image.
Interlaced Systems
In some raster system interlacing technique is
used for painting the screen . Instead of
refreshing every line in an interlaced mode
the electron gun sweeps alternate line in each
pass (each frame is displayed in two frames
odd numbered being refreshed first and then
the even numbered lines.).
* This is an effective
technique for avoiding
flicker
Direct View Storage Tube