Csgv302 Quiz

Submitted by: Submitted by

Views: 10

Words: 676

Pages: 3

Category: Science and Technology

Date Submitted: 07/07/2015 09:55 AM

Report This Essay

CSGV302 Long Quiz

Guidelines:

1. The quiz is composed of three parts, with each test part pertaining to a certain reference.

2. Each test part is worth 10 points, and will be counted as one quiz in alternative to the MP’s for the final term.

3. Passing score is 7.5 points per test part.

Part 1

Reference: Learning Modern 3D Graphics Programming by Jason McKesson (pp. 159 onwards)

A. Identification: type your answers before each number. (4 points)

Lighting Model 1. This is an algorithm, a mathematical function, that determines how surface interacts with light.

Area Lights 2. These are light emitting objects.

Ambient Lighting 3. This lighting model has light coming from all directions equally.

Diffuse Lighting 4. This lighting model assumes light is reflected from a surface in many directions.

B. Essay: answer the questions in no more than 5 sentences.

1. Discuss photorealism. (2 points)

A rendering system has achieved photorealism when it can render a still image that is essentially

indistinguishable from a real photograph.

2. Compare global illumination and local illumination. (4 points)

global illumination is A category of lighting models that take into account lighting contributions from interreflection.

local illumination is Lighting computations made only from light sources that cast light directly onto the surface.

Part 2

Reference: http://www.glprogramming.com/red/chapter05.html

A. Identification: type your answers before each number. (4 points)

glCleat() 1. This command clears both the depth and color buffers if its arguments are GL_COLOR_BUFFER_BIT and GL_DEPTH_BUFFER_BIT.

Ambient illumination 2. This is light that’s been scattered so much by the environment that its direction . is impossible to determine.

Diffuse Component 3. This is light that comes from one direction, and scatters equally in all directions...