13
Computer Graphics Mohamed N. Moustafa, Ph.D. The American University in Cairo Computer Science and Engineering Office: 2155 SSE [email protected] 1

Comp Graphics 00

Embed Size (px)

Citation preview

Page 1: Comp Graphics 00

Computer Graphics

Mohamed N. Moustafa, Ph.D.

The American University in Cairo

Computer Science and Engineering

Office: 2155 SSE

[email protected]

1

Page 2: Comp Graphics 00

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

Page 3: Comp Graphics 00

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

Page 4: Comp Graphics 00

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

Page 5: Comp Graphics 00

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

Page 6: Comp Graphics 00

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

Page 7: Comp Graphics 00

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

Page 8: Comp Graphics 00

Computer Aided Design

8

Page 9: Comp Graphics 00

Scientific Visualization

• Converting the numbers into something that

easy to understand

9

Page 10: Comp Graphics 00

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

Page 11: Comp Graphics 00

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

Page 12: Comp Graphics 00

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

Page 13: Comp Graphics 00

Grading

• Assignments (3): 30%

• Mid-Terms (2): 40%

• Final Exam: 25%

• Class contribution: 5%

13