Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Trivial Rejection - Foundations of Computer Graphics - Exams, Exams of Computer Graphics

Main points of this exam paper are: Trivial Rejection, Line Segment, Cohen-Sutherland, Line-Clipping Algorithm, Simultaneously Viewable, Colors, Not Invertible, Special Cases, Computing, Inverse Matrices

Typology: Exams

2012/2013

Uploaded on 04/02/2013

shamabhat_84
shamabhat_84 🇮🇳

80 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Spring 2001 CS184 Midterm 01
Problem 1 [1 point]
Did you write your name on the front of this exam?
Problem 2 [5 points]
When performing perspective projection, which sets of parallel lines will NOT have a banishing point?
Problem 3 [9 points]
Given a frame buffer system with 10 bit planes, and a 1024 entry look up table (palette), with 30 bits for each
entry (10 for each red, green, blue) answer the following:
(a) [3 points] How many bits should we have for each DAC (red, green and blue)?
(b) [3 points] How many colors will be simultaneously viewable on the screen (assuming 1024 x 1024
resolution)?
(c) [3 points] How many colors can be displayed (not necessarily at once)?
Problem 4 [18 points]
Line clipping.
(a) [6 points] Describe two trivial rejection cases for the Liang-Barsky line-clipping algorithm.
(b) [6 points] Show one example of a line segment that is trivially rejected by Liang-Barsky, that is not
trivially rejected by Cohen-Sutherland. Briefly explain.
(c) [6 points] Show one example of a line segment that is trivially rejected by Cohen-Sutherland that is not
trivially rejected by Liang-Barsky.
Problem 5 [14 points]
CS184, Midterm 1, Spring 2001
1
pf3
pf4

Partial preview of the text

Download Trivial Rejection - Foundations of Computer Graphics - Exams and more Exams Computer Graphics in PDF only on Docsity!

Spring 2001 CS184 Midterm 01

Problem 1 [1 point]

Did you write your name on the front of this exam?

Problem 2 [5 points]

When performing perspective projection, which sets of parallel lines will NOT have a banishing point?

Problem 3 [9 points]

Given a frame buffer system with 10 bit planes, and a 1024 entry look up table (palette), with 30 bits for each entry (10 for each red, green, blue) answer the following:

(a) [3 points] How many bits should we have for each DAC (red, green and blue)?

(b) [3 points] How many colors will be simultaneously viewable on the screen (assuming 1024 x 1024 resolution)?

(c) [3 points] How many colors can be displayed (not necessarily at once)?

Problem 4 [18 points]

Line clipping.

(a) [6 points] Describe two trivial rejection cases for the Liang-Barsky line-clipping algorithm.

(b) [6 points] Show one example of a line segment that is trivially rejected by Liang-Barsky, that is not trivially rejected by Cohen-Sutherland. Briefly explain.

(c) [6 points] Show one example of a line segment that is trivially rejected by Cohen-Sutherland that is not trivially rejected by Liang-Barsky.

Problem 5 [14 points]

Consider the basic dimensional modeling transformations (translation, rotation, and scale):

(a) [6 points] What are the inverses of these transformations? (Do not sue brute force.)

(b) [4 points] Are there any special cases that are not invertible? If so, what are they?

(c) [4 points] Do your methods for computing the inverse matrices generalize to 3D? If not, explain why not.

Problem 6 [12 points]

In class we discussed two ways of setting up a perspective projection matrix. The two matrices are given below:

(a) [6 points] One of these places the center of projection (COP) at z = 0 and the other places the projection plane (VP) at z = 0. Label the correct matrices with "COP = 0" and "VP = 0."

(b) [6 points] Is there a basic transformation that transforms one into the other? IF so, what is it?

Problem 7 [13 points]

Determine which are rotations. For the one(s) that are not rotations, what are they?