Upload
ahmed-bassiouny
View
6
Download
0
Embed Size (px)
Citation preview
Computer Graphics
Mohamed N. Moustafa, Ph.D.
The American University in Cairo
Computer Science and Engineering
Office: 2155 SSE
1
What is Computer Graphics?
• The creation of, manipulation of, analysis of, and
interaction with pictorial representations of objects and
data using computers. [Dictionary of Computing]
• A picture is worth a thousand words. [Chinese Proverb]
2
It looks like a swirl. There are smaller
swirls at the edges. It has different shades
of red at the outside, and is mostly green
at the inside. The smaller swirls have
purple highlights. The green has also
different shades. Each small swirl is
composed of even smaller ones. The
swirls go clockwise. Inside the object,
there are also red
highlights. Those have different shades of
red also. The green shades vary in a fan,
while the purple ones are more uni-color.
The green shades get darker towards the
outside of the fan …
Courtesy of Prof. Hong Qin
Computer Graphics
• What is Computer Graphics?
(Realistic) Pictorial synthesis of real and/or
imaginary objects from their computer-based
models (or datasets)
• Fundamental, core elements
Modeling: representation, geometric processing.
Rendering: geometric transformation, visibility,
simulation of light.
Interaction: input/output devices, tools.
Animation: lifelike characters, interactions,
surrounding environments
3
Agenda
• Application areas of computer graphics
Animation, Films
Computer Games
Virtual Reality
Computer Aided Modeling
Scientific Visualization
Human Computer Interactions
• Overview of the course
• Graphics Pipeline
• Some terms
4
Animation
5
• Realistic movements of the faces, bodies, etc.
• Physical simulations: • Interactions of the body with trees,
water, fire. • Lighting :
• Need to make the imaginary characters appear as if they are really in the environment
Games
• Everything altogether must run in real-time (30 frames per second) • Rendering (drawing the scene) • character control (player characters + non player
characters) • Physical simulation (object collision, deformations) • user input
6
Graphical User Interface (GUI)
• Integral part of everyday computing
Windows, cursors, menus, icons, etc.
• Human Computer Interaction (HCI)
Kinect, Wii remote.
Recognizing the action from the sensor data,
selecting the appropriate action to launch
7
Computer Aided Design
8
Scientific Visualization
• Converting the numbers into something that
easy to understand
9
Which is which?
10
Image Processing
CSCE 563
Pattern Analysis
CSCE 585
Computer Vision
CSCE 485, 567
Computer Graphics
CSCE 455, 555
Video
Processing
CSCE 692
Course Contents
• Computer Graphics Hardware and Software.
• Graphics Output Primitives and attributes.
• Implementation Algorithms for primitives
Line drawing, circle and ellipse generating algo.
Filling algorithms.
• 2D geometric transformations.
• 3D transformations and viewing.
• Add-ons: Illumination models, 3D object
representations.
11
References
• Hearn, Baker, and Carithers, “Computer
Graphics with Open GL”, 4th edition, Prentice
Hall, 2011, ISBN 9780136053583.
• Edward Angel and Dave Shreiner, “Interactive
Computer Graphics”, 6th Edition, Addison-
Wesley, 2012, ISBN 978-0-13-254523-5.
• WWW
12
Grading
• Assignments (3): 30%
• Mid-Terms (2): 40%
• Final Exam: 25%
• Class contribution: 5%
13