dr. muhammed al-mulhem march 1, 2009

22
ICS 415 Dr. Muhammed Al-Mulhem 1 ICS 415 Computer Graphics Introduction Dr. Muhammed Al-Mulhem Dr. Muhammed Al-Mulhem March 1, 2009 March 1, 2009

Upload: abram

Post on 10-Jan-2016

40 views

Category:

Documents


2 download

DESCRIPTION

ICS 415 Computer Graphics Introduction. Dr. Muhammed Al-Mulhem March 1, 2009. Topics. Graphics Concepts Modeling transformation, viewing transformation, hidden surface removal, illumination / shading / textures, scan conversion / clipping OpenGL Morphing, curves and surfaces, animation - PowerPoint PPT Presentation

TRANSCRIPT

ICS 415 Dr. Muhammed Al-Mulhem 1

ICS 415Computer Graphics

Introduction

Dr. Muhammed Al-MulhemDr. Muhammed Al-Mulhem

March 1, 2009March 1, 2009

Dr. Muhammed Al-MulhemDr. Muhammed Al-Mulhem

March 1, 2009March 1, 2009

ICS 415 Dr. Muhammed Al-Mulhem 2

Topics

• Graphics ConceptsGraphics Concepts

– Modeling transformation, viewing transformation, Modeling transformation, viewing transformation, hidden surface removal, illumination / shading / hidden surface removal, illumination / shading / textures, scan conversion / clippingtextures, scan conversion / clipping

• OpenGLOpenGL

• Morphing, curves and surfaces, animationMorphing, curves and surfaces, animation

• Not a course about graphic design, using graphics Not a course about graphic design, using graphics tools like PhotoShop or Mayatools like PhotoShop or Maya

• Graphics ConceptsGraphics Concepts

– Modeling transformation, viewing transformation, Modeling transformation, viewing transformation, hidden surface removal, illumination / shading / hidden surface removal, illumination / shading / textures, scan conversion / clippingtextures, scan conversion / clipping

• OpenGLOpenGL

• Morphing, curves and surfaces, animationMorphing, curves and surfaces, animation

• Not a course about graphic design, using graphics Not a course about graphic design, using graphics tools like PhotoShop or Mayatools like PhotoShop or Maya

ICS 415 Dr. Muhammed Al-Mulhem 3

Assignment - Honor Code

• When in doubt…When in doubt…

– Don’t use resources other than class notes and textbookDon’t use resources other than class notes and textbook

• Typically…Typically…

– Using examples from the web is a great way to learn and it Using examples from the web is a great way to learn and it is encouraged… is encouraged… reference what you usereference what you use

• NeverNever

– Share code with another student or debug code togetherShare code with another student or debug code together

• When in doubt…When in doubt…

– Don’t use resources other than class notes and textbookDon’t use resources other than class notes and textbook

• Typically…Typically…

– Using examples from the web is a great way to learn and it Using examples from the web is a great way to learn and it is encouraged… is encouraged… reference what you usereference what you use

• NeverNever

– Share code with another student or debug code togetherShare code with another student or debug code together

ICS 415 Dr. Muhammed Al-Mulhem 4

Impact of Computers

Moore’s LawMoore’s Law

Power of a CPU doubles every 18 months / 2 Power of a CPU doubles every 18 months / 2 yearsyears

Moore’s LawMoore’s Law

Power of a CPU doubles every 18 months / 2 Power of a CPU doubles every 18 months / 2 yearsyears

ICS 415 Dr. Muhammed Al-Mulhem 5

Impact of Video Games (Nvidia)

Number of transistors on GPU doubles each 6 mos.Number of transistors on GPU doubles each 6 mos.

• Three times Moore’s LawThree times Moore’s Law

– Good article on Jen-Hsun Huang, Nvidia CEO: Good article on Jen-Hsun Huang, Nvidia CEO: http://www.wired.com/wired/archive/10.07/Nvidia_pr.htmlhttp://www.wired.com/wired/archive/10.07/Nvidia_pr.html

Number of transistors on GPU doubles each 6 mos.Number of transistors on GPU doubles each 6 mos.

• Three times Moore’s LawThree times Moore’s Law

– Good article on Jen-Hsun Huang, Nvidia CEO: Good article on Jen-Hsun Huang, Nvidia CEO: http://www.wired.com/wired/archive/10.07/Nvidia_pr.htmlhttp://www.wired.com/wired/archive/10.07/Nvidia_pr.html

$7 Billion Man $5.6 Billion Man

Worldwiderevenues

Lee Majors

ICS 415 Dr. Muhammed Al-Mulhem 6

Future of Consoles

• 33 million PS2s (in 2002)33 million PS2s (in 2002)

• 3.9 million Xboxes (in 2002)3.9 million Xboxes (in 2002)

• Predicted 200 million PDA/Cell game players in 2005Predicted 200 million PDA/Cell game players in 2005

• 33 million PS2s (in 2002)33 million PS2s (in 2002)

• 3.9 million Xboxes (in 2002)3.9 million Xboxes (in 2002)

