Quiz of the Computer Graphics Flashcards
In 3D Cohen-Sutherland, we have 6 regions which are defined by the single bit. In the 6-bit code, the 4th bit represent which plane of the view volume.
Above
glScalef(sx, sy, );
Fill in the missing entries
1
How many cycles does it theoretically take for a single OpenGL call?
1
Consider the following set of statements:
S1: A perspective projection produces realistic views,
S2: A parallel projection preserves realistic dimensions,
S3: A perspective projection preserves realistic dimensions,
S4: A parallel projection gives a realistic representation of 3D objects
S3 and S4
The endpoint of a line segment is present inside the boundary plane of view volume in 3D clipping if:
Ax+By+Cz+D < 0
.________is called to ensure that all data completely processed & send to display.
glflush()
The subcategories of orthographic projection are:
Axonometric, diametric, trimetric
Consider the following set of statements:
S1: Random scan monitors draw a picture one line at a time,
S2: The components line of a random scan picture must be refreshed in a particular order,
S3: Raster scan monitors draw a picture one line at a time,
S4: Random scan method is well suited for displaying shadowing and color areas.
Which of the above statement(s) is/are false?
S2, S3, and S4
In the mid-point ellipse drawing algorithm, for drawing an ellipse with horizontal and vertical radius as rx and ry, respectively, the initial value of the decision variable (Dinit) for the first region can be calculated using the equation:
Dinit = (ry^2) – ((rx^2)*ry) + ((rx^2)/4)
Which function is used to draw OpenGL primitives?
glVertex()
What is the need to clear a buffer?
to reset the buffer
glOrtho is used to _______
set the extents and behavior of coordinates
What is the correct order of operations of the OpenGL graphics pipeline?
model view transformation, projection transformation, divide by w, viewport transform
If the logical AND of the endpoint codes is NOT zero, the line can be trivially rejected
true
What does a pixel mask mean?
strings of 1’s and 0’s