Illumination and Shading Flashcards

1
Q

Distinguish between illumination and shading

A

Illumination refers to the use of lights in virtual world. Shading on the other hand, refers to effects that light have on 3D objects in the scene.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Outline 4 types of Light Sources

A
  1. Point light source - Parts of the polygons which are closer to the light source appear brighter than those that are further away.
  2. Sunlight source - Light rays strike the polygons in the scene from single parallel direction with equal intensity everywhere.
  3. Spotlight source - The light is focused and forms a cone-shaped envelop as it projects out from the light source.
  4. Area light source - Light source comes from a rectangular area & projects the light from one side of the rectangle. e.g. florescent light fixture in a ceiling panel.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define Shading model?

A

A shading model checks lighting conditions and figures out what surface should look like based on lighting conditions & surface parameters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Differentiate the terms hard shadows and soft shadows

A

Hard shadows are those caused by very distant light sources, like the sun. Soft shadows are caused by close light sources like light bulbs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe the following with an example: local light source and infinite light source

A

Rays from a local light source emanate in different directions. Rays from the finite light source travel in the same direction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In the shading model, describe the light of concern used in computer graphics.

A

In computer graphics, we are concerned with the reflected light - light which bounces off object and enters eye.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Compare and contrast the following surface properties: ambient lighting, diffuse lighting and specular lighting

A

Ambient light accounts for indirect light and accounts of light effects that are difficult to compute i.e. secondary reflections
Unlike ambient reflection, diffuse reflection is dependent on location of light source relative to the object.
Specular lighting models reflections on shiny surfaces and is view dependent i.e. it changes as camera’s position changes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe three shading models

A
  1. Flat shading - perform one lighting calculation per polygon
  2. Gouraud shading - performs one lighting calculation per vertex
  3. Phong shading - performs one lighting calculation per pixel
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

List any two problems associated with Gouraud shading model

A
  1. Gouraud shading interpolates linearly and so can make the highlight much bigger
  2. Gouraud shading can miss highlights that occur in the middle of a polygon
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

One of the problems associated with interpolation shading is that Vertex normals can be incorrect when calculated as average of face normal. Suggest two solutions

A
  1. Add more polygons

2. Test for angles and use different vertex normals for adjacent polygons

How well did you know this?
1
Not at all
2
3
4
5
Perfectly