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.

Similar documents
Midterm Exam CS 184: Foundations of Computer Graphics page 1 of 11

Midterm Exam! CS 184: Foundations of Computer Graphics! page 1 of 13!

Midterm Exam! CS 184: Foundations of Computer Graphics! page 1 of 14!

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.

Final Exam CS 184: Foundations of Computer Graphics! page 1 of 12!

The exam begins at 5:10pm and ends at 8:00pm. You must turn your exam in when time is announced or risk not having it accepted.

Final Exam CS 184: Foundations of Computer Graphics page 1 of 14 Fall 2016 Prof. James O Brien

Make sure you fill in your name and the above information, and that you sign below. Anonymous tests will not be graded.

CS 130 Final. Fall 2015

Topics and things to know about them:

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

CS 130 Exam I. Fall 2015

Raytracing CS148 AS3. Due :59pm PDT

CS 130 Exam I. Fall 2015

CPSC GLOBAL ILLUMINATION

Interactive Real-Time Raycasting

Pipeline Operations. CS 4620 Lecture 10

Introduction to Visualization and Computer Graphics

The University of Calgary

Spring 2012 Final. CS184 - Foundations of Computer Graphics. University of California at Berkeley

Ray Tracing. Cornell CS4620/5620 Fall 2012 Lecture Kavita Bala 1 (with previous instructors James/Marschner)

CS 464 Review. Review of Computer Graphics for Final Exam

light light light B E

Pipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11

Homework #2. Shading, Projections, Texture Mapping, Ray Tracing, and Bezier Curves

CS 4620 Midterm, March 21, 2017

Lecture 15: Shading-I. CITS3003 Graphics & Animation

U.C. Berkeley, EECS, Computer Science TAKE HOME EXAM. Your Class Computer Account: Your student ID #:

TDA362/DIT223 Computer Graphics EXAM (Same exam for both CTH- and GU students)

Pipeline Operations. CS 4620 Lecture 14

Color and Light CSCI 4229/5229 Computer Graphics Fall 2016

Deferred Rendering Due: Wednesday November 15 at 10pm

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

For each question, indicate whether the statement is true or false by circling T or F, respectively.

CS580: Ray Tracing. Sung-Eui Yoon ( 윤성의 ) Course URL:

Homework #2. Hidden Surfaces, Projections, Shading and Texture, Ray Tracing, and Parametric Curves

Midterm Exam Fundamentals of Computer Graphics (COMP 557) Thurs. Feb. 19, 2015 Professor Michael Langer

CS 4620 Midterm 1. Tuesday 22 October minutes

Virtual Reality for Human Computer Interaction

TDA361/DIT220 Computer Graphics, January 15 th 2016

Graphics for VEs. Ruth Aylett

CS 559 Computer Graphics Midterm Exam March 22, :30-3:45 pm

U.C. Berkeley, EECS, Computer Science TAKE HOME EXAM. Your Class Computer Account: DO NOT OPEN THIS INSIDE SODA HALL -- WAIT UNTIL YOU ARE ALONE!

CSC 471 midterm 2 Winter Name:

Computer Graphics & Image Processing: Exercises

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Homework 3: Programmable Shaders

Color and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception

OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS

U.C. Berkeley, EECS, Computer Science FINAL EXAM. Your Class Computer Account: Row: Seat: Your student ID #:

CHAPTER 1 Graphics Systems and Models 3

Assignment 6: Ray Tracing

Comp 410/510 Computer Graphics. Spring Shading

CMSC427 Final Practice v2 Fall 2017

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

Institutionen för systemteknik

6.837 Introduction to Computer Graphics Final Exam Tuesday, December 20, :05-12pm Two hand-written sheet of notes (4 pages) allowed 1 SSD [ /17]

Computer Graphics & Image Processing: Exercises

Graphics for VEs. Ruth Aylett

CS Simple Raytracer for students new to Rendering

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

