midterm1

midterm1 - Introduction to Computer Graphics Midterm...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Introduction to Computer Graphics Midterm Examination Professor Brogan Name:____________________________ Honor Pledge: This is a closed-book, closed-notes, independent exam. Please sign the honor pledge: On my honor as a student, I have neither given nor received information on this exam. Signed, ______________________ Display Technology 1) What is a scanline? A row of pixels on a raster display. Somewhat true to call a row of pixels in the frame buffer a scanline. 2) Frame buffers are described as having a certain depth. To what does the depth refer? T h e n u m b e r o f b i t s u s e d t o s t o r e t h e c o l o r f o r e a c h p i x e l . 3) What is stored in the frame buffer when a color map lookup table is used? A n u m b e r t h a t c o r r e s p o n d s t o a n i n d e x i n t o t h e c o l o r m a p l o o k u p t a b l e . The lookup table is an array of color descriptions (RGB). For example, index 0 could refer to the color BLACK, while the index 1 could refer to the color SKY_BLUE. The colors in the color map are reconfigurable. 4) What is a shadow mask? A shadow mask is a perforated metal sheet that between the electron gun and the phospher coating on the screen. The shadow mask serves to sharpen the RGB beams that are emitted from the guns. Mathematical Foundations 5) Given two points, (a, b) and (c, d), provide the following equations of a line: Slope-intercept: y = m x + i n t e r c e p t m = (d-b) / (c-a) i n t e r c e p t : S u b s t i t u t e a f o r x a n d b f o r y ( o r c f o r x a n d d f o r y ) b = [ ( d – b ) / ( c – a ) ] * a + i n t e r c e p t intercept = b – a * [(d-b) / (c-a)] Parametric: x = a + t (c-a) y = b + t ( d- b ) 6) Provide a geometric (use a picture) and an algebraic definition of the dot product of two vectors, [u x , u y , u z ] and [v x , v y , v z ] A l g e b r a i c : ( ) z z y y x x v u v u v u v u v u + + = Θ = • cos G e o m e t r i c : T w o v e c t o r s d e f i n e a p l a n e Here, we’ve aligned the defined plane with the paper v Θ u v u • 7) What is an orthonormal matrix? A matrix is orthonormal if: T h e r o w a n d c o l u m n v e c t o r s h a v e u n i t l e n g t h The row and column vectors are pairwise orthogonal (their dot product is 0) 8) Compute the inverse of the following orthonormal matrix: 1 71 . . 71 . . . 1 . 71 . . 71 .-- = - 71 . . 71 . . . 1 . 71 . . 71 . OpenGL 9) Use glPushMatrix(), glPopMatrix(), glRotatef(), glTranslatef(), and glutWireCube() to draw the hour marks on the face of a clock. The hour marks should look be unit cubes of size 1.0 and their centers should be 3.0 units from the center....
View Full Document

{[ snackBarMessage ]}

Page1 / 11

midterm1 - Introduction to Computer Graphics Midterm...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online