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

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

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

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.

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

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

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.

CS 130 Final. Fall 2015

Mathematical Tools in Computer Graphics with C# Implementations Table of Contents

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

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

Computer Graphics I Lecture 11

CHAPTER 1 Graphics Systems and Models 3

Topics and things to know about them:

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL

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

CPSC GLOBAL ILLUMINATION

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

Curve and Surface Basics

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

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

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

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

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

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

Curves D.A. Forsyth, with slides from John Hart

Raytracing CS148 AS3. Due :59pm PDT

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

GEOMETRIC TOOLS FOR COMPUTER GRAPHICS

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!

Know it. Control points. B Spline surfaces. Implicit surfaces

3D Modeling Parametric Curves & Surfaces

CS 130 Exam I. Fall 2015

Computer Graphics. Instructor: Oren Kapah. Office Hours: T.B.A.

CS 4620 Midterm, March 21, 2017

The University of Calgary

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

Lahore University of Management Sciences. CS 452 Computer Graphics

Computer Graphics Curves and Surfaces. Matthias Teschner

Lahore University of Management Sciences. CS 452 Computer Graphics

COMP3421. Global Lighting Part 2: Radiosity

GLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner

6.837 Introduction to Computer Graphics Quiz 2 Thursday November 20, :40-4pm One hand-written sheet of notes allowed

Computer Graphics CS 543 Lecture 13a Curves, Tesselation/Geometry Shaders & Level of Detail

Lecture IV Bézier Curves

CS 130 Exam I. Fall 2015

Deferred Rendering Due: Wednesday November 15 at 10pm

Computer Animation. Algorithms and Techniques. z< MORGAN KAUFMANN PUBLISHERS. Rick Parent Ohio State University AN IMPRINT OF ELSEVIER SCIENCE

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

CS 465 Program 4: Modeller

EECS 487, Fall 2005 Exam 2

CS559 Computer Graphics Fall 2015

End-Term Examination

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

09 - Designing Surfaces. CSCI-GA Computer Graphics - Fall 16 - Daniele Panozzo

Curves and Surfaces 1

Dgp _ lecture 2. Curves

Introduction to Computer Graphics

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

0. Introduction: What is Computer Graphics? 1. Basics of scan conversion (line drawing) 2. Representing 2D curves

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

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

Curves and Surfaces Computer Graphics I Lecture 10

Introduction to Geometry. Computer Graphics CMU /15-662

EF432. Introduction to spagetti and meatballs

Central issues in modelling

Graphics for VEs. Ruth Aylett

CS-184: Computer Graphics

Curves and Surfaces Computer Graphics I Lecture 9

Parametric curves. Brian Curless CSE 457 Spring 2016

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

CS 464 Review. Review of Computer Graphics for Final Exam

Interactive Real-Time Raycasting

2001, Denis Zorin. Subdivision Surfaces

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

Texture. Texture Mapping. Texture Mapping. CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

MODELING AND HIERARCHY

Introduction to Visualization and Computer Graphics

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

Sung-Eui Yoon ( 윤성의 )

MA 323 Geometric Modelling Course Notes: Day 21 Three Dimensional Bezier Curves, Projections and Rational Bezier Curves

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

CS354 Computer Graphics Surface Representation IV. Qixing Huang March 7th 2018

Comp 410/510 Computer Graphics. Spring Shading

Reflection and Shading

From curves to surfaces. Parametric surfaces and solid modeling. Extrusions. Surfaces of revolution. So far have discussed spline curves in 2D

QUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION

ECE 600, Dr. Farag, Summer 09

Curves and Surfaces. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd

Computer Graphics & Image Processing: Exercises

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Shape Representation Basic problem We make pictures of things How do we describe those things? Many of those things are shapes Other things include

Introduction to the Mathematical Concepts of CATIA V5

Pipeline Operations. CS 4620 Lecture 14

Direct Rendering of Trimmed NURBS Surfaces

INF3320 Computer Graphics and Discrete Geometry

2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.

Transcription:

CS 184: Foundations of Computer Graphics! page 1 of 14 Student Name: Class Account Username: Instructions: Read them carefully! You must turn your exam in when time is an- The exam begins at 7:10pm and ends at 10:00pm. nounced 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 two pages 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: 250 + 12 You Scored:! + Extra

CS 184: Foundations of Computer Graphics! page 2 of 14 1. Please fill in each of the blanks with an appropriate answer.! 2 points each blank, 48 total The Euler integration scheme tends to cause simulations to blow up. The implicit version of this scheme, known as, is much more stable but has a tendency to damp motions artificially. integration schemes make use of the accelerations at the beginning of each simulation timestep. motion capture systems use soft, retro-reflective markers attached to the subject. If the singular value decomposition of a matrix is A = USV T, then the psuedo-inverse of the matrix is given by A P =. The gradient vector of an implicit surface generally can be used to computed the surface vector. When representing in 3D using homogenized coordinates, the fourth coordinate (i.e. w ) will be zero. _ approximates global illumination effects by making diffuse shading proportional to the un-occluded area over a surface. Radiosity is measured in units of. Catmull-Clark subdivision surfaces are a generalization of uniform, cubic, tensor-product _ surfaces. A Bézier curve is always enclosed by the of its control points. In Catmull-Clark subdivision, the number of new polygons that are not quads introduced by the second round of subdivision will be.

