Local illumination pictures l.jpg
This presentation is the property of its rightful owner.
Sponsored Links
1 / 6

Local Illumination Pictures PowerPoint PPT Presentation


  • 178 Views
  • Updated On :
  • Presentation posted in: General

Local Illumination Pictures. Lighting interaction between objects’ materials and geometry, and the light sources Shading the process of performing the lighting computations and determining pixels’ color from them. Three basic models discussed Flat Gouraud Phong. Programming OpenGL

Download Presentation

Local Illumination Pictures

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Local illumination pictures l.jpg

Local Illumination Pictures

Gerda Kamberova


Summary intro to lighting and shading l.jpg

Lightinginteraction between objects’ materials and geometry, and the light sources

Shadingthe process of performing the lighting computations and determining pixels’ color from them. Three basic models discussed

Flat

Gouraud

Phong

Programming

OpenGL

Updating the hierarchical scene model

Summary: Intro to Lighting and Shading

Gerda Kamberova


Lambert s law l.jpg

Lambert’s law

Ip(L.N)

Ip

N

L

P

It does not matter where the viewer is, he sees reflected light in the

mount of Ip(L.N)

Gerda Kamberova


Specular reflection l.jpg

Specular reflection

N

L

R

Ip

V

P

Light reflected in direction of V = Ip(R.V)

Each time viewer changes position must be recomputed 

Gerda Kamberova


Specular reflection5 l.jpg

Specular reflection

N

L

R

Ip

a

a

-b

b

P

R = -b+a = -(L-a)+a = -(L-(L.N)N)+(L.N)N = 2(L.N)N – L

If the relative position of light and object changes,

must be recomputed

Gerda Kamberova


Using the half way vector to speed up computation l.jpg

Using the half-way vector to speed up computation

N

H

L

R

Ip

V

P

H=(L+V)/|L+V|

2(H.N) approximates (R.V),

H is easier to compute than R

Gerda Kamberova


  • Login