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

Similar documents
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.

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.

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 12!

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.

Topics and things to know about them:

CS 130 Exam I. Fall 2015

CS 130 Final. Fall 2015

CS 130 Exam I. Fall 2015

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!

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

Raytracing CS148 AS3. Due :59pm PDT

Interactive Real-Time Raycasting

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

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

Queen s University CISC 454 Final Exam. April 19, :00pm Duration: 3 hours. One two sided aid sheet allowed. Initial of Family Name:

Institutionen för systemteknik

TDA361/DIT220 Computer Graphics, January 15 th 2016

Computer Science 426 Midterm 3/11/04, 1:30PM-2:50PM

Illumination and Shading

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

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

Computer Graphics I Lecture 11

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

CS 325 Computer Graphics

CPSC GLOBAL ILLUMINATION

CS 464 Review. Review of Computer Graphics for Final Exam

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

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

light light light B E

Introduction to 3D Concepts

CS 4620 Midterm, March 21, 2017

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

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

CS5670: Computer Vision

The University of Calgary

Computer Graphics Ray Casting. Matthias Teschner

What is it? How does it work? How do we use it?

Introduction to Visualization and Computer Graphics

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]

SNC 2PI Optics Unit Review /95 Name:

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

CS 4620 Midterm 1. Tuesday 22 October minutes

CS 4620 Program 3: Pipeline

Lighting. Figure 10.1

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Ray Tracer Due date: April 27, 2011

Chapter 32 Light: Reflection and Refraction. Copyright 2009 Pearson Education, Inc.

Deferred Rendering Due: Wednesday November 15 at 10pm

Lecture 15: Shading-I. CITS3003 Graphics & Animation

CHAPTER 1 Graphics Systems and Models 3

CS559 Computer Graphics Fall 2015

Computer Graphics (CS 543) Lecture 13b Ray Tracing (Part 1) Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

Homework #2 and #3 Due Friday, October 12 th and Friday, October 19 th

Graphics for VEs. Ruth Aylett

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

Graphics Hardware and Display Devices

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

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

CS6670: Computer Vision

Lecture 3 Sections 2.2, 4.4. Mon, Aug 31, 2009

COS 116 The Computational Universe Laboratory 10: Computer Graphics

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

Shading. Brian Curless CSE 557 Autumn 2017

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

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

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

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

4. A bulb has a luminous flux of 2400 lm. What is the luminous intensity of the bulb?

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

S U N G - E U I YO O N, K A I S T R E N D E R I N G F R E E LY A VA I L A B L E O N T H E I N T E R N E T

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

Unit 3: Optics Chapter 4

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

Announcements. Lighting. Camera s sensor. HW1 has been posted See links on web page for readings on color. Intro Computer Vision.

Spatial Data Structures

EXAMINATIONS 2016 TRIMESTER 2

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

All forms of EM waves travel at the speed of light in a vacuum = 3.00 x 10 8 m/s This speed is constant in air as well

Chapter 12 Notes: Optics

Open GL Framework For A Computer Graphics Course

CEng 477 Introduction to Computer Graphics Fall 2007

1 (5 max) 2 (10 max) 3 (20 max) 4 (30 max) 5 (10 max) 6 (15 extra max) total (75 max + 15 extra)

Spatial Data Structures

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

CS 465 Program 4: Modeller

Chapter 5. Projections and Rendering

COMP environment mapping Mar. 12, r = 2n(n v) v

LIGHT Measuring Angles

Chapter 11 Global Illumination. Part 1 Ray Tracing. Reading: Angel s Interactive Computer Graphics (6 th ed.) Sections 11.1, 11.2, 11.

Ray Tracing. CS334 Fall Daniel G. Aliaga Department of Computer Science Purdue University

Tutorial 4: Texture Mapping Techniques

LIGHT. Speed of light Law of Reflection Refraction Snell s Law Mirrors Lenses

CS184 : Foundations of Computer Graphics Professor David Forsyth Final Examination (Total: 100 marks)

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

Shadows in the graphics pipeline

Transcription:

Midterm Exam CS 184: Foundations of Computer Graphics page 1 of 11 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 class account above, and that you sign below. Anonymous tests will not be graded. Write legibly. If the person grading the test cannot read something, s/he 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: 204 + 10 You Scored: _ + _

Midterm Exam CS 184: Foundations of Computer Graphics page 2 of 11 1. Please fill in each of the blanks with an appropriate answer. 2 points each blank, 64 Total True or False: Modern computer displays can display a greater dynamic range than the human can view. True or False: Mach banding is is an algorithm for displaying smooth image gradients in rendered images. Fill in the three missing colors in order by wavelength: Red, orange,, green,, indigo,. True or False: The light coming from most light sources consist of just a narrow range of wavelengths in the visible spectrum. The sensitivity curve for the rods in the human eye peeks between the and cones. The letters AABB in the term AABB Tree stand for :. True or False: If light could be negative then any color humans can see could be reproduced using any two distinctly colored light sources. is the main phenomenon that causes the rainbow-like color patterns observed when a thin layer of oil floats on the surface of still water. Finding the intersection of a ray with a/an requires solving a quadratic equation. The BRDF is a function describes how much coming in from one incoming direction goes out in another outgoing direction. True of False: Caustics may be generated by either reflection or refraction of light.