CS 184: Foundations of Computer Graphics! page 3 of 14 The in the human eye are used in dimly lit situations. The of an orthonormal matrix is equal to its inverse. encode 3D rotations as 3D points inside a ball of π radius. A so-called directional light source is the limit case of a light that is infinitely far away from the scene it illuminates. An orthographic projection is a special case of perspective projection where the is infinitely far away from the scene. A texture mapping method called is used to create the appearance of small-to-mid scale surface geometry, but it does not actually change the object s shape. NURBS are non-uniform B-Splines that use homogeneous coordinates for control points. are the dimensionless units used to measure solid angles. Finding the intersection of a ray with a sphere requires solving a equation. Finding the intersection of a ray with a plane requires solving a system of equations. A rigid body will have a constant rotational unless some external force acts on it. The dynamic range of the human eye is much than the dynamic range of a typical camera. If a spring with length l has stiffness coefficient k, then a pair of springs in serial with length l /2 should have stiffness if they are to replicate the behavior of the original spring.

CS 184: Foundations of Computer Graphics! page 4 of 14 2. Answer the following questions with True (T) or False (F)! 2 points each, 100 total Kinematic light transport can be modeled reasonably well using a collection of particles attached by springs. The Form Factor matrix of a valid Radiosity system will have eigenvalues all less than one. Shinny plastic surfaces typically have bright white specularities. Radiance remains constant along spiral arcs in free space. The explicit representation of a given geometric entity is unique. The rods in the human eye have a spectral response function that peaks between the short and medium cones. Under linear perspective projection, squares always appear as quadrilaterals unless the projection is degenerate. Under linear perspective projection, triangles always will appear to have at least two angles greater than 90 degrees. Under orthographic projection, all sets of parallel lines will remain parallel. Quaternions represent rotations as points in 4D space on the surface of a hypersphere. Any set three of non-intersecting polygons can be sorted in front-to-back order. LCD monitors could be designed to use other colors besides red, green, and blue. Shining an ultraviolet light on scorpions induces a chemical response that causes them to glow green and eventually die. The force exerted by a Hookean spring with non-zero rest length is given by a function that is nonlinear in terms of the endpoint locations. Cubic B-splines curves will be C 2 across segment boundaries.

CS 184: Foundations of Computer Graphics! page 5 of 14 Light fields describe the light traveling through some volume of space. In a kinematic skeleton, every parent body must have exactly one outboard joint. A rotation matrix always has determinant of +1. Pasteurized coordinates light vectors of reflection quaternions. Ambient occlusion tends to enhance the appearance of surface detail. The sky is blue because water vapor scatters light in the short part of the visible spectrum. In some men red-green color blindness is caused by a mutation in the coding for the cones. A radiosity solver produces a view-independent solution. Springs can be used to implement weak bending resistance for cloth sheets. In a rectilinear spring mesh, adding diagonal springs will help to limit shearing movement. Motion graphs used to animate human figures typically contain many cycles. Non-planar inverse kinematics problems will always have simple closed-from solutions. A ball joint represented with an exponential map has three degrees of freedom. C 1 continuity does not always imply G 1 continuity G 1 continuity does not always imply C 1 continuity The Bezier basis functions are affine invariant. The fully explicit version of Euler s method (a.k.a. forward Euler) is fairly unstable. The human eye is uniformly sensitive to all frequencies of visible light.

CS 184: Foundations of Computer Graphics! page 6 of 14 Perspective transformations can distort straight lines into parabola. Some motion capture systems use magnetic fields to determine the location and orientation of tracker objects. Particle systems simulate objects such as waterfalls by modeling the detailed interactions between individual molecules of water. The result of applying subdivision to a cubic curve is two eliptic curves. Raytracing can be accelerated using BSP-Trees. Raytracing can be accelerated using AABB-Trees. The rods in the human eye only sense white light. In a bounding-box tree, the bounding-box stored at a root note will encompass the objects stored at its children s nodes. The Hermite basis functions have radial-axis support. Bump-mapping will change an object s volume. Rational polynomial basis functions can be used to build perfect circles. Z-Buffers can be used for hidden surface removal. Z-Buffers can be used to generate shadow maps. Smoothed particle hydrodynamics (SPH) is a method for modeling fluid flow. An incompressible fluid should be divergence-free. A moving object s moments of inertia must remain constant. Calculations with floating-point numbers produce exact results.

