G7: Shading Models Flashcards

1
Q

What is a shading model?

A

A computational model used to determine the color (shade) of visible surfaces in a scene.

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

What are the two types of illumination models used in shading?

A

Local illumination: Uses only direct light at a point

Global illumination: Accounts for light transport from the entire scene

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

Which shading model type is typically used in rasterization pipelines?

A

Local illumination

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

What three factors does local illumination depend on?

A

Light sources

Local surface geometry & material

Camera viewpoint

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

What does radiometry measure?

A

The amount of light energy (photon activity) using terms like radiant energy, flux, and irradiance.

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

What is irradiance?

A

Energy received per unit area per unit time.
(Unit: W/m²)

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

What equation relates energy in a photon to its wavelength?

A

Q=(hc)/λ​
Where:
h = Planck’s constant
c = speed of light
λ = wavelength

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

What is Lambert’s cosine law?

A

For diffuse surfaces, color is proportional to max(0,dot(N,L))
(N = surface normal, L = light direction)

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

Why is max(0,dot(N,L)) used in Lambertian shading?

A

To avoid negative light contributions when the surface faces away from the light.

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

List four common light types in graphics.

A

Ambient light

Directional light

Point light

Spotlight

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

What’s unique about point lights?

A

They emit light equally in all directions, and their irradiance falls off with 1/(r^2)​.

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

What is the Phong reflection model formula?

A

ca ​= ka​⋅La​

cd = kd/(d^2) ⋅ max⁡(0,dot(N,L))⋅Ld

cs = ks/(d^2) ⋅ max⁡(0,dot(R,V))^shininess ⋅ Ls​

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

What is the Blinn-Phong model?

A

A modified Phong model using a halfway vector H between light and view instead of computing R (reflection).

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

Compare flat, Gouraud, and Phong shading.

A

Flat shading: Evaluate illumination once per polygon.

Gouraud shading: Evaluate at vertices, interpolate color.

Phong shading: Interpolate normals, evaluate illumination per pixel.

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