Computer Science 455

Instructor: R. P. Burton

Third Quiz

February 19-20, 2008 

Name _________________________________________ Score ____________/39

  1. A pixel mask, such as 10 pixels on and 5 pixels off, would be suitable (and uniform) for “texturing” line segments with arbitrary endpoints.
 

(b) 

  1. When a curve is scan-converted for a raster device, the result is always a polyline.
 

(a) 

  1. Soft fill provides
 

(c) 

  1. Which of the following is NOT a fill style?
 

(d) 

  1. If the boundary is 4-connected, the fill style should be ___; if the boundary is 8-connected, the fill style should be ___.
 

(c) 

  1. Boundary fill colors anything that is not boundary, whereas flood fill replaces an existing color.
 

(a) 

  1. Either boundary fill or flood fill can use a 4 or 8 style, or can fill sections of scan lines (above and below).
 

(a) 

  1. Filling sections of scan lines (above and below) requires convex polygons with no holes.
 

(b) 

  1. Aliasing has been described as distortion of information due to a low sampling rate.
 

(a) 

  1. Antialiasing does not actually solve the aliasing problem; it merely makes it less of a problem.
 

(a) 

  1. Supersampling sometimes is called postfiltering, since intensities are computed and then combined.
 

(a) 

  1. Which is likely to be a more accurate method for antialisaing?
 

(b) 

  1. All of the following can be provided in software EXCEPT
 

(c) 

  1. Antialiasing is achieved by
 

(c) 

  1. What is the function of bundled attributes?
 

(b) 

  1. Transformations used to achieve animation are likely to be referred to as
 

(b) 

  1. Which of the following cannot be represented as a matrix operation?
 

(d) 

  1. Scaling affects
 

(c) 

  1. In the context of transformations, what is the primary reason for using homogeneous coordinates?
 

(b) 

  1. A point in 2D space maps uniquely to only one point in 3D homogeneous coordinate space.
 

(b) 

  1. To invert a translation, rotation, or scaling matrix, simply invert each element of the matrix.
 

(b) 

  1. Suppose M = ABCD, where A, B, C, and D are individual transformation matrices.  What is M-1?
 

(c) 

  1. When three matrices are composed to provide rotation about an arbitrary point and the composed matrix is applied to the data describing the shape to be rotated, the arbitrary point is translated to the origin, the rotation occurs about the origin, and the arbitrary point is returned to its original position.
 

(b) 

 

  1. Which matrix is adjacent to (“next to”) the original data for rotation about an arbitrary point?
 

(a) 

  1. To realize the composite matrix described in the previous question, the values of ___ matrix elements need to be determined (assuming the operations are taking place in the xy-plane).
 

(b) 

  1. Reflection can take place across any of the following except
 

(d) 

  1. In 2D, the x coordinate typically is sheared based on the ___ coordinate(s), and the y coordinate is sheared based in the ___ coordinate(s).
 

(b) 

  1. To invert a shearing based on the y coordinate,
 

(a) 

  1. To do a “pix block transfer” (i.e. translation) start with a scan line containing
 

(a) 

  1. Suppose the data is described relative to coordinate system A, but we would like to have it described relative to coordinate system B.  The appropriate transformation to apply to the data maps coordinate frame ____.
 

(b) 

  1. An arbitrary composable matrix for 3D translation always has  ____ elements with the value of zero.
 

(c) 

  1. An arbitrary composable matrix for 3D scaling always has  ___ elements with the value of zero.
 

(d) 

  1. A arbitrary composable matrix for 3D rotation (about a principal axis) always has  ____ elements with the value of zero.
 

(e) 

  1. A arbitrary composed matrix representing translation, scaling, rotation, reflection, and shearing in 3D always has ____ elements with the value of zero.
 

(b) 

  1. Reflection in 3D can occur across any of the following EXCEPT
 

(e) 

  1. Shearing in 3D always is uniform in at least two dimensions.
 

(b) 

  1. The x-axis points up, the y-axis points right, and the z axis points out.  Rotation is counterclockwise about the z-axis.  Where is the minus sign?
 

(b) 

  1. To rotate about an arbitrary axis in 3D, how many matrices typically are composed?
 

(c) 

  1. To transform from an arbitrary 3D coordinate system to another arbitrary 3D coordinate system, how many matrices are composed?
 

(c)