CS 184: Foundations of Computer Graphics! page 7 of 14 3. 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, blue, and red inputs on the monitor. When one attempts to display the following colors, what colors will actually appear on the screen?! 8 points! Red!!! Green!!! Blue!!! Cyan!!! Magenta!! Yellow!! Black!!! White!! 4. If a surface in 3D is defined implicitly by the function f(x) =0 (negative inside), write out the equation you would use to compute the surface s outward pointing normal at some point.! 4 points 5. The diagram below shows control points for a curve made by joining two cubic Bezier segments. However control point #5 has been removed. Indicate a location where #5 may be placed to achieve C 1 continuity and draw the curve that would result. Also draw a line where #5 may be placed to achieve G 1 continuity. Make sure your diagram is clear and geometrically reasonable.! 6 points 1 2 4 7 3 6

CS 184: Foundations of Computer Graphics! page 8 of 14 6. Here is a piece of mesh. Draw the result of applying one iteration of Catmull-Clark subdivision. Then circle all vertices (both original and the new ones you added) that are extraordinary. Note: I am only interested in the topology of your answer.! 8 points 7. Name a phenomenon that can be modeled easily using ray-tracing but that cannot be modeled with a basic radiosity algorithm. Give an example.! 3 points 8. Briefly describe a useful method for averaging two rotations.! 6 points

CS 184: Foundations of Computer Graphics! page 9 of 14 9. Below are two 4x4 homogenized transformation matrices. What does the first one do? How does the effect produced by the second one differ from that produced by the first?! 4 points 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 8 0 0 0 0 16 0 0 0 0 8 0 0 0 0 8 3 7 5 The first one will: The second one will: 10. Draw the convex hulls for each of the individual shapes shown below.! 6 points 11. Write out a parametric equation for a unit radius sphere centered at the origin.! 6 points 12. Write out an implicit equation for a plane in 3D passing through the point [4,2,3] with normal given by [0,0,1].! 3 points

CS 184: Foundations of Computer Graphics! page 10 of 14 13. The diagram below is the control polygon for a Bezier curve segment. Draw the curve and show how de Casteljau s algorithm can be used to subdivide the curve into two equal halves. Make sure your drawing is geometrically reasonable and shows correct curve tangents for the the beginning, middle, and end of each segment.! 5 points 14. In the space below draw a diagram illustrating the formation of a tight reflection caustic. Your diagram should be clear and concise, and clearly show the light source(s), the reflecting surface(s), the surface where the caustic forms, and the paths of representative rays. A 2D diagram is suggested.! 4 points 15. Given four points, A, B, C, and D write out a bilinear parametric equation in two variables, u and v, for the quadrilateral formed by these four points.! 6 points

CS 184: Foundations of Computer Graphics! page 11 of 14 16. Consider the following equation and diagram: H i = E i + i X j H j ZP j ij cos( i ) cos( j ) 2 c i x 2 dx c j P j c i P i Explain what effects each of the following is responsible for. 14 points H i E i i The integral term cos( i ) cos( j ) ij

CS 184: Foundations of Computer Graphics! page 12 of 14 17. The following are the response curves for the cones in the human eye. Which type of cone is most sensitive to blue light?! 2 point 18. Consider the diagram below. Given the indicated location of the light and the viewer, mark on the line where a specular highlight would occur. Draw the light path and the normal of the surface. Indicate where any lengths of angles are the same as other lengths or angles in the diagram.! 3 points eye light 19. When rendering a scene with a photon mapping method, what part of the solution must be recomputed when the viewer moves?! 2 points

CS 184: Foundations of Computer Graphics! page 13 of 14 20. Below is a diagram showing a bar that has been rotated 90 degrees about the point indicated with a circle. If intermediate positions were generated by linearly interpolating the transformation matrices, how would the point indicated by the star move? Give your answer by drawing the path of the star.! 4 points 21. On the diagram below, draw the springs that should be added to provide some resistance to in-plane shearing.! 4 points 22. I define a curve as c(u) = X i p i i (u), u 2 [0..1] for some set of basis functions i(u) and I insist that no mater what values are used for the control points p i, the resulting curve is always in the convex hull of the control points. Specify exactly and clearly what mathematical conditions must be true for my assertion to hold?! 4 points

EXTRA CREDIT! CS 184: Foundations of Computer Graphics! page 14 of 14 12 points Given a two planes where the first is defined implicitly and the second parametrically: Plane 1: x n 1 a 1 n 1 =0 Plane 2: x 2 (u, v) =a 2 + ub 2 + vc 2 Write out an explicit parametric equation that produces the line where the two planes intersect. Also indicate when this line is undefined. Your answer must be neat and clear. No points will be awarded for imprecise or messy answers. Your answer should be in the form of a simple explicit equation that you have drawn a box around. Do not attempt this question until you have completed the rest of the exam! Generally there will be no partial credit for this question.