Lecture 2 Part 2 (Hardware and Software in Computer Graphics)
Lecture 2 Part 2 (Hardware and Software in Computer Graphics)
Computer Graphics
Lecture 2 (Part 2)
Hardware and Software in
Computer Graphics
Development of Hardware
• Hardware evolution had a greater influence in the
development of Computer Graphics than software
• In the early years interactive graphics was beyond the
recourses of most organizations because of:
• the high cost of computer graphics hardware.
• the need for expensive computing recourses to support massive design
databases, interactive picture manipulation,
• the difficulty of writing large, interactive programs at a time when both
graphics and interaction were new to programmers,
• non-portable software – written for a particular display device without
software-engineering principles and structured systems. Moving to
new display devices necessitates expensive and time-consuming
rewriting of working programs.
• After the development of graphics-based personal computers
(Apple Macintosh, IBM PC) hardware and software cost was driven
down, and millions of graphics computers were sold for office and
home use.
2
• Working of CRT
Focusing
System
Base Y deflect
Phosphor
Connector
Pins
x deflect
Control 3
Electron grid
Gun voltage
Hardware and Software in Computer
Graphics
Cathode Ray Tube
• Basic Operation
• The electron gun emits a beam of electrons (cathode
rays).
• The electron beam passes through focusing and
deflection systems that direct it towards specified
positions on the phosphor-coated screen.
• When the beam hits the screen, the phosphor emits a
small spot of light at each position contacted by the
electron beam.
• Because the light emitted by the
phosphor fades very quickly some
method is needed for maintaining Intensity distribution of
an illuminated phosphor
the screen picture spot on a CRT screen
• Redraw the picture by quickly directing the electron beam
back over the same screen points
4
11
1 1 1 1 1 1 0 0
0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0
0 1 1 1 1 1 0 0
0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0
1 1 1 1 1 1 0 0
0 0 0 0 0 0 0 0
0
1
2
3
4
5
6
14
16
Cathode Ray Tube
• Random-Scan Display (Vector Display)
MoveTo (300,800)
LineTo (700,800)
LineTo (500,300)
LineTo (300,800)
17
18
20
Operation of a
delta-delta, shadow
mask CRT.
Three electron
guns, aligned with
the triangular
color-dot patterns
on the screen, are
directed to
each dot triangle
by a shadow mask 22
23
Architecture of a
simple raster
graphics system
Architecture of a
raster system with a fixed
24
portion of system memory
reserved for frame buffer
Hardware and Software in Computer
Graphics
Graphics System
• Raster Scan Systems
• Employs a special purpose processor called video controller or display controller in
addition to CPU
• Frame buffer can be anywhere in the system memory
• More sophisticated raster systems employ other processors as coprocessors and
accelerators
25
Architecture of a raster graphics system with display processor
Hardware and Software in Computer
Graphics
Graphics System (Video-controllerrefreshoperations)
•Two registers are used to store the coordinates of the screen pixels.
•Initially, the x register is set to 0 and the y register is set to Ymax, The value stored
in the frame buffer for this pixel position is then retrieved and used to set the
intensity of the CRT beam.
•Then the x register is incremented by 1, and the process repeated for the next pixel
on the top scan line. This procedure is repeated for each pixel along the scan line.
•After the last pixel on the top scan line
has been processed, the x register is reset
28
29
30
Plasma or Gas Discharge Display
• Working of Plasma display
• Consists of a matrix of cells (the raster) in a glass envelope. Each cell is
filled with a gas (usually neon, or a neon/argon mixture) at low
pressure (below atmospheric).
• When a sufficiently high voltage is applied the gas dissociates, i.e.
electrons are stripped from the atoms. The dissociated gas is called a
plasma, hence the name plasma display.
• When the electrons recombine, energy is released in the form of
photons; and the gas glows.
• Plasma displays have large size and are high resolution displays (100
pixels/inch).
31
Computer Graphics
Liquid-Crystal Display
• Working of LCD
• Consists of an electrically
-controlled light-polarizing
liquid trapped in cells
between two transparent
polarizing sheets.
• An electric current passed
through the liquid causes
the crystals to align or not
so that light can/cannot pass
through them.
• Each crystal, therefore, is
like a shutter, either allowing
light to pass through or
blocking the light
• Backlight is applied using
solid-state electronic devices
• Colors are displayed by
placing a triad of color pixels
at any screen location 33
(Hearn & Baker: page 68)
Hardware and Software in Computer
Graphics
Liquid-Crystal Display
Computer Graphics
Various forms of Liquid-Crystal
Computer Graphics
OLED
• Current goes from cathode to anode
• Electrons find holes in the organic layer
• Electron settles, causing photon emission
• Color depends on organic layer
• Intensity depends on current
37
Computer Graphics
CRT Vs LCD
• Physical Size, Weight – An LCD has one third the size of a CRT, and it is
much lighter.
• Display Size – LCDs are sized by their actual viewable diagonal
measurement, but CRTs are not. E.g. the viewable area on a 17" LCD
monitor will measure 17" diagonally, but the viewable area on a CRT
monitor will only measure 16" diagonally.
• Colors – Most CRT monitors are capable of displaying unlimited colors.
Some LCD monitors are only capable of hundreds or thousands of colors,
but many of the newer LCD's are capable of unlimited colors.
• Resolution – CRT monitors are usually capable of displaying multiple video
resolutions, each with the same quality. LCD monitors, however, usually
have what is called a Native resolution, or the resolution that it displays
best. The native resolution is generally the highest resolution that the LCD
can display.
39
41
42