# Iref lected k ak n n il iincidentk rs vqvq iincident

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: eﬂectance equation: models light from Recall• thethe reﬂectance equation: models reﬂected reﬂected light surface: surface:from a surface: ! Iref lected k +ak (n · n ·Il) Iincidentk (rs ·(v)qv)q Iincident Iref lected = = k + kd ( l) incident + + k r · Iincident a s d •  Iincident: light intensity ! Iincident : Incident light intensity Iincident : Incident light intensity •  k{a,d,s}: control amounts of: ! k{a,d,s} control amounts of: k{a,d,s} control amounts of: ka: ambient light I ka :– ambient light ! I ka : ambient light –  kd: diffuse light! I k : di↵use reﬂection I kd : d –  useqreﬂection reﬂection! di↵ ks, : specular I ks , q : specular reﬂection I ks , q : specular reﬂection Graphics Lecture 13: Slide 6! . 2./ 29 2 / 29 Lighting model for ray tracing " For ray tracing we assumed that there were a small number of point light sources. ! ! However, according to the reﬂectance equation, every surface is reﬂecting light, and so should also be considered a light source. ! ! So rather than use a constant for ambient light, shouldn’t we sum the light received from all other surfaces in the scene? ! Graphics Lecture 13: Slide 7! Ambient light Ambient light Ambient light " •  A better approximation to the reﬂectance equation is to AA better approximation light term a function of theto make the better approximation to the reﬂectance equation isis incident the make the ambient to the reﬂectance equation to make ambient lightwell ! a a function of the incident light as well light light term ambient as term function of the incident light as well Iref lected == a Iincident ++ d (nn l)lIincident + ks (r r vvq)q incident Iref lected k ka Iincident k kd ( · · ) Iincident + ks ( · · ) I Iincident Or,  moremore simply, to (for a a(for aviewpoint) • more simply, to write (for given viewpoint) Or,Or, simply, to write write given given viewpoint) ! Iref lected ==...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern