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

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

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!

CSE528 Computer Graphics: Theory, Algorithms, and Applications

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

CSE328 Fundamentals of Computer Graphics

CS 184, Fall 1996 Midterm #1 Professor: unknown

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

Computer Science Foundations of Computer Graphics

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.

Chapter 5. Projections and Rendering

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

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

CS 130 Final. Fall 2015

CS184, Fall 1997 Midterm #1 Professor Brian A. Barksy

Camera Model and Calibration

CS 4204 Computer Graphics

UNIT 2 2D TRANSFORMATIONS

3D Polygon Rendering. Many applications use rendering of 3D polygons with direct illumination

Computer Graphics 7: Viewing in 3-D

Computer Viewing. Prof. George Wolberg Dept. of Computer Science City College of New York

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.

Computer Viewing. CS 537 Interactive Computer Graphics Prof. David E. Breen Department of Computer Science

CSE452 Computer Graphics

Viewing. Reading: Angel Ch.5

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

Models and The Viewing Pipeline. Jian Huang CS456

Topics and things to know about them:

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

Graphics 2009/2010, period 1. Lecture 6: perspective projection

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

3D Viewing. CS 4620 Lecture 8

UNIT 2. Translation/ Scaling/ Rotation. Unit-02/Lecture-01

(Refer Slide Time: 00:04:20)

Evening s Goals. Mathematical Transformations. Discuss the mathematical transformations that are utilized for computer graphics

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

COMP3421. Vector geometry, Clipping

Three-Dimensional Viewing Hearn & Baker Chapter 7

2D Object Definition (1/3)

THE CAMERA TRANSFORM

CS Exam 1 Review Problems Fall 2017

Lecture 4: 3D viewing and projections

Viewing. Announcements. A Note About Transformations. Orthographic and Perspective Projection Implementation Vanishing Points

COMP30019 Graphics and Interaction Perspective & Polygonal Geometry

Viewing with Computers (OpenGL)

Specifying Complex Scenes

Math background. 2D Geometric Transformations. Implicit representations. Explicit representations. Read: CS 4620 Lecture 6

THE VIEWING TRANSFORMATION

Geometric Transformations

3D Viewing. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 9

Institutionen för systemteknik

Camera Model and Calibration. Lecture-12

CS602 Midterm Subjective Solved with Reference By WELL WISHER (Aqua Leo)

(Refer Slide Time: 00:01:26)

Last week. Machiraju/Zhang/Möller/Fuhrmann

3D Viewing. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

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

CS 325 Computer Graphics

Geometric transformations in 3D and coordinate frames. Computer Graphics CSE 167 Lecture 3

On-Line Computer Graphics Notes CLIPPING

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

CS 184, Fall 1996 Midterm #1 Professor: unknown

3D Viewing. Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

CS488. Implementation of projections. Luc RENAMBOT

EECS 487, Fall 2005 Exam 2

CV: 3D sensing and calibration

Overview. By end of the week:

Geometric transformations assign a point to a point, so it is a point valued function of points. Geometric transformation may destroy the equation

Part 3: 2D Transformation

INTRODUCTION TO COMPUTER GRAPHICS. It looks like a matrix Sort of. Viewing III. Projection in Practice. Bin Sheng 10/11/ / 52

CS251 Spring 2014 Lecture 7

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

521493S Computer Graphics Exercise 2 Solution (Chapters 4-5)

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

Linear transformations Affine transformations Transformations in 3D. Graphics 2009/2010, period 1. Lecture 5: linear and affine transformations

Projection: Mapping 3-D to 2-D. Orthographic Projection. The Canonical Camera Configuration. Perspective Projection

CMSC427 Final Practice v2 Fall 2017

Today. Today. Introduction. Matrices. Matrices. Computergrafik. Transformations & matrices Introduction Matrices

Today. Parity. General Polygons? Non-Zero Winding Rule. Winding Numbers. CS559 Lecture 11 Polygons, Transformations

So we have been talking about 3D viewing, the transformations pertaining to 3D viewing. Today we will continue on it. (Refer Slide Time: 1:15)

Hello, welcome to the video lecture series on Digital Image Processing. So in today's lecture

Lecture 4: Transforms. Computer Graphics CMU /15-662, Fall 2016

GEOMETRIC TRANSFORMATIONS AND VIEWING

CS 381 Computer Graphics, Fall 2012 Midterm Exam Solutions. The Midterm Exam was given in class on Tuesday, October 16, 2012.

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

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

Computer Graphics. P05 Viewing in 3D. Part 1. Aleksandra Pizurica Ghent University

COMP 175 COMPUTER GRAPHICS. Ray Casting. COMP 175: Computer Graphics April 26, Erik Anderson 09 Ray Casting

CS559 Computer Graphics Fall 2015

Transformations. Write three rules based on what you figured out above: To reflect across the y-axis. (x,y) To reflect across y=x.

Drawing in 3D (viewing, projection, and the rest of the pipeline)

CS452/552; EE465/505. Geometry Transformations

CS184 : Foundations of Computer Graphics Professor David Forsyth Final Examination

3D Graphics for Game Programming (J. Han) Chapter II Vertex Processing

2D/3D Geometric Transformations and Scene Graphs

Overview. Viewing and perspectives. Planar Geometric Projections. Classical Viewing. Classical views Computer viewing Perspective normalization

Lecture 4. Viewing, Projection and Viewport Transformations

Shadows in Computer Graphics

Graphics Pipeline 2D Geometric Transformations

Notes on Assignment. Notes on Assignment. Notes on Assignment. Notes on Assignment

Linear and Affine Transformations Coordinate Systems

Transcription:

UNIVERSITY OF CALIFORNIA Dept. EECS/CS Div. CS 184 - Spring 1998 FOUNDATIONS OF COMPUTER GRAPHICS Prof. C.H.Sequin TAKE HOME QUIZ #2 Your Name: Your Class Computer Account: cs184- INSTRUCTIONS ( Read carefully!) YOU MAY USE YOUR LECTURE NOTES AND ANY TEXT BOOK TO DO THIS QUIZ. On the in-class exams, you will be allowed one double-sided sheet of size 8.5 by 11 inches of your own personal notes to assist your memory. It might be worthwhile to start preparing and 'test-driving' such a sheet now. It should take you less than 2 hours to complete the Quiz. The number of points assigned to a question indicates the number of minutes you should allocate. YOU MUST DO THIS WORK ENTIRELY BY YOURSELF. There must be no discussion of any of the problems with anybody until after the deadline. DO ALL WORK TO BE GRADED ON THESE SHEETS OR THEIR BACKS. If any questions on the exam appears unclear to, write down what the difficulty is and what assumptions you made to try to solve the problem the way you understood it. I HAVE UNDERSTOOD THESE RULES AND WILL OBEY THEM: Your Signature: DO NOT OPEN UNTIL YOU ARE ALONE AND HAVE SIGNED ABOVE. HAND-IN THE EXAM TO PROF. SEQUIN ON OR BEFORE 9:10AM, WED, March. 11, 1994. Problem #0 (5 points) - Please give us some feedback. Tell us something that you especially like about the course, lab, instructor, or TA's: file:///c /Documents%20and%20Settings/Jason%20Raft...20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm (1 of 8)1/27/2007 5:24:07 PM

Tell us something about the course, lab, instructor, or TA's that could use improvement: Problem #1 (10 points) - Circle the correct answer. TRUE FALSE In 3-space, mirroring on an arbitrary plane through the origin and uniform scaling with respect to the origin are commutative. TRUE FALSE In a right-handed coordinate system, a +90 degree rotation around the y-axis will take the +x-axis into the +x-axis. TRUE FALSE A rotation about an arbitrary axis and a translation along the same axis applied in any order yield the same result (are commutative). TRUE FALSE If we change the frustum specification, we see the same part of the object/world drawn at a different place on the display. TRUE FALSE In a perspective view in 3-space, as the observer moves forward along the line-of-sight (the -n-axis), the projected image appears to grow with uniform scaling (assuming that the observer stays far enough from the scene so that no points fall behind the viewers eye). TRUE FALSE Increasing the absolute distance between an object being viewed with a perspective projection and the image-plane, reduces the image of the object. Problem # 2 (20 points) - Short Questions (Think before you write!). (a) In what direction does the {+z}-axis point after a -90 rotation around the x-axis (in a righthanded coordinate system)? (b) The point at infinity in the direction (a,b,c) in 3-space can be expressed as { (t*a,t*b,t*c) for t - > infinity}. Express this point in homogeneous coordinates: (c) What are the minimum and maximum number of clipping planes that a line segment may intersect, when it is clipped against the truncated viewing pyramid in 3D: -z x z; -z y z; z B = -1 z z F < 0? file:///c /Documents%20and%20Settings/Jason%20Raft...20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm (2 of 8)1/27/2007 5:24:07 PM

