52
School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

  • View
    220

  • Download
    4

Embed Size (px)

Citation preview

Page 1: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

School of Continuing StudiesCS 351: Introduction to

Computer Graphics

CS 351

Page 2: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

“Quiz” #1

Page 3: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

What is Computer Graphics?

● Creation, Manipulation, and Storage of geometric objects (modeling) and their images (rendering)

● Display those images on screens or hardcopy devices

● Image processing● Others: GUI, Haptics, Displays (VR)...

Page 4: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

What drives computer graphics?

● Movie Industry– Leaders in quality and artistry– Not slaves to conceptual purity– Big budgets and tight schedules– Reminder that there is more to CG than technology– Hey, How'd they do that?– Defines our expectations

Slide information from Leonard McMillian's slides http://www.cs.unc.edu/~mcmillan/comp136/Lecture1/compgraf.html

Page 5: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

What drives computer graphics?

● Game Industry– The newest driving force in CG

● Why? Volume and Profit● This is why we have commodity GPUs

– Focus on interactivity– Cost effective solutions– Avoiding computating and other tricks– Games drive the baseline

Slide information from Leonard McMillian's slides http://www.cs.unc.edu/~mcmillan/comp136/Lecture1/compgraf.html

Page 6: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

What drives computer graphics?

● Medical Imaging and Scientific Visualization– Tools for teaching and diagnosis

● No cheating or tricks allowed– New data representations and modalities– Drive issues of precision and correctness– Focus on presentation and interpretation

of data– Construction of models from acquired data

Nanomanipulator, UNCJoe Kniss, Utah Gordon Kindelman, Utah

Page 7: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

What drives computer graphics?

● Computer Aided Design– Mechanical, Electronic, Architecture,...– Drives the high end of the hardware

market– Integration of computing and display

resources– Reduced design cyles == faster systems,

sooner

ProEngineer, www.ptc.com

Page 8: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

What drives computer graphics?

● Graphic User Interfaces (GUI)– www.webpagesthatsuck.com

Slide information from Leonard McMillian's slides http://www.cs.unc.edu/~mcmillan/comp136/Lecture1/compgraf.html

Page 9: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

What is Computer Graphics?

● Look at 5 areas– Hardware– Rendering– Interaction– Modeling– Scientific Visualization

Slide information from Richard Riesenfeld

Page 10: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Hardware: Amazing Changes

● Fundamental architecture shift– Dual computing engines:

● CPU and GPU● More in GPU than CPU

Page 11: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Hardware: Amazing Changes

● Fast, cheap GPUs– ~$300

● Cheap memory● Displays at low cost

– How many monitors do you have/use?

Page 12: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Hardware: Amazing Changes

● Wired -> Unwired● World of Access

Page 13: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Hardware... some not so good

● Devices● 3D displays● Etc

Page 14: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Hardware

● How old is Nvidia● How big is Nvidia● QED

Page 15: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Rendering

● Many think/thought graphics synonymous with rendering

● Well researched– Working on second and third order effects– Fundamentals largely in place

Page 16: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Rendering

● Major areas:– Ealiest: PhotoRealism– Recent: Non-Photorealistic Graphics (NPR)– Recent: Image-based Rendering (IBR)

Page 17: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Rendering

● Ray Tracing has become practical– Extremely high quality images– Photorealism, animation, special effects

● Accurate rendering, not just pretty

Page 18: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Rendering Realism

Page 19: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Rendering Realism

Page 20: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Rendering Realism

Page 21: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Is this real?

Page 22: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Terrain Modeling: Snow and Trees Added

Page 23: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Growth Models

Page 24: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Rendering/Modeling Hair

QuickTime™ and aPhoto decompressor

are needed to see this picture.

QuickTime™ and aVideo decompressor

are needed to see this picture.

Page 25: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Humans

Page 26: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Is Photorealism Everything?

Page 27: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Is Photorealism Everything?

Page 28: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Non-Photorealistic Rendering

Page 29: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Tone Shading

Page 30: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

NonPhotorealistic Rendering

Page 31: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Image Based Rendering

● Model light field● Do not have to model geometry● Good for complex 3D scenes● Can leave holes where no data is

available

Page 32: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

3D Scene Capture

Page 33: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

3D Scene Recreation

Page 34: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

360o Scan

Page 35: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Interaction

● Way behind rest of graphic's spectacular advances

● Still doing WIMP:– Windows, icons, menus,

pull-downs/pointing● Once viewed as “soft” research

– Turns out to be one of hardest problems

Page 36: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Interaction still needs...

● Better input devices● Better output devices● Better interaction paradigms● Better understanding of HCI

– Bring in psychologists

Page 37: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Modeling

● Many model reps– Bezier, B-spline, box splines, simplex

splines, polyhedral splines, quadrics, super-quadrics, implicit, parametric, subdivision, fractal, level sets, etc (not to mention polygonal)

Page 38: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Modeling

● Physically based– Newton– Behavior as well as geometry

● Materials– Metal, cloth, organic forms, fluids, etc

● Procedural (growth) models

Page 39: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Modeling... is hard

● Complexity● Shape● Specifying● Realistic constraints● Detail vs concept● Tedious, slow

Page 40: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Modeling is hard

● Mathematical challenge● Computational challenge● Interaction challenge● Display challenge (want 3D)● Domain knowledge, constraints

Page 41: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Growth Models

Page 42: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Model Capture

Page 43: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Models

D Johnson and

J D St Germain, Utah

Russ Fish et al., Utah

Page 44: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Scientific Visualization

National Library of Medicine

Visual Human

QuickTime™ and aYUV420 codec decompressor

are needed to see this picture.

Page 45: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

In This Class

● Review rasterization, modeling, viewing, lighting, texture mapping and raytracing

● GUI and Interaction in three-dimensions

Page 46: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Required Books

● Optional

Page 47: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Each class

● Based-upon reading assignment– Quiz– Roundtable:

● What you found to be the most interesting in the reading

● What confused you or topic(s) you want more discussion on

Page 48: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Each class (con’t.)

● Lecture and discussion● 20 minute or less viewing of an

animation● Project discussion and help session● At least one 15 minute break in the

middle

Page 49: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Projects

● C or C++● Chinese-Resturaunt menu like

Page 50: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Project Rules

Failure to follow these rules will result in lost points:

● If you use code from elsewhere, it must be documented in your README

● If you use ideas from printed paper or online material, must credit it

● Projects must compile and run on the designated machine

Page 51: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351

Grades

● Class participation● Quizes● Late projects loose 5% on first 12

hours, 10% every 12 hours after that● You can miss

– Can drop lowest quiz score– Can miss one class without loosing

participation points

Page 52: School of Continuing Studies CS 351: Introduction to Computer Graphics CS 351