Changes

Jump to: navigation, search

GAM670/DPS905 Weekly Schedule 20111

507 bytes added, 21:58, 2 February 2011
This Week
**: C<sub>d</sub> - material diffuse color
**: C<sub>s</sub> - material specular color
**: L<sub>a<sub>i</sub></sub> - ambient color of light i
**: L<sub>d<sub>i</sub></sub> - diffuse color of light i
**: L<sub>s<sub>i</sub></sub> - specular color of light i
**: L<sub>dir<sub>i</sub></sub> - direction vector of light i
**: N - normal to the surface at the vertex
**: [http://msdn.microsoft.com/en-us/library/bb172279%28v=VS.85%29.aspx Attenuation and Spotlight Factors]
***: Atten<sub>i</sub> - attenuation of light i
**:: Atten<sub>i</sub> = [0, 1]
**: Spot<sub>i</sub> - spot factor of light i
**:: Spot<sub>i</sub> =**: L{[r<sub>i</sub>a- cos(phi<sub>i</sub>/2)]/[cos(theta<sub>i</sub> /2) - ambient color of light cos(phi<sub>i**: L</sub>d/2)]}<sup>f<sub>i</sub></sup>**:: r<sub>i</sub> - diffuse color cosine of light angle from axis of spotlight<sub>i</sub>**: :: r<sub>i</sub> = norm(- light direction in camera space) . norm(L<sub>sdir<sub>i</sub></sub> - specular color of light i)**: L: phi<sub>i</sub>dir- penumbra (exterior cone) angle of spotlight<sub>i</sub>**:: theta<sub>i</sub> - direction vector umbra (interior cone) angle of light spotlight<sub>i</sub>**: N : f<sub>i</sub> - normal to the surface at the vertexfalloff factor of spotlight<sub>i</sub>
** [http://en.wikipedia.org/wiki/Blinn%E2%80%93Phong_shading_model Blinn-Phong and Phong]
**: V - viewpoint vector

Navigation menu