MIN: MAX: (d) What test would you apply to determine whether a face on a convex polyhedral solid is illuminated by parallel light shining in the direction (dx,dy,dz)? (e) Explain why backforce elimination in an orthographic parallel projection is easier than in a perspective projection: Problem # 3 (10 points) Show the polygon contour(s) that will be output from the Sutherland-Hodgman polygon clipping algorithm for the polygon shown below. Assume that the clipping sequence is : a,b,c,d. Use the left figure as your working space. Show the final result in the right figure by strongly tracing out all output line segments. file:///c /Documents%20and%20Settings/Jason%20Raft...20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm (3 of 8)1/27/2007 5:24:07 PM

Problem #4 (10 points) We want to perform an orthonormal parallel projection down the z-axis onto the xy-plane, so that the four points {A,B,C,D} defined in homogenous coordinates "fill" the viewport, (i.e., the viewport boundary forms an axis-aligned bounding box around the projected points): A=(-1,0.3,2,0.1); B=(-4,12,-16,2); C=(6,12,18,6); D=(2,-1,1,0.5); Fill in the relevant fields in the following GLIDE statements: camera MagicShooter projection _ frustum (,, )(,, ) endcamera group CameraGrp camerainstance MagicShooter id Magic123 endcamerainstance endgroup translate (,, ) Problem #5 (10 points) How many degrees of freedom (DOF) for the following systems? (Fill in the table). SYSTEM DOF Any Possible Triangle in 2D Infinite Planes in 3D Unit Quaternions Circular Discs in 3D Problem #6 (15 points) In a two-dimensional world two tame guinea pigs, "Alfy" and "Beady", sit on the xy-plane, Alfy at (- 20,0) and Beady at (+20,0). They face each other. Alfy's coordinate system is parallel to WORLD; Beady's is rotated 180 degrees. Both individually follow the command sequence: Turn right 62 --> go forward 35 --> turn left 87 --> go forward 16 file:///c /Documents%20and%20Settings/Jason%20Raft...20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm (4 of 8)1/27/2007 5:24:07 PM

Express the following relative positions as a string of basic transformation matrices for use with points expressed in ROW VECTOR notation, use the symbols T(dx,dy),S(sx,sy), R(α ). * Describe Alfy's poistion with respect to world: ALFY WORLD * Describe Beady's position with respect to world: BEADY WORLD * Describe Beady's position with respect to Alfy: BEADY ALFY Problem #7 (15 points) For the two-dimensional scene below, describe the relative change in positioning for the MATE and for the FLAG from POSITION A to POSITION B, expressed as a modification of the old matrices: FLAG MATE and MATE SHIP. Employ a minimal concatenation of additional matrices composed of strings of simple matrices of type T(dx,dy),S(sx,sy), and R(a), using as parameters only the dimensions and angles shown in the figure. (Assume the use of homogeneous ROW coordinate triple.) {HINT: Pay careful attention to the rotation of the FLAG! } file:///c /Documents%20and%20Settings/Jason%20Raft...20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm (5 of 8)1/27/2007 5:24:07 PM

MATE SHIP (modified) = MATE SHIP (old) FLAG MATE (modified) = FLAG MATE (old) Problem # 8 (20 points) A tourist with a camera rides upwards in the glass elevator of the SF Hyatt Regency Hotel. We assume that the elevator shaft defines the +z-axis and the "up"-direction of WORLD. Thus the COP as a function of time will be located at: (0,0,z(t)), where z(t) = 10 units/sec * t(in seconds), and this should be the center of the View-Reference coordinate system. The tourist keeps her camera focused on a rare plant on the hotel lobby at the WORLD coordinates (800,600,0). This plant is the center of attention and defines the VRP. First define a suitable GLIDE lookat transformation for the camera. Then write down a product of homogeneous 4by4 matrices with time-dependent components that express the View-Orientation Matrix for points expressed in COLUMN vectors. file:///c /Documents%20and%20Settings/Jason%20Raft...20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm (6 of 8)1/27/2007 5:24:07 PM

{No need to multiply out the various matrices!} Explain your approach in a couple of sentences. Problem #9 (10 points) Prove (with a few mathematical equations) that 2D rotation and 2D scaling commute if s X = s Y, and that otherwise they do not. Keep your proof simple (3 to 4 lines)! file:///c /Documents%20and%20Settings/Jason%20Raft...20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm (7 of 8)1/27/2007 5:24:07 PM

file:///c /Documents%20and%20Settings/Jason%20Raft...20Spring%201998%20-%20Sequin%20-%20Midterm%202.htm (8 of 8)1/27/2007 5:24:07 PM