Computer Science 455
Instructor: R. P. Burton
Third Quiz
February 20-21, 2007
Name _________________________________________ Score ____________/38
Which approach would be more suitable for end caps for lines?
an adapted DDA or Bresenham
a polygon fill technique
neither (a) nor (b) is suitable
(b)
Which of the following joint techniques may require a small, additional triangle?
mitre
round
bevel
(c)
If someone tells you that their graphics system can display 4096 out of more than 16 million colors, they don’t understand the architecture of their graphics system.
true
false
(b)
If a red polygon (in front of a blue background) is soft-filled, you should expect it to be
red
light red
dark red
blue
purple
(e)
What is the purpose for bundling attributes?
to make sure no attribute is left unspecified
to make compatible choices
to provide for the interpretation of any choices for any available output device
(c)
In a graphics context, what is an alias?
an artifact in the presentation that is not in the geometry, topology, or attributes
a duplicate reference to the same graphics object
a previous attribute value
(a)
Which is the correct association?
supersampling / prefiltering, area sampling / postfiltering
supersampling / postfiltering, area sampling / prefiltering
(b)
How is pixel phasing accomplished?
by prefiltering
by postfiltering
by having the needed hardware
(c)
Suppose a rectangular region, aligned with the coordinate axes, is to be translated, but the resulting rectangular region overlaps the original rectangle region. If you want to do a block transfer,
start with an overlapped vertex of the source rectangle
start with a nonoverlapped vertex of the source rectangle
it is necessary to re-scan-convert the rectangular region in its new position
(a)
A block transfer which involves a rotation of other than a multiple of 90 degrees is not possible for two overlapping blocks.
true
false
(b)
All of the following can be represented practically with a 2 x 2 transformation matrix except
2D translation
2D rotation
2D scaling
(no exceptions here)
(a)
A scaling transformation can affect
the dimensions of the shape being scaled
the displacement (from the origin) of the shape being scales
both (a) and (b)
(c)
All of the following transformation always have inverses (which can be used to restore the original conditions) except
translation
rotation
scaling
(no exceptions here)
(c)
How many points in homogeneous coordinate space correspond to a typical point in 2-dimensional space?
just one
exactly two
exactly four
more than four
(d)
An arbitrary point is translated to the origin, then an object is scaled or rotated relative to that arbitrary point, and finally the arbitrary point is returned to its original position
to actually scale or rotate relative to the point (in common practice)
to derive the transformation to scale or rotate relative to the point
(b)
In general, transformations such as translation, rotation, and scaling are
associative
commutative
both (a) and (b)
(a)
An object can be scaled in its x-direction and/or its y-direction, but not in a direction which is not parallel to either its x-direction or its y-direction.
true
false
(b)
The inverse of a composite transformation can be found practically by all of the following with the possible exception of
Cramer’s rule
Gauss elimination with partial pivoting
An appropriate composition of inverses of the component transformations
(no exceptions here)
(a)
The inverse of a rotation matrix is
simply the migration of the minus sign from one sine to the other
changing of the signs on all the sines and cosines
neither (a) nor (b)
(a)
The arbitrary transformation of a 2D shape (possibly including translation, rotation, and/or scaling) anticipates the calculation of ____ elements of composite transformation matrix.
3
6
7
9
(b)
Suppose an arbitrary shape is 1) rotated 180 degrees, 2) reflected through the origin, 3) scaled by -1 in both x and y, and 4) rotated -180 degrees. How has the shape changed?
not at all
it’s reflected across the x-axis
it’s reflected across the y-axis
it’s reflected through the origin
(none of the above)
(a)
All of the following reflections can be represented in matrix form EXCEPT reflection (pick the most inclusive correct answer)
across a line that is not parallel to a principal axis
across a line that does not pass through the origin
across a line that is not parallel to a principal axis and does not pass through the origin
through the origin
through an arbitrary point
(no exceptions here)
(f)
Suppose a shape is defined relative to a coordinate frame A, and the position, orientation of coordinate frame A is defined related to coordinate frame B. Which transformation can be applied to the shape to define it relative to coordinate frame B? A transformation which
maps A onto B
maps B onto A
either (a) or (b)
(b)
Shearing can be thought of as “scaling based on the value of another coordinate.”
true
false
(a)
When a shape is sheared, the dimensions and angles of the resultant shape are determined by
the dimensions and angles of the original shape
the dimensions, angles, and position of the original shape
(a)
The matrix element in the inverse of a shearing transformation is
the reciprocal of the original shearing element
the negative of the original shearing element
the negative of the reciprocal of the original shearing element
(none of the above)
(b)
The x-axis points left and the y-axis points down. Where does the minus sign go for counter-clockwise rotation?
(1,1)
(1,2)
(2,1)
(2,2)
(b)
The x-axis points left, the y-axis points down, and the z-axis points in. Where does the minus sign go for counterclockwise rotation “about y”?
(1,2)
(1,3)
(2,1)
(2,3)
(3,1)
(3,2)
(b)
Suppose you are modeling the elements of a 12D world, and you wish to transform its contents. How big is the associated transformation matrix?
4 x 4
11 x 11
12 x 12
13 x 13
(d)
In 3D is makes the least intuitive sense to reflect _______.
through a point
across a line
across a plane
(b)
A 3D translation matrix can involve 3 translation factors; a 3D scaling matrix can involve 3 scaling factors. A 3D shearing matrix can involve ___ shearing factor(s).
1
3
4
6
9
(d)
Traditionally, a “viewport” is an area
of the world coordinate system to be displayed
an area of the display device
(b)
The “viewing transformation” often consists of a scaling and a translation.
true
false
(a)
Which makes less sense?
a rotated window
a rotated viewport
(both make equivalently good sense)
(b)
A change to the _____ often produces a corresponding change in the presentation; a change to the ____ often produces an inverse change in the presentation.
window, viewport
viewport, window
(b)
All things considered, in a 2D world it is more efficient for the software to clip to the ______.
window
viewport
(b)
Pick the statement which best characterizes the Cohen-Sutherland algorithm.
All lines interior to the clipping region are trivially accepted
All lines exterior to the clipping region are trivially rejected
Both (a) and (b) characterize this algorithm correctly
(a)
A significant disadvantage of Cohen-Sutherland with midpoint subdivision is the numerous divisions typically needed to find the intersection of a line segment with a clipping region boundary.
true
false
(b)