Green Sphere in front of Red Sphere - PowerPoint PPT Presentation

About This Presentation
Title:

Green Sphere in front of Red Sphere

Description:

Diffuse, Ambient and Specular lighting. Lighting examples. Quiz (Answer) ... have ambient lighting and specular highlights, depending on the settings for those ... – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 10
Provided by: yapmo
Category:
Tags: front | green | red | specular | sphere

less

Transcript and Presenter's Notes

Title: Green Sphere in front of Red Sphere


1
Green Sphere in front of Red Sphere Ambient light
only
2
Magenta Sphere Diffuse and Ambient lighting
3
Magenta Sphere Diffuse, Ambient and Specular
lighting
4
Lighting examples
5
Quiz (Answer)
1. The diffuse component of the equation
determines the color (hue) of an object. If both
the material and light percentages are low
(lt0.3), then their product will be very low
(lt0.09). This means that the object will have no
"coloring". (It will still possibly have ambient
lighting and specular highlights, depending on
the settings for those parameters.)
6
Quiz (Answer)
2. The four values (x,y,z,w) of a local light
source define the position of the light (with w
1.0). The four values (x,y,z,w) of an infinite
light source define a direction vector of the
light (with w0.0).
7
Quiz (Answer)
3.
8
Quiz (Answer)
4. In real life, light dissipates at the rate of
1/d2, where d is the distance the light has
traveled. To calculate this, kc 0, kl 0, and
kq 1 To "turn off" light attenuation, set kc
1, kl 0, and kq 0. This makes the
attenuation factor equal to 1, and 1 times
anything does not change a value (1 is
multiplicative identity).
9
Quiz (Answer)
5. If the no light strikes a surface, the last
two terms of the equation go to zero. Therefore
the color of such a surface will be calculated by
the remaining terms in the equation, as  
Write a Comment
User Comments (0)
About PowerShow.com