Download presentation
Presentation is loading. Please wait.
Published bySharon Jennings Modified over 9 years ago
1
Introduction to Computer Graphics CS 445 / 645 David Brogan dbrogan@cs.virginia.edu dbrogan@cs.virginia.edu
2
Class Web Page http://www.cs.virginia.edu/~gfx/Courses Class lectures postedClass lectures posted Assignments distributedAssignments distributedhttp://www.cs.virginia.edu/~gfx/Courses Class lectures postedClass lectures posted Assignments distributedAssignments distributed
3
Instructor/TA Coordinates David BroganDavid Brogan –Olsson 216 –dbrogan@cs.virginia.edu Julian DymacekJulian Dymacek –Olsson 233 –jmd7b@cs.virginia.edu David BroganDavid Brogan –Olsson 216 –dbrogan@cs.virginia.edu Julian DymacekJulian Dymacek –Olsson 233 –jmd7b@cs.virginia.edu
4
Prerequisites CS 216 – You will be writing programsCS 216 – You will be writing programs –Non-trivial data structures, pointers An ability to learn a programming library on your ownAn ability to learn a programming library on your own –OpenGL Comfortable with matrix algebra and calculusComfortable with matrix algebra and calculus –Basic linear algebra used CS 216 – You will be writing programsCS 216 – You will be writing programs –Non-trivial data structures, pointers An ability to learn a programming library on your ownAn ability to learn a programming library on your own –OpenGL Comfortable with matrix algebra and calculusComfortable with matrix algebra and calculus –Basic linear algebra used
5
Text Computer Graphics with OpenGLComputer Graphics with OpenGL –Third Edition –Hearn and Baker Computer Graphics with OpenGLComputer Graphics with OpenGL –Third Edition –Hearn and Baker
6
Work Five programming assignments (50%)Five programming assignments (50%) –C/C++ using OpenGL, GLUT, and UI libraries –Source will be read and documentation is req’d Three homework assignments (10%)Three homework assignments (10%) –Intended to support lecture material Midterm and Final (20% each)Midterm and Final (20% each) Five programming assignments (50%)Five programming assignments (50%) –C/C++ using OpenGL, GLUT, and UI libraries –Source will be read and documentation is req’d Three homework assignments (10%)Three homework assignments (10%) –Intended to support lecture material Midterm and Final (20% each)Midterm and Final (20% each)
7
Honor Code Specific honor code instructions will be provided with each assignmentSpecific honor code instructions will be provided with each assignment When in doubt…When in doubt… –Don’t use resources other than class notes and textbook Typically…Typically… –Using examples from the web is a great way to learn and it is encouraged… reference what you use NeverNever –Share code with another student or debug code together Specific honor code instructions will be provided with each assignmentSpecific honor code instructions will be provided with each assignment When in doubt…When in doubt… –Don’t use resources other than class notes and textbook Typically…Typically… –Using examples from the web is a great way to learn and it is encouraged… reference what you use NeverNever –Share code with another student or debug code together
8
Topics Core graphics pipelineCore graphics pipeline –Modeling transformation, viewing transformation, hidden surface removal, illumination / shading / textures, scan conversion / clipping OpenGLOpenGL Morphing, curves and surfaces, animationMorphing, curves and surfaces, animation Not a course about graphic design, using graphics tools like PhotoShop or MayaNot a course about graphic design, using graphics tools like PhotoShop or Maya Core graphics pipelineCore graphics pipeline –Modeling transformation, viewing transformation, hidden surface removal, illumination / shading / textures, scan conversion / clipping OpenGLOpenGL Morphing, curves and surfaces, animationMorphing, curves and surfaces, animation Not a course about graphic design, using graphics tools like PhotoShop or MayaNot a course about graphic design, using graphics tools like PhotoShop or Maya
9
Impact of Computers Moore’s Law Power of a CPU doubles every 18 months / 2 years Moore’s Law Power of a CPU doubles every 18 months / 2 years
10
Impact of Video Games (Nvidia) 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: http://www.wired.com/wired/archive/10.07/Nvidia_pr.html 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: http://www.wired.com/wired/archive/10.07/Nvidia_pr.html $7 Billion Man $5.6 Billion Man Worldwide revenues Retro flashback??? Lee Majors Col. Steve Austin
11
Impact of Video Games But… Video game sales is roughly same as Hollywood box officeVideo game sales is roughly same as Hollywood box office Americans bought $3.2 billion in VCRs and DVDs in 2002Americans bought $3.2 billion in VCRs and DVDs in 2002 Total revenues to movie studios is 5 times total video game revenuesTotal revenues to movie studios is 5 times total video game revenuesBut… Video game sales is roughly same as Hollywood box officeVideo game sales is roughly same as Hollywood box office Americans bought $3.2 billion in VCRs and DVDs in 2002Americans bought $3.2 billion in VCRs and DVDs in 2002 Total revenues to movie studios is 5 times total video game revenuesTotal revenues to movie studios is 5 times total video game revenues
12
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) –MSFT still losing lots of $$ per console Predicted 200 million PDA/Cell game players in 2005Predicted 200 million PDA/Cell game players in 2005 –Do you believe it? 33 million PS2s (in 2002)33 million PS2s (in 2002) 3.9 million Xboxes (in 2002)3.9 million Xboxes (in 2002) –MSFT still losing lots of $$ per console Predicted 200 million PDA/Cell game players in 2005Predicted 200 million PDA/Cell game players in 2005 –Do you believe it?
13
Graphics Applications Entertainment: Cinema Pixar: Monster’s Inc. Square: Final Fantasy
14
Entertainment Final Fantasy (Square, USA)
15
Entertainment A Bug’s Life (Pixar)
16
Graphics Applications Medical Visualization MIT: Image-Guided Surgery Project The Visible Human Project
17
Graphics Applications Everyday Use Microsoft’s Whistler OS will use graphics seriouslyMicrosoft’s Whistler OS will use graphics seriously Graphics visualizations and debuggersGraphics visualizations and debuggers Visualize complex software systemsVisualize complex software systems Everyday Use Microsoft’s Whistler OS will use graphics seriouslyMicrosoft’s Whistler OS will use graphics seriously Graphics visualizations and debuggersGraphics visualizations and debuggers Visualize complex software systemsVisualize complex software systems
18
Everyday use
19
Window system and large-screen interaction metaphors (François Guimbretière)
20
Graphics Applications Scientific Visualization
21
Airflow around a Harrier Jet (NASA Ames)
22
Graphics Applications Computer Aided Design (CAD)
23
Graphics Applications TrainingTraining Designing Effective Step-By-Step Assembly Instructions (Maneesh Agrawala et. al)
24
Graphics Applications Entertainment: Games GT Racer 3 Polyphony Digital: Gran Turismo 3, A Spec
25
Games Circus Atari (Atari)
26
Education Outside In (Geometry Center, University of Minnesota)
27
The Basics Computer graphics: generating 2D images of a 3D world represented in a computer. Main tasks: modeling: (shape) creating and representing the geometry of objects in the 3D worldmodeling: (shape) creating and representing the geometry of objects in the 3D world rendering: (light, perspective) generating 2D images of the objectsrendering: (light, perspective) generating 2D images of the objects animation: (movement) describing how objects change in timeanimation: (movement) describing how objects change in time Computer graphics: generating 2D images of a 3D world represented in a computer. Main tasks: modeling: (shape) creating and representing the geometry of objects in the 3D worldmodeling: (shape) creating and representing the geometry of objects in the 3D world rendering: (light, perspective) generating 2D images of the objectsrendering: (light, perspective) generating 2D images of the objects animation: (movement) describing how objects change in timeanimation: (movement) describing how objects change in time
28
Why Study Computer Graphics? Graphics 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 interesting Involves simulation, AI, algorithms, architecture…Involves simulation, AI, algorithms, architecture… I’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 fun Graphics 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 interesting Involves simulation, AI, algorithms, architecture…Involves simulation, AI, algorithms, architecture… I’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 fun
29
Can we learn from history? Among the studies of natural causes and laws, it is light that most delights its students. Among all the great branches of mathematics, the certainty of its demonstrations pre-eminently elevates the minds of its investigators. Perspective, therefore, should be preferred above all man’s discourses and disciplines. In this subject the visual rays are elucidated by means and demonstrations which derive their glory nor only from mathematics but also from physics; the one is adorned equally with the flowers of the other. Leonardo da Vinci (1400’s) quoting John Pecham (1200’s)
30
Perspective
31
Machines
32
Leonardo Again There are some who look at the things produced by nature through glass, or other surfaces or transparent veils. They trace outlines on the surface of the transparent medium… But such an invention is to be condemned in those who do not know how to portray things without it, no how to reason about nature with their minds… They are always poor and mean in every invention and in the composition of narratives, which is the final aim of this science
33
Perspective Lorenzetti Birth of the VirginBirth of the Virgin 13421342Lorenzetti Birth of the VirginBirth of the Virgin 13421342
34
Leonardo The Last SupperThe Last Supper 14981498Leonardo The Last SupperThe Last Supper 14981498
35
Shape
36
We Labor On… Light Stage – 2002 USC, Institute for Creative Technologies
37
More, more, MORE! Sequence of advanced graphics courses at UVA: CS 446: Real Time Rendering (Dave Luebke) Building interactive graphics systems (games!)Building interactive graphics systems (games!) Right now and Fall 2005Right now and Fall 2005 CS 447: Image Synthesis (Greg Humphreys) Modeling light and materials (Rendering)Modeling light and materials (Rendering) Fall 2004Fall 2004 CS 448: Animation (me) Modeling movementModeling movement Spring 2005Spring 2005 Sequence of advanced graphics courses at UVA: CS 446: Real Time Rendering (Dave Luebke) Building interactive graphics systems (games!)Building interactive graphics systems (games!) Right now and Fall 2005Right now and Fall 2005 CS 447: Image Synthesis (Greg Humphreys) Modeling light and materials (Rendering)Modeling light and materials (Rendering) Fall 2004Fall 2004 CS 448: Animation (me) Modeling movementModeling movement Spring 2005Spring 2005
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.