CSCI 4611 Final Exam Questions With
100% Verified Answers
What is the Phong lighting model equation? -
correct answer ✅color = Ka * Ia + kd*Id(n dot L) + Ks * Is(h dot
n)^s
what do you need to use instead of (h dot n) in the Phong
equation? -
correct answer ✅(max(h dot n, 0))^s
what is typically the last line of code you enter in your
vertexShader? -
correct answer ✅gl_position = gl_ProjectionMatrix *
dl_ModelViewMatric * gl_Vertex;
what is the V vector in the phong lighting model? -
correct answer ✅The viewer position
what is the R vector in the phong lighting model? -
correct answer ✅The light reflection vector
what is the N vector in the phong lighting model? -
correct answer ✅The surface normal vector
100% Verified Answers
What is the Phong lighting model equation? -
correct answer ✅color = Ka * Ia + kd*Id(n dot L) + Ks * Is(h dot
n)^s
what do you need to use instead of (h dot n) in the Phong
equation? -
correct answer ✅(max(h dot n, 0))^s
what is typically the last line of code you enter in your
vertexShader? -
correct answer ✅gl_position = gl_ProjectionMatrix *
dl_ModelViewMatric * gl_Vertex;
what is the V vector in the phong lighting model? -
correct answer ✅The viewer position
what is the R vector in the phong lighting model? -
correct answer ✅The light reflection vector
what is the N vector in the phong lighting model? -
correct answer ✅The surface normal vector