Computer Graphics Ray Casting. Matthias Teschner

Orthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015

Ray Tracer Due date: April 27, 2011

Illumination & Shading

Shading I Computer Graphics I, Fall 2008

Illumination and Shading

Module Contact: Dr Stephen Laycock, CMP Copyright of the University of East Anglia Version 1

CS354 Computer Graphics Ray Tracing. Qixing Huang Januray 24th 2017

file:///c /Documents%20and%20Settings/Jason%20Raftery/My%20Doc...e%20184%20-%20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm

Sung-Eui Yoon ( 윤성의 )

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

Practical 2: Ray Tracing

Lighting. Figure 10.1

CS 563 Advanced Topics in Computer Graphics Camera Models. by Kevin Kardian

Programming projects. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer

THE AUSTRALIAN NATIONAL UNIVERSITY Final Examinations(Semester 2) COMP4610/COMP6461 (Computer Graphics) Final Exam

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

CS 325 Computer Graphics

Assignment 2 Ray Tracing

Rendering: Reality. Eye acts as pinhole camera. Photons from light hit objects

Colour Reading: Chapter 6. Black body radiators

3D Viewing. CS 4620 Lecture 8

CEng 477 Introduction to Computer Graphics Fall 2007

CS 4620 Program 3: Pipeline

CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK

CS 488. More Shading and Illumination. Luc RENAMBOT

CMSC427: Computer Graphics Lecture Notes Last update: November 21, 2014

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops.

Graphics Hardware and Display Devices

End-Term Examination

CS 184: Assignment 4 Simple Raytracer

Welcome to COMP 770 (236) Introduction. Prerequisites. Prerequisites

Computer Graphics. Illumination and Shading

Simple Lighting/Illumination Models

CS384G Midterm Examination Spring 2008

Homework #2. Shading, Ray Tracing, and Texture Mapping

Lets assume each object has a defined colour. Hence our illumination model is looks unrealistic.

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

Transcription:

CS 184: Foundations of Computer Graphics page 1 of 10 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 students. 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: 170 + 10 You Scored: _ + _

CS 184: Foundations of Computer Graphics page 2 of 10 1. Please fill in each of the blanks with an appropriate answer. 2 points each blank, 66 Total The human eye contains receptor cells, called, that function relatively well under low-light conditions. The human eye contains an another type of receptor cell, called, that come in three varieties and allow color vision. The S in HSV color space stands for. The term _ refers to energy emitted by hot objects. The sky appears blue due to of light. The mechanism responsible for the color in a peacock feather is. Scorpions under ultraviolet light. The term in the Phong shading model approximates global illumination. Increasing the in the Phong shading model causes specular reflections to appear smaller and tighter. The is a function that describes how light is reflected form a surface. The soft, smooth appearance of healthy skin is caused by of light. The diffuse term in Phong shading is proportional to the cosine between and the surface normal. The specular term in Phong shading is proportional to the cosine between and the surface normal. The term in the Phong shading model is not view independent. A light is the limit behavior of a point light located infinitely far away. In the real world, illumination from a point source falls off proportional to.

CS 184: Foundations of Computer Graphics page 3 of 10 In shading, the vertex color values are interpolated. In shading, the vertex normals are interpolated. Any 3x3 transformation matrix can be decomposed into a product of and scaling. The of a rotation matrix is always +1. The breaks a matrix A into A = U S V where U and V are orthonormal and S is diagonal. The use of coordinates allows translation to be expressed as matrix-vector multiplication. If a matrix is used to transform the points on an object, the _ of the matrix should be used to transform the surface normals. encode rotations in 3D as points on the unit hyper sphere in R4. When using Euler angles, occurs when the first and third axes align on top of each other. In a raytracer, are generated by tracing rays from surface points to the lights. Depth-of-field effects result when the opening of a pin-hole camera is replaced with a. recursively partition space in a binary fashion. In linear perspective, the surface of projection is a. Bresenham s line drawing algorithm uses only arithmetic. The receptors are mainly concentrated in the fovea (center of the retina). Area light sources create shadows. Writing a raytracer is like.

