C O M P U T E R G R A P H I C S
Guoying Zhao
1
/
58
C O M P U T E R G R A P H I C SGuoying Zhao
1
/
58
Computer Graphics
Introduction I
C O M P U T E R G R A P H I C S
Guoying Zhao
2
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
2
/
58
A Survey of Computer Graphics
• What is computer graphics?
• Interactive computer graphics
• The history of computer graphics
• Computer graphics applications
• Device
C O M P U T E R G R A P H I C S
Guoying Zhao
3
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
3
/
58
What is Computer Graphics?
• Some possible definitions:
– Approaches, Methods, Technics and Tools for virtual
world visualization
– Generating 2D images of a 3D world represented in
computer
• Main tasks
– Modeling: construct the 3D model of the scene
– Rendering: compute the color of each pixel
C O M P U T E R G R A P H I C S
Guoying Zhao
4
/
58
What is Computer Graphics?
(1/2)
•
Computer graphics generally means creation, storage and manipulation of
models and images
•
Such models come from diverse and expanding set of fields including
physical, mathematical, artistic, biological, and even conceptual (abstract)
structures
Frame from animation by William Latham, shown at SIGGRAPH 1992. Latham uses
rules that govern patterns of natural forms to create his artwork.
C O M P U T E R G R A P H I C S
Guoying Zhao
5
/
58
•
William Fetter coined term “computer graphics” in 1960 to describe new
design methods he was pursuing at Boeing
•
Created a series of widely reproduced images on pen plotter exploring
cockpit design, using 3D model of human body.
“Perhaps the best way to define computer graphics is to find out what it is not. It is not a machine. It is not a computer, nor a group of computer programs. It is not the know-how of a graphic designer, a
programmer, a writer, a motion picture specialist, or a reproduction specialist.
Computer graphics is all these – a consciously managed and documented technology directed toward communicating information accurately and descriptively.”
Computer Graphics, by William A. Fetter, 1966
C O M P U T E R G R A P H I C S
Guoying Zhao
6
/
58
What is Interactive Computer Graphics?
(1/3)
•
User controls contents, structure, and appearance of objects and
their
displayed images via rapid visual feedback
•
Basic components of
an interactive graphics system
– input (e.g., mouse, tablet and stylus, force feedback device, scanner, live video streams…) – processing (and storage)
– display/output (e.g., screen, paper-based printer, video recorder, non-linear editor…)
•
First truly interactive graphics system, Sketchpad, pioneered at MIT
by Ivan
Sutherland for his 1963 Ph.D. thesis
C O M P U T E R G R A P H I C S
Guoying Zhao
7
/
58
•
Before Sketchpad, output via plotters/printers, input via keypunch, both in
batch
Card punching (left). IBM 704 (right) took up a whole room and was capable of
about 4,000 arithmetic operations/second.
Cool facts
: Whirlwind, built in early 50’s at MIT, cost $4.5 million and could
perform 40,000 additions/second. Mac 512K, list price $3,195 in 1984, could do
500,000.
Batch (1950s – now)
C O M P U T E R G R A P H I C S
Guoying Zhao
8
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
8
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
9
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
9
/
58
Modeling
C O M P U T E R G R A P H I C S
Guoying Zhao
10
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
10
/
58
Modeling
C O M P U T E R G R A P H I C S
Guoying Zhao
11
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
11
/
58
Modeling
The tree model
C O M P U T E R G R A P H I C S
Guoying Zhao
12
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
12
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
13
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
13
/
58
Rendering
C O M P U T E R G R A P H I C S
Guoying Zhao
14
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
14
/
58
Rendering
“A Rapid Hierarchical Rendering Technique for Translucent Materials”.
Jensen, Siggraph’2002
C O M P U T E R G R A P H I C S
Guoying Zhao
15
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
15
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
16
/
58
C O M P U T E R G R A P H I C SGuoying Zhao
16
/
58
Questions
• Graphics Vs. Image ?
- geometric elements and attributes
- pixel arrays
• Computer Graphics Vs. Image
Processing
– CG : 3D Models -> rendering -> images
– I. P : 2D images -> analysis -> models(other
information, special effects...)
C O M P U T E R G R A P H I C S
Guoying Zhao
17
/
58
The History of Computer Graphics
Pioneer: Ivan Sutherland
1963: Sutherland’s PhD
Thesis
:
“Sketchpad: A
Man-machine Graphical
Communications System.”,
MIT,1963
First time used “Computer Graphics”. CG started
to be a novel and independent scientific branch.
C O M P U T E R G R A P H I C S
Guoying Zhao
18
/
58
Pioneer
:
Ivan Sutherland
•
First truly
interactive graphics system, Sketchpad, pioneered at MIT
by Ivan Sutherland for
his 1963 Ph.D. thesis
C O M P U T E R G R A P H I C S
Guoying Zhao
19
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
19
/
58
The History of Computer Graphics
•
Poineer: Ivan Sutherland
•
1962: Pierre Bezier put forward “Bezier curve” for the
representation of space curve
•
1967: Wylie added lighting effect in objects representation
•
1969: Xerox developed GUI (Graphic User Interface)
•
1973: Richard Shoup invented Raster-Scan Display
•
The great improvement of graphic techniques
–
Phong lighting model(1973)
;
Texture mapping(1974)
;
C O M P U T E R G R A P H I C S
Guoying Zhao
20
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
20
/
58
The History of Computer Graphics
• Industry
– ILM(Industrial Light and Magic):
an Academy Award
winning motion picture visual effects company,
1975
– SGI (
Silicon Graphics, Inc
): 1982
– Pixar 1986
– AutoDesk, Adobe
• Display card
– 1994: the first PC display card --- by 3DLabs
– 1995.11: Voodoo --- by 3DFx
– 1999: Geforce256, the first GPU --- by nVidia
– nVidia and ATI
C O M P U T E R G R A P H I C S
Guoying Zhao
21
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
21
/
58
The History of Computer Graphics
• Graphics Standard
– GKS(Germany, 1970’s); PHIGS(ISO,
1986); GKS-3D(1988)
– OpenGL(SGI, 1992); DirectX(Microsoft);
Java3D(Sun)
• Graphics Application Software
– 3DS Max, Maya, LightWave 3D
– Renderman
C O M P U T E R G R A P H I C S
Guoying Zhao
22
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
22
/
58
Computer Graphics Applications
• Computer Aided Design/Manufacturing
• Entertainment
• Education&Science and Training
• Visualization in Scientific Computing
• Graphical User Interface
C O M P U T E R G R A P H I C S
Guoying Zhao
23
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
23
/
58
Computer Aided Design/Manufacturing (CAD/CAM)
• Computer aided design in airplane, car, watercraft,
architecture, costume, toy…
C O M P U T E R G R A P H I C S
Guoying Zhao
24
/
58
C O M P U T E R G R A P H I C SGuoying Zhao
24
/
58
CAD/CAM
• Boeing 777(1990.10 – 1994.4)
– All the designing work is in computer
graphics stations and terminals
– No paper
• Boeing 747(comparing)
C O M P U T E R G R A P H I C S
Guoying Zhao
25
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
25
/
58
CAD/CAM
C O M P U T E R G R A P H I C S
Guoying Zhao
26
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
26
/
58
CAD/CAM
C O M P U T E R G R A P H I C S
Guoying Zhao
27
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
27
/
58
CAD/CAM
C O M P U T E R G R A P H I C S
Guoying Zhao
28
/
58
C O M P U T E R G R A P H I C SGuoying Zhao
28
/
58
Entertainment
• Movies, Animations
• Games
• NPR (Non-Photorealistic Rendering)
• ……
C O M P U T E R G R A P H I C S
Guoying Zhao
29
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
29
/
58
Special Effects in Movie
C O M P U T E R G R A P H I C S
Guoying Zhao
30
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
30
/
58
Special Effects in Movie
C O M P U T E R G R A P H I C S
Guoying Zhao
31
/
58
C O M P U T E R G R A P H I C SGuoying Zhao
31
/
58
3D Animation Movie
Monster’s Inc. (2001)
Toy story (1995)
C O M P U T E R G R A P H I C S
Guoying Zhao
32
/
58
C O M P U T E R G R A P H I C SGuoying Zhao
32
/
58
3D Animation Movie
Final Fantasy (2001)
Skin
Hair
C O M P U T E R G R A P H I C S
Guoying Zhao
33
/
58
C O M P U T E R G R A P H I C S
C O M P U T E R G R A P H I C S
Guoying Zhao
34
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
35
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
35
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
36
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
36
/
58
NPR (Non-Photorealistic Rendering)
Calligraphy generated using computers
C O M P U T E R G R A P H I C S
Guoying Zhao
37
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
37
/
58
Education & Science and Training
• Computer Aided Education and Science
– Computer simulating the phenomenon in
biology, geography, physics, chemistry,
medicine, political social, economy and
other sciences
• Computer Aided Training
– System for training of ship captains, aircraft
pilots …
C O M P U T E R G R A P H I C S
Guoying Zhao
38
/
58
C O M P U T E R G R A P H I C SGuoying Zhao
38
/
58
NMT Fractal models Aerial viewsComputer Graphics in Geography
• Terrain Generation
C O M P U T E R G R A P H I C S
Guoying Zhao
39
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
39
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
40
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
40
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
41
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
41
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
42
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
43
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
43
/
58
Visualization in Scientific Computing
• Producing graphical representations for
scientific, engineering and medical data
sets and processes
C O M P U T E R G R A P H I C S
Guoying Zhao
44
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
44
/
58
Application --- Hydrodynamic
The air current
around a car
C O M P U T E R G R A P H I C S
Guoying Zhao
45
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
45
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
46
/
58
C O M P U T E R G R A P H I C SGuoying Zhao
46
/
58
Application --- Weather
http://www.ssec.wisc.edu/~billh/vis5d.html
The isolines exhibit the
distribution of
C O M P U T E R G R A P H I C S
Guoying Zhao
47
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
47
/
58
Application --- Medical
C O M P U T E R G R A P H I C S
Guoying Zhao
48
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
48
/
58
Graphical User Interface(GUI)
C O M P U T E R G R A P H I C S
Guoying Zhao
49
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
50
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
50
/
58
Graphic Devices in Computer System
• CPU
– CPU implements all kinds of computations about
graphics such as description, construction and
modification
• GPU(Graphic Processing Unit)
• Video Display Devices
C O M P U T E R G R A P H I C S
Guoying Zhao
51
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
51
/
58
Video Display Devices
• Primary Output Device
– Cathode ray tube(CRT) based display
– Liquid-Crystal Display
– Plasma panels
• Steroscopic Display
C O M P U T E R G R A P H I C S
Guoying Zhao
52
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
52
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
53
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
53
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
54
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
54
/
58
•
Transport
3D display system
• built by
Hitachi Human Interaction
Laboratory
(HHIL)
C O M P U T E R G R A P H I C S
Guoying Zhao
55
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
55
/
58
Graphic Devices in Computer System
• CPU
• GPU(Graphic Processing Unit)
• Video Display Devices: output devices
• Input Devices
C O M P U T E R G R A P H I C S
Guoying Zhao
56
/
58
C O M P U T E R G R A P H I C S
Guoying Zhao
56
/
58
Input Devices
• Primary Input Devices
– Keyboard, Mouse, Trackball, Spaceball,
Joysticks, Digitizers, Light Pen, Scan
machine, Touch panel, Voice System
– Data Gloves, Sensor, Tracker, Force
C O M P U T E R G R A P H I C S
Guoying Zhao
57
/
58
3D mouse
Data glove
C O M P U T E R G R A P H I C S
Guoying Zhao
58
/
58
Important conference: