Practice Midterm Exam on Computer Graphics | ECS 175, Exams of Computer Graphics

Material Type: Exam; Class: Computer Graphics; Subject: Engineering Computer Science; University: University of California - Davis; Term: Unknown 1989;

Typology: Exams

Pre 2010

Uploaded on 07/31/2009

koofers-user-igu-1
koofers-user-igu-1 🇺🇸

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECS175: Computer Graphics
Practice Midterm
Please write your answers ON THESE SHEETS. Attach extra sheets if necessary. The size
of the space indicates roughly the size of the answer we are expecting.
1. (3 points) True or false: An affine transformation of two perpendicular vectors might
produce two vectors which are not perpendicular. Explain your answer with a calcu-
lation or one or two sentences.
2. (3 points) Consider the following matrix product:
200
020
001
0.866 0.5 0
0.5 0.866 0
0 0 1
a) Describe this transformation as a sequence of motions of the ”turtle”, or graphics
cursor, within its local coordinate system.
b) Describe the transformation as a sequence of operations in the global coordinate
system of an outside observer.
3. (6 points) Describe, using two or three words (eg. dark grayish blue, hot pink), the
color produced by each of the OpenGL commands below.
a) glColor3f(.9, .9, .5);
b) glColor3f(.3, 0, .3);
c) glColor3f(.5, .5, .5);
1
pf3
pf4

Partial preview of the text

Download Practice Midterm Exam on Computer Graphics | ECS 175 and more Exams Computer Graphics in PDF only on Docsity!

ECS175: Computer Graphics

Practice Midterm

Please write your answers ON THESE SHEETS. Attach extra sheets if necessary. The size of the space indicates roughly the size of the answer we are expecting.

  1. (3 points) True or false: An affine transformation of two perpendicular vectors might produce two vectors which are not perpendicular. Explain your answer with a calcu- lation or one or two sentences.
  2. (3 points) Consider the following matrix product:  

 

 

 

a) Describe this transformation as a sequence of motions of the ”turtle”, or graphics cursor, within its local coordinate system.

b) Describe the transformation as a sequence of operations in the global coordinate system of an outside observer.

  1. (6 points) Describe, using two or three words (eg. dark grayish blue, hot pink), the color produced by each of the OpenGL commands below. a) glColor3f(.9, .9, .5);

b) glColor3f(.3, 0, .3);

c) glColor3f(.5, .5, .5);

  1. (4 points) A bug in the color interpolation program causes the triangle color along an edge connecting a bright red vertex with a bright blue vertex to change smoothly from red to dark blue, then suddenly become purple and then change smoothly to bright blue. Give a reasonable hypothesis for what the bug might be, in two or three sentences.
  2. (4 points) We are given two floating-point 3D points p = (px, py, pz ) and q = (qx, qy, qz ) and a floating-point number a. Write an algebraic expression, using the given data, for the point (x, y, z) on the line through p and q with z = a.
  3. (6 points) Find the barycentric coordinates of the point (− 1 , 1) with respect to the triangle with vertices (− 4 , 0), (− 1 , 2) and (1, 0).
  1. (4 points) Each of the control polygons below is used to produce a Bezier curve. a) Sketch the curve for each control polygon. b) under each curve, write the degree of the Bezier blending functions which are used to generate it.