Top Banner
Advanced Computer Graphics March 06, 2015
21

Advanced Computer Graphics

Jan 02, 2016

Download

Documents

tashya-hudson

Advanced Computer Graphics. February 20, 2014. Grading. Programming assignments Paper study and presentation Final project No written exams. Some Advice. This course involves a lot of programming in C or C++. Do not take this course if: You are not comfortable about your programming. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Advanced Computer Graphics

Advanced Computer Graphics

March 06, 2015

Page 2: Advanced Computer Graphics

Grading

• Programming assignments

• Paper study and reports (flipped classroom)

• Final project

• No written exams

Page 3: Advanced Computer Graphics

Some Advice

• This course involves a lot of programming in C or C++.

• Do not take this course if:– You are not comfortable about your

programming

Page 4: Advanced Computer Graphics

Topics

• GPU programming

• Ray Tracing

• Radiosity

• Monte Carlo path tracing

• Real-time global illumination

Page 5: Advanced Computer Graphics

Textbook?• Physically Based Rendering, 2nd Ed., by Matt

Pharr and Greg Humphreys. – Highly Recommended– eBook available at the NTNU Library

Page 6: Advanced Computer Graphics

Reference?• Many computer graphics books (e.g. 3D

Computer Graphics by Alan Watt ) cover:– Ray tracing– Radiosity– Monte Carlo path tracing

• SIGGRAPH Courses (available in ACM DL):– Monte Carlo path tracing – Photon Map– Real-time global illumination– OpenGL programming

Page 7: Advanced Computer Graphics

Short Film Festival

• I will show a short film at the beginning of each class, so don’t be late!

Page 8: Advanced Computer Graphics

Photorealistic Rendering vs. Interactive 3D

Graphics(An Introduction to Digital Image

Synthesis)

Page 9: Advanced Computer Graphics

How Do You Draw a Picture (Without a

Computer)?• What is your subject?• Viewing Parameters:

– Camera, Picture Frames, Resolutions

• Many ways to specify it:(1)eye, focus length, image plane(2)eye, direction, FOV, up vector

Page 10: Advanced Computer Graphics

10

Elements of Image Formation

• Objects

• Viewer

• Light source(s)

• Attributes that govern how light interacts with the materials in the scene

• Note the independence of the objects, viewer, and light source(s)

Page 11: Advanced Computer Graphics
Page 12: Advanced Computer Graphics

3D to 2D Projection

• OK, so we can map a 3D point (or vertex) to 2D image.

• But what about a 3D surface?

• Polygons are made from points.

• Actually, we only need triangles!

Page 13: Advanced Computer Graphics

Scan Conversion

• Also called rasterization.

• The 3D to 2D Projection gives us 2D vertices (points).

• We need to fill in the interior.

Page 14: Advanced Computer Graphics

Shading

Page 15: Advanced Computer Graphics

3D Graphics Pipeline

• The above can be implemented in hardware.

• Z Buffer to detect hidden surfaces.

• Other transformations not mentioned here: Modeling and Viewing.

• Typical 3D graphics APIs such as OpenGL and DirectX

Page 16: Advanced Computer Graphics

“…But They Don’t Look Real.”

• Most things are not flat or simple geometry like spheres andcones.

• We need correct surface colors and shapes (and more) 

Page 17: Advanced Computer Graphics

• We also need correct lighting.• Textures help, but not enough.• Even simple things like CD can be

challenging.   

Page 18: Advanced Computer Graphics

Real-time Graphics

• They’re becoming darn good!

Page 19: Advanced Computer Graphics

But…• Some effects are hard to

do in hardware, such as the caustics and subsurface scattering

Page 20: Advanced Computer Graphics

A Different View: Ray Tracing

Page 21: Advanced Computer Graphics

• Actually inverse ray tracing.