Chap 2
Chap 2
– Refresh CRT
• Beam of electrons hit phosphor-coated screen, light
emitted by phosphor
• Direct electron beam to the same screen repeatedly,
keeping phosphor activated
• The frequency at which a picture is redrawn on the
screen is referred to as the “refresh rate”
• The maximum number of points that can be displayed
on a CRT is referred to as the “resolution”
• http://en.wikipedia.org/wiki/Display_resolution
• Display principle
– Raster Scan Display Principle
– Random Scan Display Principle
• Raster-Scan Displays
– Based on TV technology
• Electron beam swept
across screen one row
at a time from top to
bottom
• Each row is referred to
as a scan line
• Raster-Scan Displays
– Picture elements: screen point referred as “Pixel”
– Picture information stored in refresh (frame) buffer
• Raster-Scan Displays
– Picture information stored in refresh (frame) buffer
• The number of bits per pixel in the frame buffer is
called depth or bit planes
• Buffer with 1 bit per pixel – Bitmap
• Buffer with multiple bits per pixel – Pixmap
– Interlaced refresh procedure
• Beams sweeps across every other scan line
• A frame buffer is
characterized by size, x, y,
and pixel depth.
• the resolution of a frame
buffer isBuffer
Frame the number of
pixels in the display. e.g.
1024x1024 pixels. Bilevel or monochrome displays
• Bit Planes or Bit Depth is have 1 bit/pixel
the number of bits
8bits/pixel -> 256 simultaneous colors
corresponding to each
pixel. This determines the 24bits/pixel -> 16 million simultaneous
color resolution of the colors
buffer.
Specifying Color
• direct color : 8
– each pixel directly
specifies a color value
8
• e.g., 24bit :
8bits(R) + 8bits(G)
+ 8 bits(B) 8 Re
d
• palette-based color :
Gree
indirect specification n Blu
– use palette (CLUT) e
• Theory
– Analytical Geometry
– Vectors and Matrices
• Algorithms
– Eg: Line drawing, Filling etc.
• Implementation
– Programming (OpenGL)
RM
[1]-24
Graphics Hardware
• Line Drawing Devices:
– Eg. Pen Plotters
– Advantages: Perfect lines, Sharp Diagrams
– Disadvantages: Not suitable for filled regions.
RM
[1]-25
Graphics Hardware
• Raster Devices: Create pictures by displaying dots
– Eg: Video monitor, dot-matrix printer, laser printer, ink-jet
printer, film recorder
– Advantages: Filled, shaded regions are easily displayed
– Disadvantages: Jaggies
Pixel
RM
[1]-26
Pixel Depth
• Pixel depth refers to the number of bits used to
represent a pixel value.
1 bit/pixel: 0 2 Levels
(Bi-level image)
1
2 bits/pixel: 0 0 4 Levels
0 1
1 0
1 1
RM
[1]-27
Pixel Depth
RM
[1]-28
Raster Display
RM
Pros and Cons
• advantages of vector:
– very fine detail of line drawings (sometimes curves), whereas
raster suffers from jagged edge problem due to pixels
(aliasing, quantization errors)
– geometry objects (lines) whereas raster only handles pixels
– eg. 1000 line plot: vector disply computes 2000 endpoints
– raster display computes all pixels on each line
Comparing Raster and Vector (2/2)
• advantages of raster:
– cheaper
– colours, textures, realism
– unlimited complexity of picture: whatever you put in
refresh buffer, whereas vector complexity limited by
refresh rate
Color CRT Monitors
http://www.udayton.edu/~cps/cps460/notes/displ
ays/
Color CRT Monitors
• Immersive
– Head-mounted displays (HMD)
– Stereo shutter glasses
– Virtual Retinal Display (VRD)
– CAVE™
http://www.evl.uic.edu/research/template_res_project.php3?ind
i=27
Video Output Devices
• Desktop
– Vector display
– CRT
– LCD flatpanel
– Plasma
– workstation displays(Sun Lab)
– PC and Mac laptops
– Tablet computers
– Wacom’s display tablet
– Digital Micromirror Devices (projectors)
– Field Emission Devices (FEDs)
– Organic Light-Emitting Diode (OLED) Arrays
Traditional Input Device (1/4)
• Pen-based devices
– pressure sensitive
– absolute positioning
– tablet computers
• IPAQ, WinCE machines
• Microsoft eTablet coming soon
– palm-top devices
• Handspring Visor, PalmOS™
Traditional Input Device (3/4)
• Joysticks
– game pads
– flightsticks
– Touchscreens
• Microphones
– wireless vs. wired
– headset
Traditional Input Device (4/4)
• Electromagnetic trackers
– can be attached to any head, hands, joints, objects
– Polhemus FASTRAK™(used in Brown’s Cave)
http://www.polhemus.com/ftrakds.htm
http://www.isense.com/products/prec/is900/index.htm
3D Input Device (2/2)
• Gloves
– attach electromagnetic tracker to the hand
• Pinch gloves
– contact between digits is a “pinch” gesture
– in CAVE, extended Fakespace PINCH™ gloves with extra
contacts
http://www.fakespacelabs.com/products/pinch.h
tml
Raster-Scan systems
Video
System Mon
CPU Controll
Memory itor
er
System Bus
I/O
Devices
Raster-Scan systems
• Video Controller
– Refresh operations
• X, Y register used to indicate pixel position
• Fix Y register and increment X register to generate
scan line
– Double buffering
• Pixel value can be loaded in buffer while
• Provide a fast mechanism for real-time animation
generation
Raster-Scan Systems
Display System
CPU Proces Memor
sor y
System Bus
I/O Devices
Graphics Software
• Classifications
– Special purpose package
• Designed for non-programmers
• No graphics procedures involved
• Communicate with a set of menus
– General programming package
• Designed for programmers
• Provide library of graphics functions used in
programming language