Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Matrix Multiplication - Foundations of Computer Graphics - Exams, Exams of Computer Graphics

Main points of this exam paper are: Matrix Multiplication, Bright Lighting, Function Well, Human Eye, Receptor Cells, Wavelengths, Spectral Colors, Primary Colors, Cie Color, Color Space

Typology: Exams

2012/2013

Uploaded on 04/02/2013

shamabhat_84
shamabhat_84 🇮🇳

80 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Student Name: Class Account Username:
Instructions: Read them carefully!
The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced
or risk not having it accepted.
Make sure you fill in your name and the above information, and that you sign below. Anonymous tests
will not be graded.
Write legibly. If the person grading the test cannot read something, he/she will simply assume that
you meant the illegible portion as a note to yourself and they will ignore it. If you lose points because
part of your answer could not be read, you will not be given the opportunity to explain what it says.
Be clear and concise. The answers to most questions should be short. If you find yourself writing an
excessively long response, you may want to think more carefully about the question. Long rambling
answers generally get fewer points that short ones do because there are more opportunities to mark
something wrong.
You may use one page of notes while taking the exam. You may not ask questions of other students,
look at another student’s exam, use a textbook, use a phone or calculator, or seek any other form of
assistance. In summary: do not cheat. Persons caught cheating will be subject to disciplinary action.
Do not ask questions during the exam. Most questions are unnecessary and they disturb other stu-
dents. Figuring out what the exam question is asking is part of the test. If you think you have to make
some unusual assumption to answer a problem, note what that assumption is on the test.
I have read these instructions, I understand them, and I will follow them.
Your Signature: ____________________________________
Date: ____________________________________
Student ID: ____________________________________
Total Points: XX You Scored: ________
CS 184: Foundations of Computer Graphics page 1 of 8
Fall 2008
Prof. James O’Brien
Midterm Exam
pf3
pf4
pf5
pf8

Partial preview of the text

Download Matrix Multiplication - Foundations of Computer Graphics - Exams and more Exams Computer Graphics in PDF only on Docsity!

Student Name: Class Account Username:

Instructions: Read them carefully! The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced or risk not having it accepted. Make sure you fill in your name and the above information, and that you sign below. Anonymous tests will not be graded. Write legibly. If the person grading the test cannot read something, he/she will simply assume that you meant the illegible portion as a note to yourself and they will ignore it. If you lose points because part of your answer could not be read, you will not be given the opportunity to explain what it says. Be clear and concise. The answers to most questions should be short. If you find yourself writing an excessively long response, you may want to think more carefully about the question. Long rambling answers generally get fewer points that short ones do because there are more opportunities to mark something wrong. You may use one page of notes while taking the exam. You may not ask questions of other students, look at another student’s exam, use a textbook, use a phone or calculator, or seek any other form of assistance. In summary: do not cheat. Persons caught cheating will be subject to disciplinary action. Do not ask questions during the exam. Most questions are unnecessary and they disturb other stu- dents. Figuring out what the exam question is asking is part of the test. If you think you have to make some unusual assumption to answer a problem, note what that assumption is on the test. I have read these instructions, I understand them, and I will follow them. _Your Signature: ____________________________________ Date: ____________________________________ Student ID: ____________________________________ Total Points: XX You Scored: _________ CS 184: Foundations of Computer Graphics page 1 of 8 Fall 2008 Prof. James O’Brien

  1. Please fill in each of the blanks with an appropriate answer. 2 points each blank, 64 Total Visible light roughly corresponds to wavelengths between _________ and _________ nanometers. Spectral colors have a very __________________ appearance. The human eye contains receptor cells, called __________________, that are sensitive to color and function well under bright lighting. A typical person has this many _________ types of receptor cell at are sensitive to color and func- tion well under bright lighting. The human eye contains an additional type of receptor cell, called __________________, that are used under low-light conditions. Given a set of three primary colors, the color gamut for linear mixing is defined by the __________________ of the colors plotted as points in the CIE color space. The “H” in HSV color space stands for __________________. A phenomenon called __________________ creates “rainbow colors” by means of wave interfer- ence. The term ____________________________________ refers to energy emitted by hot objects. The __________________ describes how light is reflected from the surface of a material. A __________________ shading model focuses only on how light interacts with a single surface and does not account for paths containing multiple bounces of light. __________________ is a phenomena that plays a key role in the appearances of milk and the sky. Ideal __________________ materials reflect light uniformly in all directions. The exponent in the Phong specular model controls the appearance of the __________________. Directional lights behave like lights located _______________________. CS 184: Foundations of Computer Graphics page 2 of 8 Fall 2008 Prof. James O’Brien

The mnemonic __________________ reminds people of order of colors in the spectrum. The word __________________ describes two colors that appear the same to the human eye but that have different specular distributions. Bresenham’s line drawing algorithm uses __________________ only arithmetic.

  1. You have two pieces of opaque orange plastic, pieces “A” and “B.” When viewed under light source “X” they look identical in color, but when viewed under sunlight (light source “Y” ) they look different. Draw a set of curves showing the spectral reflectance for A and B and spectral emissions for X and Y that could provide a reasonable explanation for this situation. 10 points Note: Makes sure the curves you draw show plausible distributions. In other words, if you tried to draw a curve for “blue” by making a hump centered at 700 nm, it would be wrong. 400 nm 700 nm 400 nm 700 nm 400 nm 700 nm 400 nm 700 nm A B X Y
  2. A perspective camera has its center of projection at [9,√2,-5], and it’s image plane is defined by z = +7. What set of lines vanish at the same point in the image plane as does the line x ( t ) = [3,0,1] + t [1,1,-1]? 5 points Be precise and concise. What lines do not vanish to any finite point in the image? 3 points Be precise and concise.
  3. Circle the types of transformations that to be expressed in matrix form require homogenized coordinates. 8 points Translation Scale Rotation Shear Perspective CS 184: Foundations of Computer Graphics page 4 of 8 Fall 2008 Prof. James O’Brien
  1. This diagram shows a triangle with vertices labeled a, b, and c. Several locations have been indicated with circles. The list of numbers to the right contains triples of numbers repre- senting the barycentric coordinates of these circles. Draw a line connecting each triple with the correct circle. Cross out the triple that does not match any circle. 12 points

a

b

c

[0.5, 0.0, 0.5]

[0.0, 0.0, 1.0]

[0.8, 0.1, 0.1]

[0.1, 0.8, 0.1]

[-0.1, 1.2, -0.1]

[0.1, -0.2, 0.1]

  1. The following diagram shows the the x-y plane of the CIE color space. Mark and label the approximate locations of spectral orange, spectral yellow, spectral violet, spectral green, sky-blue, and white. 12 points x y CS 184: Foundations of Computer Graphics page 5 of 8 Fall 2008 Prof. James O’Brien
  1. The following line segments will be inserted into a BSP Tree in the order indicated. As dis- cussed in class, the lines themselves will be used to define the split planes. The numbers are on the positive side of each line. 1 2 3 4 6 5 Diagram the resulting tree below. If needed, show where line segments need to be split by marking on the above figure. Also, indicate the names of the split parts by writing labels on the figure above. (For example, if there were a segment 9 and it was to be split, you would draw a mark showing where it would be split and label the resulting pieces 9a and 9b.) 15 points List the front-to-back traversal order that would result for the location indicated by the viewer icon (the star). 6 points CS 184: Foundations of Computer Graphics page 7 of 8 Fall 2008 Prof. James O’Brien
  1. On the figure below write the appropriate letter in each of the blanks to label the diagram properly. Some of the letters are just there to confuse you. 15 points

View

Up

Distance to image plane

i

Y

-Z

Top

t

Bottom

b

Near

n

Far

f

Center










A Center of Projection I Zero point

B Small blind J Bottom clipping plane distance

C Top clipping plane distance K Big blind

D View up vector L Star power

E View plane normal M Far clipping plane distance

F Main tank N Right clipping plane distance

G Near clipping plane distance O Left clipping plane distance

H Distance to image plane P Distance to a higher plane

CS 184: Foundations of Computer Graphics page 8 of 8 Fall 2008 Prof. James O’Brien