Lighting and Shading

Description: This quiz covers the fundamental concepts and techniques related to lighting and shading in computer graphics.
Number of Questions: 15
Created by:
Tags: lighting shading computer graphics
Attempted 0/15 Correct 0 Score 0

What is the primary purpose of lighting in computer graphics?

  1. To illuminate objects and create realistic visual effects

  2. To add color to objects

  3. To define the shape and form of objects

  4. To create shadows and highlights


Correct Option: A
Explanation:

Lighting is used to create the illusion of light and shadow, which helps to define the shape, form, and texture of objects in a scene.

Which lighting model is commonly used in real-time rendering due to its computational efficiency?

  1. Phong shading

  2. Lambert shading

  3. Blinn-Phong shading

  4. Cook-Torrance shading


Correct Option: A
Explanation:

Phong shading is a popular lighting model used in real-time rendering due to its balance between computational efficiency and visual quality.

What is the main difference between diffuse and specular reflection?

  1. Diffuse reflection scatters light in all directions, while specular reflection reflects light in a specific direction

  2. Diffuse reflection is caused by surface roughness, while specular reflection is caused by surface smoothness

  3. Diffuse reflection is independent of the angle of incidence, while specular reflection is dependent on the angle of incidence

  4. All of the above


Correct Option: D
Explanation:

Diffuse reflection scatters light in all directions, while specular reflection reflects light in a specific direction. Diffuse reflection is caused by surface roughness, while specular reflection is caused by surface smoothness. Diffuse reflection is independent of the angle of incidence, while specular reflection is dependent on the angle of incidence.

What is the purpose of ambient lighting?

  1. To provide a uniform level of illumination to all objects in a scene

  2. To simulate the effect of indirect lighting

  3. To create shadows and highlights

  4. To add color to objects


Correct Option: A
Explanation:

Ambient lighting provides a uniform level of illumination to all objects in a scene, regardless of their position or orientation. This helps to reduce the appearance of harsh shadows and create a more realistic overall lighting effect.

Which shading technique is used to simulate the effect of light scattering within a translucent material?

  1. Subsurface scattering

  2. Phong shading

  3. Lambert shading

  4. Blinn-Phong shading


Correct Option: A
Explanation:

Subsurface scattering is a shading technique used to simulate the effect of light scattering within a translucent material, such as skin or marble. This technique helps to create a more realistic appearance by allowing light to penetrate the surface and scatter within the material.

What is the main difference between forward rendering and deferred rendering?

  1. Forward rendering processes pixels in the order they appear on the screen, while deferred rendering processes pixels in the order they are stored in memory

  2. Forward rendering stores information about each pixel in the scene, while deferred rendering stores information about each light source in the scene

  3. Forward rendering is more efficient for scenes with a large number of lights, while deferred rendering is more efficient for scenes with a large number of objects

  4. All of the above


Correct Option: D
Explanation:

Forward rendering processes pixels in the order they appear on the screen, while deferred rendering processes pixels in the order they are stored in memory. Forward rendering stores information about each pixel in the scene, while deferred rendering stores information about each light source in the scene. Forward rendering is more efficient for scenes with a large number of lights, while deferred rendering is more efficient for scenes with a large number of objects.

What is the purpose of shadow mapping?

  1. To generate shadows from point light sources

  2. To generate shadows from directional light sources

  3. To generate shadows from spot light sources

  4. All of the above


Correct Option: D
Explanation:

Shadow mapping is a technique used to generate shadows from point light sources, directional light sources, and spot light sources. It works by projecting the scene onto a texture map, which is then used to determine which parts of the scene are in shadow.

Which shading technique is used to simulate the effect of light bouncing off multiple surfaces in a scene?

  1. Global illumination

  2. Phong shading

  3. Lambert shading

  4. Blinn-Phong shading


Correct Option: A
Explanation:

Global illumination is a shading technique used to simulate the effect of light bouncing off multiple surfaces in a scene. This technique helps to create more realistic lighting effects by taking into account the interaction of light with the environment.

What is the purpose of normal mapping?

  1. To add detail to the surface of an object without increasing the number of polygons

  2. To create the illusion of surface displacement

  3. To simulate the effect of light scattering within a translucent material

  4. To generate shadows from point light sources


Correct Option: A
Explanation:

Normal mapping is a technique used to add detail to the surface of an object without increasing the number of polygons. This is done by storing the surface normals in a texture map, which is then used to calculate the shading of the object.

Which shading technique is used to simulate the effect of light reflecting off a rough surface?

  1. Cook-Torrance shading

  2. Phong shading

  3. Lambert shading

  4. Blinn-Phong shading


Correct Option: A
Explanation:

Cook-Torrance shading is a shading technique used to simulate the effect of light reflecting off a rough surface. This technique takes into account the distribution of surface normals and the roughness of the surface to create more realistic lighting effects.

What is the purpose of environment mapping?

  1. To simulate the effect of light bouncing off multiple surfaces in a scene

  2. To create the illusion of a reflective surface

  3. To add detail to the surface of an object without increasing the number of polygons

  4. To generate shadows from point light sources


Correct Option: B
Explanation:

Environment mapping is a technique used to create the illusion of a reflective surface. This is done by storing the environment map in a texture map, which is then used to calculate the reflection of the environment on the surface of the object.

Which shading technique is used to simulate the effect of light passing through a transparent material?

  1. Refraction

  2. Phong shading

  3. Lambert shading

  4. Blinn-Phong shading


Correct Option: A
Explanation:

Refraction is a shading technique used to simulate the effect of light passing through a transparent material. This technique takes into account the index of refraction of the material and the angle of incidence of the light to create realistic refraction effects.

What is the purpose of light probes?

  1. To store information about the lighting in a scene

  2. To generate shadows from point light sources

  3. To create the illusion of a reflective surface

  4. To add detail to the surface of an object without increasing the number of polygons


Correct Option: A
Explanation:

Light probes are used to store information about the lighting in a scene. This information can then be used to illuminate objects in the scene, even if they are not directly lit by a light source.

Which shading technique is used to simulate the effect of light scattering within a participating medium?

  1. Volume scattering

  2. Phong shading

  3. Lambert shading

  4. Blinn-Phong shading


Correct Option: A
Explanation:

Volume scattering is a shading technique used to simulate the effect of light scattering within a participating medium, such as fog or smoke. This technique takes into account the density and scattering properties of the medium to create realistic scattering effects.

What is the purpose of irradiance caching?

  1. To store information about the lighting in a scene

  2. To generate shadows from point light sources

  3. To create the illusion of a reflective surface

  4. To add detail to the surface of an object without increasing the number of polygons


Correct Option: A
Explanation:

Irradiance caching is a technique used to store information about the lighting in a scene. This information can then be used to illuminate objects in the scene, even if they are not directly lit by a light source.

- Hide questions