Introduction to Computer Graphics

advertisement
Computer Graphics
Dr. Winai Wichaipanitch
Computer Engineering
wina@rit.ac.th
1
Rajamangala Institute of Technology
Grading
•
•
•
•
midterm exam
final exam
lab assignments
quizzes/homework
2
30%
30%
30%
10%
Rajamangala Institute of Technology
What is
Computer
Graphics ?
3
Rajamangala Institute of Technology
Computer Graphics
• “Computer Graphics is concerned with
producing images (or animations) using a
computer.”
rendering
modeling
WORLD
MODEL
4
DISPLAY
Rajamangala Institute of Technology
Rendering
5
Rajamangala Institute of Technology
Modeling And Rendering
© Walt Disney and TSL
Wireframe Model
Skeletal Model
Muscle Model
© Walt Disney and TSL
Skin
Hair
Render and Touch up
Some History
8
Rajamangala Institute of Technology
Whirlwind: early graphics using VectorScope (1951)
Spacewars: first computer graphics game (MIT 1961)
first CAD system (IBM 1959)
SketchPad: first interactive graphics (1961)
9
Rajamangala Institute of Technology
Early texture-mapped image (Catmull 1974)
First bump-mapped images (Blinn 1978)
First ray traced image (Whitted 1980)
First distributed ray traced image (Cook 1984)
10
Rajamangala Institute of Technology
Westworld (1973)
First production movie to feature computer graphics.
Used in various graphics displays within the Westworld center.
11
Rajamangala Institute of Technology
Star Wars (1977)
12
Rajamangala Institute of Technology
Tron (1980)
First time computer graphics were used for
live action sequences.
13
Rajamangala Institute of Technology
Star Trek II: The Wrath of Khan, genesis effect (1983)
The Last Starfighter (15 minutes) (1982)
14
Rajamangala Institute of Technology
Applications of Computer
Graphics
15
Rajamangala Institute of Technology
Movies
Fully computer
generated animated
features
16
Rajamangala Institute of Technology
Movies
Special Effects… in
Live Action Cinema
17
Rajamangala Institute of Technology
Movies
“Traditional” Animated
Features…
Some examples:
• Automating Keyframing in
many Disney-type animations
• The flocking behaviour of
the wilderbeest in Lion King
•Non photorealistic
rendering: 3D effects in
Futurama
18
Rajamangala Institute of Technology
Behind the scenes on Antz Production
Number of frames in the movie
119,592
Number of times the movie was rendered during production
15 (approx.)
Number of feet of approved animation produced in a week
107 ft.
Total number of hours of rendering per week
275,000 hrs.
Average size of the frame rendered
6 MB
Total number of Silicon Graphics servers used for rendering
270
Number of desktop systems used in production
166
Total Number of processors used for rendering
700
Average amount of memory per processor
256 MB
Time it would have taken to render this movie on 1 processor
54 yrs., 222 days, 15 mins., 36 secs.
Amount of storage required for the movie
3.2 TB
Amount of frames kept online at any given time
75000 frames
Time to re-film out final cut beginning to end
41.5 days (997 hrs.)
19
Rajamangala Institute of Technology
CAVE: Immersive and
Interactive 3D
enironement
User Interfaces
B205 Control Console (1960)
3D Studio MAX
20
Rajamangala Institute of Technology
Layout and Design
21
Rajamangala Institute of Technology
Scientific Visualization and
Analysis
22
Rajamangala Institute of Technology
Medicine and Virtual Surgery
The Visible Human project
23
Rajamangala Institute of Technology
Room Layout Design and
Architectural Simulations
ART AND
DESIGN
25
Rajamangala Institute of Technology
History and
cultutal heritage
CG Applications (1)
• Art, Entertainment, Publishing
– Movie Production, Animation and Special
Effects
– Computer Games
– Browsing the web
– Slide, Book and Magazine Design
– Multimedia
27
Rajamangala Institute of Technology
CG Applications (2)
•
•
•
•
Computer Graphics and Image Processing
Scientific Analysis and Visualization
Simulations
Computer Aided Design
– Electrical Circuit Design
– Architecture
28
Rajamangala Institute of Technology
Related Disciplines
Data
Processing
Computer
Vision
DATA
Computer
Graphics
IMAGES
Image
Processing
29
Rajamangala Institute of Technology
Interdisciplinary
• Science
– Physics: light, color, appearance, behaviour
– Mathematics: Curves and Surfaces, Geometry and
Perspective
• Engineering
– Hardware: graphics media and processors, input and
output devices
– Software: graphics libraries, window systems
• Art, Perception and Esthetics
– Color, Composition, Lighting, Realism
30
Rajamangala Institute of Technology
Graphics and the Computer Engineer
• Knowledge of the Interdisciplinary
Background to Graphics Related Problems
• Ability to Implement Computer Solutions
based on interdisciplinary techniques in
computer systems
• Knowledge of existing hardware and
software frameworks for Computer
Graphics applications
• Optimization! Realism/Fidelity vs Speed
31
Rajamangala Institute of Technology
Subtopics
•
•
•
•
Modelling
2D Graphics
3D Graphics
Image Synthesis
– Ray-tracing, Radiosity
• Image Processing
• Animation
– Key Frame animation
– Physically Based Simulation
– Real-time Interactive Animation
32
Rajamangala Institute of Technology
Course Outline (1)
–
–
–
–
–
Computer Graphics: Problems and Applications
Graphics Display Hardware and Input Devices
Introduction to Colour Theory
Geometric Modelling
2D Co-ordinate Systems and Transformations
33
Rajamangala Institute of Technology
Course Outline (2)
–
–
–
–
–
–
–
3D Co-ordinate Systems and Transformations
Projection and Viewing
Hidden Surface Removal
Illumination and Shading
Animation and Interaction
Global Illumination
Current Issues in Computer Graphics
34
Rajamangala Institute of Technology
Recommended Texts
• Computer Graphics – C Version - Hearn,
Baker
• Interactive Computer Graphics A Topdown approach with OpenGL – Edward
Angel
• OpenGL Programming Guide - M.
Woo, J. Neider, and T. Davis
35
Rajamangala Institute of Technology
Download