• Predicted 200 million PDA/Cell game players in 2005Predicted 200 million PDA/Cell game players in 2005

ICS 415 Dr. Muhammed Al-Mulhem 7

Graphics Applications

Entertainment: CinemaEntertainment: CinemaEntertainment: CinemaEntertainment: Cinema

Pixar: Monster’s Inc. Square: Final Fantasy

ICS 415 Dr. Muhammed Al-Mulhem 8

Entertainment

Final Fantasy (Square, USA)

ICS 415 Dr. Muhammed Al-Mulhem 9

Entertainment

A Bug’s Life (Pixar)

ICS 415 Dr. Muhammed Al-Mulhem 10

Graphics Applications

Medical VisualizationMedical VisualizationMedical VisualizationMedical Visualization

MIT: Image-Guided Surgery Project

Th

e V

isib

le H

um

an

Pro

jec

t

ICS 415 Dr. Muhammed Al-Mulhem 11

Graphics Applications

Everyday UseEveryday Use

• OS use graphics seriouslyOS use graphics seriously

• Graphics visualizations and debuggersGraphics visualizations and debuggers

• Visualize complex software systemsVisualize complex software systems

Everyday UseEveryday Use

• OS use graphics seriouslyOS use graphics seriously

• Graphics visualizations and debuggersGraphics visualizations and debuggers

• Visualize complex software systemsVisualize complex software systems

ICS 415 Dr. Muhammed Al-Mulhem 12

Everyday use

ICS 415 Dr. Muhammed Al-Mulhem 13

Everyday use

Window system and large-screen interaction metaphors (François Guimbretière)

ICS 415 Dr. Muhammed Al-Mulhem 14

Graphics Applications

Scientific VisualizationScientific VisualizationScientific VisualizationScientific Visualization

ICS 415 Dr. Muhammed Al-Mulhem 15

Scientific Visualization

Airflow around a Harrier Jet (NASA Ames)

ICS 415 Dr. Muhammed Al-Mulhem 16

Graphics Applications

Computer Aided Design (CAD)Computer Aided Design (CAD)Computer Aided Design (CAD)Computer Aided Design (CAD)

ICS 415 Dr. Muhammed Al-Mulhem 17

Graphics Applications

TrainingTrainingTrainingTraining

Designing Effective Step-By-Step Assembly Instructions (Maneesh Agrawala et. al)

ICS 415 Dr. Muhammed Al-Mulhem 18

Graphics Applications

Entertainment: GamesEntertainment: GamesEntertainment: GamesEntertainment: Games

GT Racer 3

Polyphony Digital: Gran Turismo 3, A Spec

ICS 415 Dr. Muhammed Al-Mulhem 19

Games

Circus Atari (Atari)

ICS 415 Dr. Muhammed Al-Mulhem 20

Education

Outside In (Geometry Center, University of Minnesota)

ICS 415 Dr. Muhammed Al-Mulhem 21

The Basics

Computer graphics: generating 2D images of a 3D Computer graphics: generating 2D images of a 3D world represented in a computer.world represented in a computer.

Main tasks:Main tasks:

• modelingmodeling: (shape) creating and representing the geometry of : (shape) creating and representing the geometry of objects in the 3D worldobjects in the 3D world

• renderingrendering: (light, perspective) generating 2D images of the : (light, perspective) generating 2D images of the objectsobjects

• animationanimation: (movement) describing how objects change in time: (movement) describing how objects change in time

Computer graphics: generating 2D images of a 3D Computer graphics: generating 2D images of a 3D world represented in a computer.world represented in a computer.

Main tasks:Main tasks:

• modelingmodeling: (shape) creating and representing the geometry of : (shape) creating and representing the geometry of objects in the 3D worldobjects in the 3D world

• renderingrendering: (light, perspective) generating 2D images of the : (light, perspective) generating 2D images of the objectsobjects

• animationanimation: (movement) describing how objects change in time: (movement) describing how objects change in time

ICS 415 Dr. Muhammed Al-Mulhem 22

Why Study Computer Graphics?

Graphics is coolGraphics is cool

• I like to see what I’m doingI like to see what I’m doing

• I like to show people what I’m doingI like to show people what I’m doing

Graphics is interestingGraphics is interesting

• Involves Involves simulationsimulation, , AI,AI, algorithmsalgorithms, , architecturearchitecture……

I’ll never get an Oscar for my actingI’ll never get an Oscar for my acting

• But maybe I’ll get one for my CG special effectsBut maybe I’ll get one for my CG special effects

Graphics is funGraphics is fun

Graphics is coolGraphics is cool

• I like to see what I’m doingI like to see what I’m doing

• I like to show people what I’m doingI like to show people what I’m doing

Graphics is interestingGraphics is interesting

• Involves Involves simulationsimulation, , AI,AI, algorithmsalgorithms, , architecturearchitecture……

I’ll never get an Oscar for my actingI’ll never get an Oscar for my acting

• But maybe I’ll get one for my CG special effectsBut maybe I’ll get one for my CG special effects

Graphics is funGraphics is fun