Midterm Exam CS 184: Foundations of Computer Graphics page 3 of 11 A can be thought of as the limit case for a perspective camera as the center of projection moves further away from objects in the scene. True or False: Rotation is a linear transformation. True or False: Bump mapping changes the shape of an object. True of False: Image morphing techniques often use a warping method to align corresponding features in the images. True of False: Pasteurized coordinates are needed to allow perspective to be expressed as matrix multiplication. Of the various methods discussed in class for representing rotations, the method of uses points in a 3-dimensional sphere embedded in a 4-dimensional space. Most realtime rendering methods use a surface removal. for hidden True or False: Anti-aliasing methods can be used to accelerate ray intersection tests for complex scenes. Visible light roughly corresponds to wavelengths between and nanometers. True or False: Area light sources can be approximated using a handful of point-lights, but banding artifacts may be produced in penumbra regions. Rotation matrices have determinant of. The breaks a matrix C into C = ( U S Transpose(V) ) where U and V are orthonormal and S is diagonal.

Midterm Exam CS 184: Foundations of Computer Graphics page 4 of 11 True or False: A BSP tree can be used to quickly sort polygons in front-to-back order. True or False: Systems like OpenGL typically convert everything to spheres before rendering. The S in HSV color space stands for. True or False: The term black-body radiation refers to electromagnetic energy outside the visible spectrum.. True or False: Lambertian materials lack strong specular highlights.. 2. You have two pieces of perfectly opaque plastic. They look the same color when held sideby-side in your dorm room. When you take them outside into the sunlight, they look to be different colors. Provide the most plausible explanation. 6 points 3. You have a sphere centered at [2,3,4] with radius 5, and a ray from [0,0,0] in the direction [ 1, 1, 1]. Write the implicit equation for the sphere, the parametric equation for the ray, and compute the coordinates of the intersection point[s]. Be neat and clear! 9 points Sphere equation: Ray equation: Intersection[s] at =

Midterm Exam CS 184: Foundations of Computer Graphics page 5 of 11 4. Write out a 3x3 transformation matrix that will perform a +90 rotation degrees about the axis [ 1, 0, 0]. 3 points 5. Place an through the matrices that could not be valid camera matrices. 3 points 1 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 0 0 1 7.9 0 0 1 1 0 0 0 2 0 0 9 8 0 0 1 2 0 0 0 1 6. Draw the single convex hull that encloses all four shapes shown: 6 point 7. Draw the single axis-aligned bounding box that encloses all four shapes shown: 6 points

Midterm Exam CS 184: Foundations of Computer Graphics page 6 of 11 8. This diagram shows a triangle with vertices labeled a, b, and c. Five 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. 10 points C [1,0,0] A [0,0,1] [1/3,1/3,1/3] [1/2,1/2,0] [-1,1.5,1.5] 9. Write down plausible RGB values for the following materials: 16 points Glossy Metallic Blue Kd = Ks = Glossy Plastic Yellow Kd = Ks = Flat Yellow Kd = Ks = Glossy Plastic Black Kd = Ks = B 10. Given a rotation encoded as a axis-angle (a.k.a. exponential map), in general how is the rotation changed when the representation is doubled? 4 points

Midterm Exam CS 184: Foundations of Computer Graphics page 7 of 11 11. If shading a point at the origin with normal [1,0,0] and Kd=[0.25, 0.00,0.20], where the light is located at [4,3,0] with intensity [10, 10, 0] and the eye located at [27,91,17], compute the RGB value of the diffuse lighting term. 12 points 12. Circle the 3D homogenized matrix that effectively does nothing. 4 points 2 6 4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 3 7 5 2 6 4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 2 3 7 5 2 6 4 2 0 0 0 0 2 0 0 0 0 2 0 0 0 0 2 3 7 5 2 6 4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1/2 3 7 5 13. One of the diagrams below shows a cube under orthographic projection, the other under perspective projection. Label which is which. 4 points 14. In what direction will the +Z axis point after a -90 degree rotation about the +Y axis? 2 points

Midterm Exam CS 184: Foundations of Computer Graphics page 8 of 11 15. 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. The negative-side children should be on the left of your tree and the positive-side on the right. 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 11 and it was to be split, you would draw a mark showing where it would be split and label the resulting pieces 11a and 11b.) 12 points 4 6 2 5 7 List the back-to-front traversal order that would result for the location indicated by the viewer icon (the star). 9 points

Midterm Exam CS 184: Foundations of Computer Graphics page 9 of 11 16. Imagine that you have a RGB monitor where the wires have been swapped so that the red, green, and blue outputs from the computer have been respectively attached to the green, red, and blue inputs on the monitor. When one attempts to display the following colors, what colors will actually appear on the screen? 8 points Cyan Magenta Yellow Red Green Blue Black White 17. Write out a series of 4x4 matrices that would scale an object by 2x along the X axis and by 3x along the Y and Z axes, with the point [0,3,4] staying fixed in space. 10 points

Midterm Exam CS 184: Foundations of Computer Graphics page 10 of 11 18. 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. 16 points Near n Far f Top t Y Up View Bottom b Center -Z Distance to image plane i A Distance to image plane I Center of attention B Zoom factor J Focal distance C View up vector K Right clipping plane distance D Projection singularity distance L View plane normal E Top clipping plane distance M Bottom clipping plane distance F View direction N Far clipping plane distance G Near clipping plane distance O Aperture limit point H Look-at direction P Center of projection

Midterm Exam CS 184: Foundations of Computer Graphics page 11 of 11 EXTRA CREDIT +10 points Given a plane and a sphere: Plane:! Sphere:! ˆn x + f =0 c x r =0 Write out a simple mathematical expression that will give the point on the sphere which is furthest away from the plane. (You may not include conditional statements.) When is this point not unique? When the point is not unique, what will your expression produce? Your answers must be neat and clear. No points will be awarded for imprecise answers. Your answers should be in the form a simple mathematical expressions that you have drawn a box around. Do not attempt this question until you have completed the rest of the exam! There will be no partial credit for this question. Use the below space and back of the page to work out your answers, and do not clutter up the above space with anything other than your final answers.