CS 184: Foundations of Computer Graphics page 4 of 10 2. If you have two vectors, A and B, then we can write the cross product as A x B. Simplify the following expressions: 5 points A x ( A x ( A x B ) ) = A x ( A x ( A x ( A x B ) ) ) = 3. You have two pieces of opaque BLUE 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 green 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 4. A perspective camera has its center of projection at [7,-3,+5], and it s image plane is defined by z = +2. What set of lines vanish at the same point in the image plane as does the line x(t) = [3,-1,1] + t [2,1,0]? 5 points Be precise and concise. What lines do not vanish to any finite point in the image? Be precise and concise. 3 points 5. Draw a tight axis-aligned bounding box around each of these shapes: 5 points y x

CS 184: Foundations of Computer Graphics page 5 of 10 6. 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 representing 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. 6 points c a a [0.5, 0.0, 0.5] [0.0, 0.0, 1.0] [0.8, 0.1, 0.1] [0.1, 0.8, 0.1] b b [-0.1, 1.2, -0.1] [0.1, -0.2, 0.1] 7. The following diagram shows the the x-y plane of the CIE color space. Mark and label the approximate locations of spectral red, spectral blue, spectral green, spectral yellow, pink, and white. 12 points y x

CS 184: Foundations of Computer Graphics page 6 of 10 8. Given a rotation encoded as a length-3 vector (e.g. axis-angle, a.k.a. exponential map), in general how is the rotation changed when the representation is doubled? 3 points 9. Given a rotation encoded as a quaternion, in general how is the rotation changed when just the real part of representation is negated? 3 points 10. One of the diagrams below shows a cube under orthographic projection, the other under perspective projection. Label which is which. 2 points 11. Write down plausible RGB values for the following materials: 4 points Glossy Black Kd = Ks = Flat Blue Kd = Ks = 12. True or false, an orthographic rendering of a sphere will always be perfectly round? 2 points 13. True or false, two lines that meet at a right angle in 3D will always appear to meet at a right angle when orthographically projected into 2D? 2 points

CS 184: Foundations of Computer Graphics page 7 of 10 14. The following line segments will be inserted into a BSP Tree in the order indicated. As discussed in class, the lines themselves will be used to define the split planes. The numbers are on the positive side of each line. 12 3 5 4 12 6 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 8 of 10 15. In what direction will the +Y axis point after a -90 degree rotation about the +Z axis? 2 points 16. Which matrix scales by -1 about the X axis? (Circle your answer.) 2 points 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 17. True or false, rotation about an arbitrary axis in 3D space requires three separate transformations matrices.? 2 points 18. In the diagram below, indicate the point on the line that will appear brightest to the observer if the line acts like a purely specular reflector. 2 points 19. Write out the 3x3 matrix for a rotation about the Y axis. Now write out a 3x3 matrix for a rotation about the Y axis that would result if we did rotations clockwise instead of counterclockwise. 5 pts

CS 184: Foundations of Computer Graphics page 9 of 10 20. 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. 8 points Near n Far f Top t Y Up View Bottom b Center -Z Distance to image plane i 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 10 of 10 EXTRA CREDIT +10 points Given two spheres in R3 described by the implicit equations: Sphere 1: x c 1 2 r1 2 =0 Sphere 2: x c 2 2 r2 2 =0 the intersection of the two spheres (if it exists) will be a circle. Write out equations for computing the center of the circle, c, the radius of the circle, r, and the equation for the plane containing the circle. Note what conditions must apply for there to be a solution. Your answer must be neat and clear. No points will be awarded for imprecise answers that do not fit in the boxes. You must get all four parts right to earn any credit. (i.e. all or nothing) Do not attempt this question until you have completed the rest of the exam! c = r = Plane equation: Fails when: