computer graphics - wwu computer science faculty web pages

25
Computer Graphics Lecture 32 What else are curves good for? Animation, briefly Global illumination, briefly

Upload: others

Post on 16-Oct-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computer Graphics - WWU Computer Science Faculty Web Pages

Computer GraphicsLecture 32

What else are curves good for? Animation, briefly

Global illumination, briefly

Page 2: Computer Graphics - WWU Computer Science Faculty Web Pages

Curves are great, but.

https://youtu.be/Zkx1aKv2z8o?t=1080

https://youtu.be/AcFwH161XtM?t=68

Page 3: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation• Time-varying scene/model.

That's pretty much it.

• Big challenges:

• tedium

• realism

Page 4: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Tedium• Keyframing + interpolation

Linear interpolation? Spline interpolation?

Page 5: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Tedium• Rigging

Modeling DOF != Animation DOF

Page 6: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Tedium

Page 7: Computer Graphics - WWU Computer Science Faculty Web Pages

Interpolating Rotations• Representation matters a lot - linear interpolation

of rotation matrices are not rotation matrices.

• Quaternions are one answer

• 4D vectors that make spherical interpolation nicer

Page 8: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Tedium

Page 9: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Realism• Tron (1982)

• Tron Legacy (2010)

• How to Train Your Dragon 2 (2014)

Page 10: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Realism

Page 11: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Realism

Page 12: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Realism

Page 13: Computer Graphics - WWU Computer Science Faculty Web Pages

Animation - Realism• Motion capture technologies:

Magnetic Mechanical Optical

Page 14: Computer Graphics - WWU Computer Science Faculty Web Pages

Global IlluminationProblem: light doesn't just come from light sources ("emitters", or "luminaires").

global illumination

effects

Page 15: Computer Graphics - WWU Computer Science Faculty Web Pages

Global Illumination: Direct vs Indirect

Indirect only Direct only Both

Page 16: Computer Graphics - WWU Computer Science Faculty Web Pages

Light Transport: BRDFρ(ki, ko)

Page 17: Computer Graphics - WWU Computer Science Faculty Web Pages

Light Transport: The Transport Equation AKA "The Rendering Equation"

Ls(ko) = ∫ki

ρ(ki, ko)Lf(ki)cos θi dσi

Page 18: Computer Graphics - WWU Computer Science Faculty Web Pages

Particle Tracing• One approach: shoot "particles" from lights,

deposit units of light in textures on surfaces.

• Compute direct ray-object intersection to read off radiance image.

• Works OK for diffuse surfaces

Page 19: Computer Graphics - WWU Computer Science Faculty Web Pages
Page 20: Computer Graphics - WWU Computer Science Faculty Web Pages

Path Tracing• Like ray tracing - rays start at eye

• Bounce around until they hit a light source (yikes!)

• Got an integral? Solve it!

• numerically

• using fancy sampling techniques

Page 21: Computer Graphics - WWU Computer Science Faculty Web Pages

Fancy Sampling 1: Monte Carlo

Page 22: Computer Graphics - WWU Computer Science Faculty Web Pages
Page 23: Computer Graphics - WWU Computer Science Faculty Web Pages

Fancy Sampling 2: Importance Sampling

Page 24: Computer Graphics - WWU Computer Science Faculty Web Pages
Page 25: Computer Graphics - WWU Computer Science Faculty Web Pages

What else?• Implicit modeling

• Radiometry and light transport

• Color theory

• Image/signal processing

• Perception science

• Visualization