Last Updated
April 15, 2010
Lighting
- What is Lamberts cosine Law? How is it used?
- Compare and contrast Gouraud & Phong shading.
- Distinguish between diffuse and specular reflection of light. Provide a simple mathematical model for simulating the effect of diffuse reflection, and provide a model to simulate specular reflection.
- Compare and contrast the Phong Specular reflection and Blinn-Phong Specular reflection models.
- Give examples from the real world of surface materials that are primarily diffuse and/or primarily specular.
- Why are surface normals important in lighting calculations?
- The image below shows 3 stacked spheres on a plane. There is one point light source in the scene. Three areas of the scene are labeled A, B & C. Describe each area in terms of the relative amounts of ambient, diffuse and specular light reflected.
- Examine the image above and give two reasons why the ground plane gets darker as you move from the bottom of the image to the top of the image.
- Give a brief description of the following:-
- Diffuse Reflection of ambient light
- Diffuse Reflection of a point source of light
- Specular Reflection
- Given The following:- a point P on a surface, a unit vector n (normal the surface at point P) and a unit vector s (vector to a light source). Derive an equation for the unit vector r (representing the direction of specular reflection at P) based on n and s.
- Compare and contrast Gouraud and Phong Shading. Give an example of the use of each of these shading models when a particular polygon mesh is being scan-converted.
- Lambert’s Law and Phong reflection can model the way light reflects from a surface. Describe how these models work and their contribution to the reflected light.
- How can specular reflection be computed without having to calculate the reflection vector?
- Explain in detail how OpenGL renders smooth shading and why it usually renders specular reflection poorly. Describe a technique to improve how specular reflection is rendered in OpenGL.
- In the scene diagrammed below, the light source is initially at “Position A”. The light source is moved to “position B”. Describe if the ambient, diffuse and specular reflections at “Point P” change due to the movement of the light. How do they change? Re-draw the diagram, labelling all the important vectors and angles for lighting calculations.
- Give examples from the real world of light sources best approximated by OpenGL point light sources, by directional light sources, and by spot light sources.
- A surface in OpenGL is given diffuse reflection coefficient of (0.8, 0.4, 0) and there is no ambient light in the scene.
- If a blue light is used what is the colour of the object and why? (2 marks)
- If a magenta light is used what is the colour of the object and why?
- Examine the two images below. The top image shows a 4x4 tiled plane with lighting showing specular reflection as the oval bright area. The bottom picture shows an attempt to reproduce this Scene in OpenGL with the light in the same position. Why is the specular area so much bigger in the OpenGL version? Why does the specular reflection have a hexagonal shape.
© Ken Power 1996-2016