Beruflich Dokumente
Kultur Dokumente
CG (Cont)
Application
Data
Structures
Application
Programs
Graphics
Systems
Graphics Devices
Application Data Structures / Models
Application Programs
Graphics Systems
Graphics Devices
Users
(operators)
1. Graphics Devices
Output Devices
Display Devices
Hard Copy Devices
CPU
DP
Display
Input
Hard Copy
Input Devices
Locator
Stroke
String (Keyboard)
Valuator
Choice (Button)
Pick
Input
CPU
Memory
CRT Basics
DP
DVST (Direct View Storage Tube)
Refresh Display
Raster - Scan Display
Others
DP
Display
Hard Copy
CRT Basics
Focusing
System
Horizontal
Deflection
Plate
Heating
Filament
Cathode
Electron Beam
Control Accelerating
System
Grid
Vertical
Deflection
Plate
PhosphorCoated
Screen
CRT Basics
Electron Gun
Screen
Refreshing
Intensity
10 %
Persistence
Refresh rate
# of times/sec a picture is redrawn
60 Hz for raster scan displays
Time
Sharpness
inter-dot distance
(dot pitch)
energy
1
spot size
0.5 ~ 0.6
distance
electron beam
The effects of various ratios of the dot size to the interdot distance
Aspect Ratio
The aspect ratio of a display device is the ratio of the number of vertical points to that of horizontal points
necessary to produce equal length of lines in both direction on screen
4/3 = 1.33...
l
Note
Sometimes, aspect ratio is stated in terms of the ratio of
horizontal to vertical points
3/4 = 0.75
DP (Display Processor)
CPU
Memory
CRT
DP
Input
Why DP ?
Scan conversion
Refreshing
Raster operations
Character generation
Interfacing with interactive input devices
MOVE
10
15
LINE
100
25
CHAR
LU
CY
LINE
JMP
Interface to
host computer
(Display commands)
Display
processor
(interaction data)
CRT
Stylus
Alphanumeric keyboard
Data tablet
Input
CPU
DPU
Refresh
buffer
CRT
(Display file)
Refresh rate
30 frame / sec
depending on the
complexity of a picture
(interaction data)
Display
processor
CRT
Vertical and
Horizontal cursor
thumbwheels
Keyboard
CPU
DPU
CRT
Input devices
No refresh buffer !!!
Flood Gun
Why ?
Screen
Storage Grid
Collector Grid
Primary
Electron
Gun
random access
flicker-free
static (no selective erasing)
Raster-Scan Display
Interface to host computer
(Display commands)
00000000000000000000000001000000
00000000000000000000000001000000
00000000000000000000000111110000
00000000011000000001111111111111
00000000111100000000000111110000
00000011111111000000000001000000
00001111111111110000000001000000
00111111111111111100000000000000
00011111111111111000000000000000
00011111111111111000000000000000
00011111111111111000000000000000
00000000000000000000000000000000
Frame buffer
(interaction data)
Display
processor
CRT
Keyboard
Data input
input
CPU
DP
CRT
pixel
Frame Buffer
(bit-map,pixmap)
Selective erasing
Fixed frame buffer size
Independent of picture complexity
(a)
(b)
(c)
(d)
A raster-scan system displays an object as a set of points across each screen scan line
Interlacing
1
2
3
4
5
6
7
8
Visible odd
scan lines
Visible even
scan lines
21 lines
21 lines
Aspect ratio
3
644
483
Refresh rate : 30 Hz
PAL
SECAM
Register
DAC
Frame Buffer
CRT Raster
Register
N
0 1 0
N=3
Frame Buffer
2N DAC
2N Levels
CRT Raster
Palette(look-up table)
Look-up tables
W
2W intensity levels
2N at a time
1 01 0
10
2N entries
0 1 0
W=4
2
2W DAC
N=3
Frame Buffer
2N levels
CRT Raster
Red
Green
Blue
0
1
0
0
1
0
1
1
0
0
1
0
1
1
0
1
0
0
0
1
1
1
1
1
Registers
N=3
Frame Buffer
DAC
Blue
DAC
Green
DAC
Red
2N Levels
CRT Raster
CPU
scan conversion
memory access
System bus
System
memory
Frame
buffer
Video
controller
Monitor
CPU
System bus
Display
processor
Display
processor
memory
Frame
buffer
System
memory
Video
controller
scan conversion
raster operations
Character generation
I/O transfer on the system bus
Monitor
CPU
DP
Peripheral
devices
System bus
System
memory
Frame
buffer
Video
controller
Monitor
cache memories
video RAM (VRAM)
(read out all pixels
on a scan line in
one cycle)
Viewing
direction
Reflective
layer
Horizontal
polarizer
Horizontal
grid wires
Liquidcrystal
layer
Vertical
grid wires
Vertical
polarizer
Color Filter
Liquid Crystal
TFT
Request mode
Sample mode
Event mode
Physical Devices
Keyboards
Dials
Touch Panels
Light Pens
Graphics Tablets
3D-Tablets
Buttons
Voice Systems
Logical Devices
Locator
Stroke
String
Valuator
Choice
Pick
String Devices
y+
(a)
y - axis
(b)
Valuator Devices
90
0.5
0
180
-0.5
-1
270
5000
Choice Devices
Buttons
Menu Selection
Pick Devices
Bounding
Rectangle
ymax
ymin
xmin
xmax
d2
d1
(x,y)
2. Graphics Systems
2.1 Overview
ACM Core,
GKS, GKS-3D
CGI (device interface)
CGM (metafile)
PHIGS (3D and realtime)
PHIGS+
X-window
OpenGL
PEX
DirectX
Application program
Graphics system
Operating system
Input and
output devices
Graphics
hardware
Metafiles
2.2 OpenGL
No input commands
Window tasks
Input devices
Complicated shapes
OpenGL Utility Library (GLU)
Window system support libraries
GLX / WGL / PGL
2.5 DirectX
Application
Applicationprogram
program
Windows
WindowsAPI
API
Direct input
Direct sound
..
Windows
Windowssystem
system
Direct X
Direct graphics
PC / MS Windows
Visual C++
OpenGL
objects: A B C
geometric data
non-geometric data
OBJ
F1
F2
E1 E2 En
V1
V2
Fk
Em
Vr
Definition
A collection of methods to define geometric and topological
characteristics of an object
Wireframe Models
P4
P3
P2
P1
P7
P8
P5
P6
Surface Models
Machining
Solid Models
U
Solid
Boundary representation
CSG representation
Feature Extraction
What is feature?
How can you extract feature?
HULL(1)
H1
H1 - 1
2
HULL(2)
H2
H2 - 2
3
HULL(3)
H3
H3 - 3
Homework #1
CSG-Tree
H2
H1
H1 - H2
H3
H3
Assembly
E
A
E
F
C
A
B
D
Swept Volume
Z
Z
sweep
sweep
Y
Y
X
Object Decomposition
Octree Representation
Examples
Modeler
-- CATIA
CATSOFT
DOM-SOLIDS
-- EUCLID
-- GEOMOD-II
ICEM SOLID MODELING
ICM GMS
MEDUSA
-- PADL-1.2
-- PATRAN-G
ROMULUS
SOLIDESIGN
SOLID MODELING-II
SYNTHAVISION
-- TIPS-1
UNIS-CAD
UNISOLIDS
Vendor/Distributor
Core Software
Genre
IBM
CATRONIX
CALMA
MATRA DATAVISION/DEC
SDRC/GENERAL ELECTRIC CAE
CDC
ICM
PRIME
U. ROCHESTER
POA ENGINEERING
EVANS & SUTHERLAND
COMPUTERVISION
APPLICON
MAG1
CAM-I
SPERRY UNIVAC
MCAUTO
DASSAULT (FRANCE)
B-REP
CSG
B-REP
B-REP
B-REP
CSG
B-REP
B-REP
CSG
CELL DECOMP
B-REP
B-REP
CSG
CSG
CSG
B-REP
CSG
CNRS (FRANCE)
SDRC
SYNTHAVISION (MAG1)
CIS/CV (UK)
SHAPENDATA (UK)
SYNTHAVISION (MAG1)
HOKKAIDO U.
BAUSTEIN GEOMETRIC (T. U. BERLIN)
PADL-2 (U. ROCHESTER)
CSG
Based
CSG
Sweep
Based
Spatial
Decomp.
B-Rep.
B-Rep.
Based