Você está na página 1de 5

Computer Graphics (COMP136) Quiz 5 This is a standard multiple choice test. ach !

uestion has onl" one correct ans#er. Please mar$ that one ans#er clearl" on the ans#er sheet pro%ided. &' an" !uestion ahs more than one ans#er 'illed in( it #ill )e mar$ed #ron*. There are ++ !uestions. ,ou #ill ha%e ++ minutes. 1) -s part o' the shado# %olume al*orithm( silhouette ed*es must )e trac$ed. These are trac$ed )" a) notin* #here the 'irst plane normal dotted #ith the %ector to the %ie#er *oes ne*ati%e b) noting where the first plane normal dotted with the vector to the light goes negative c) notin* #here the %ector to the %ie#er dotted #ith the %ector to li*ht *oes ne*ati%e d) notin* #here the %ector to the %ie#er crossed #ith the %ector to the li*ht *oes ne*ati%e .) /hich o' the 'ollo#in* #as not a use 'or the accumulation )u''er0 a) depth o' 'ield )) ima*e processin* c) motion )lur d) higher resolution images 3) &n class( #e discussed se%eral reasons 'or usin* pipelines. /hich o' the 'ollo#in* #as 1OT one o' those reasons0 a) increasing the FLOPs via perpendicular execution )) simpli'"in* the pro)lem )" )rea$in* it into pieces c) sol%in* se%eral separate pieces at the same time2 i.e. parallelism d) a%oidin* )ottlenec$s in e3ecution 4) The Graphics pipeline has se%eral sta*es. /hich o' the 'ollo#in* is 1OT a responsi)ilit" o' the *eometr" portion o' the pipeline0 a) clippin* o)5ects e3ternal to the %ie#in* #indo# )) appl"in* all a''ine trans'orms c) converting the geometry into fragments d) appl"in* the pro5ecti%e trans'orm 5) The Graphics pipeline has se%eral sta*es. /hich o' the 'ollo#in* is 1OT a responsi)ilit" o' the 'ra*ment processin* portion o' the pipeline0 a) te3ture loo$ups )) per'ormin* +O6 #ith #hat is in the color )u''er c) inside/outside testing d) depth )u''er loo$ups 6) /e discussed t#o %ariants to the perspecti%e pro5ection trans'orm. The 'irst mapped all primiti%es to a plane at z 7 d. The second created a normalized %olume centered at (8( 8( 8) #ith all sides o' len*th . units. /hich o' the t#o #as re!uired 'or z9)u''erin*0 a) map to a plane (z7d) b) map to a volume (corners from (- ! - ! - ) ( ! ! ))

:) True or 'alse. ;sin* Cohen9<utherland line clippin*( it is impossi)le 'or a %erte3 to )e la)eled 1111. a) true )) 'alse =) /hich o' the 'ollo#in* 'i%e line se*ments can )e tri%iall" re5ected on the 'irst pass o' Cohen9<utherland line clippin*0

a) -> )) C? c) "F d) G@ e) &A B) /e discussed three line clippin* al*orithms in class. /hich #as the most e''icient al*orithm that could e3tend to 3?0 a) Cohen9<utherland )) 1icholl9Cee91icholl c) Liang-#ars$y 18) /e discussed three line clippin* al*orithms in class. /hich #as the onl" to use the parametric 'orm o' a line to sol%e 'or )oth clip points and cullin*0 a) Cohen9<utherland )) 1icholl9Cee91icholl c) Liang-#ars$y 11) /e discussed three line clippin* al*orithms in class. /hich could decide all lines #hich #ere %isi)le a'ter onl" sol%in* 'or the re*ions o' P1 and P.0 a) Cohen9<utherland b) %icholl-Lee-%icholl c) Cian*9>ars$" 1.) The trian*le on the ri*ht is 'illed accordin* to #hich insideDoutside rule0 a) "ven/Odd )) /indin* 1um)er 13) &n class( #e discussed t#o 'orms o' Pol"*on Clippin*. /hich #as e3ecuted )" clippin* all pol"*on ed*es a*ainst the %ie#in* screen ed*es one %ie#in* screen ed*e at a time0 a) /eiler9-therton b) &utherland-'odgeman 14) &n class( #e discussed t#o 'orms o' Pol"*on Clippin*. /hich had the di''icult" o' ha%in* to maintain EcachedF directions #hile pursin* a di''erent direction0 a) (eiler-)therton )) <utherland9@od*eman 15) &n class( #e discussed t#o 'orms o' Pol"*on Clippin*. /hich had the )ene'it o' ne%er creatin* connectin* lines )et#een separate pieces o' a pol"*on #ith a conca%it"0 a) (eiler-)therton )) <utherland9@od*eman

16) True or 'alse. Gi%en a line startin* at (8( 8) endin* at (13( 5)( itGs len*th is the same as its num)er o' pi3els. a) true b) false 1:) &n class( #e discussed primar" and secondar" directions 'or line al*orithms. True or 'alse2 Gi%en a line #ith end points (:( 1=) and (14( 5)( the primar" direction is ". a) true )) 'alse 1=) &n class( #e discussed that usin* inte*er arithmetic onl" increased the speed o' al*orithms. /hich o' the 'ollo#in* line al*orithms used inte*er onl" arithmetic to rasterize lines0 a) #resenham*s Line )lgorithm )) The ??- Cine -l*orithm c) The HHT/ Cine -l*orithm 1B) &n class( #e discussed %arious line al*orithms. /hich one used a Edecision parameterF to sol%e 'or ho# to chan*e the secondar" pi3el0 a) #resenham*s Line )lgorithm )) The ??- Cine -l*orithm c) The HHT/ Cine -l*orithm .8) &n class( #e )rie'l" discussed cur%e al*orithms. - *reat )ene'it o' these al*orithms #as the a)ilit" to mirror across a3is to sol%e 'or onl" a portion o' the cur%e. /hich o' the 'ollo#in* allo#ed 'or = mirror ima*es0 a) para)olas )) h"per)olas c) circles d) ellipses .1) &n class #e discussed se%eral al*orithms to 'ill pol"*ons. /hich o' the 'ollo#in* #as the one used )" real rasterizers0 a) 49Hill Pol"*ons )) =9Hill Pol"*ons c) &can-Line Polygons d) >oundar" Hill Pol"*ons ..) &n class #e discussed se%eral al*orithms to 'ill pol"*ons. /hich o' the 'ollo#in* re!uired ed*es to )e rasterized onl" 'or distinct " %alues0 a) 49Hill Pol"*ons )) =9Hill Pol"*ons c) &can-Line Polygons d) >oundar" Hill Pol"*ons .3) True or 'alse. The =9Hill Pol"*on techni!ue #ill correctl" 'ill the trian*le sho#n )elo# #hen seeded at the position sho#n #ith an +. a) true b) false

.4) /hich o' the 'ollo#in* is not an o)5ect9space hidden sur'ace remo%al al*orithm0 a) >ac$9Hace Cullin* b) +epth #uffer c) PainterGs -l*orithm .5) /hich o' the 'ollo#in* hidden sur'ace remo%al al*orithms potentiall" causes a )ottlenec$ in the Graphics Pipeline0 (/e discussed this in class. ThereGs onl" one correct ans#er.) a) >ac$9Hace Cullin* )) ?epth >u''er c) Painter*s )lgorithm .6) /hich o' the 'ollo#in* hidden sur'ace remo%al al*orithms can )e used alon* #ith either o' the other t#o (i.e. it sol%es part o' the pro)lem( )ut not all) a) #ac$-Face ,ulling )) ?epth >u''er c) PainterGs -l*orithm .:) /hich o' the 'ollo#in* is not a limitation o' GP; Pro*ramma)ilit" mentioned in class0 a) /hole GP; Pipe must )e tra%ersed e%er" time )) One 49tuple output per 'ra*ment c) One --tuple output per vertex d) One 49tuple output per 'inal pi3el resolution .=) True or 'alse. OpenGC 3tensions need not )e supported )" all dri%ers and hard#are. a) true )) 'alse .B) True or 'alse. One o' the reasons OpenGC %ersions are in're!uent is )ecause ne# %ersions are not )ac$#ard compati)le #ith old %ersions. a) true b) false 38) /hich o' the 'ollo#in* GP; pro*rammin* lan*ua*es does 1OT #or$ 'or OpenGC0 a) C* b) 'L&L c) GC<C The ne3t se%eral pro)lems re'er to the renderin* e!uation. Hor "our re'erence( it is re#ritten )elo#2

i( p( pJ ) = ( p( pJ ) K ( ( p( pJ ) + ( p( pJ ( pI )i( p( pJ )dpI )
pI
31) /hich o' the 'ollo#in* descri)es the purpose o' the L (nu) portion o' the renderin* e!uation0 a) re'lection o' li*ht 'rom pF across pG to p b) geometry function (. if p* not visible from p! /r/ otherwise) c) intensit" o' li*ht 'rom pG to p d) emitted li*ht 'rom pG to#ards p

3.) /hich o' the 'ollo#in* descri)es the purpose o' the M (epsilon) portion o' the renderin* e!uation0 a) re'lection o' li*ht 'rom pF across pG to p )) *eometr" 'unction (8 i' pG not %isi)le 'rom p( 1Dr. other#ise) c) intensit" o' li*ht 'rom pG to p d) emitted light from p* towards p 33) &' pG #ere o' the material t"pe EMirrorF instead o' E/indo#F #hich o' the 'ollo#in* 'unctions #ould chan*e %alue0 a) L )) M c) 0 34) True or 'alse. E;tahF *raphics 'alls into the cate*or" o' EGlo)al &lluminationF. a) true b) false Hor the 'ollo#in* set o' !uestions( consider the line #hich starts at location (5( 14) and ends at position (.1( .). 35) @o# man" pi3els #ill there )e in this line0 a) 1. b) 1 c) .8 d) .4 36) /hich is the primar" direction0 a) x )) " c) z 3:) /ith the ??- al*orithm( #hat #ill )e the amount (amt in notes) added to the secondar" component each time throu*h the loop0 a) 91D. )) 1D. c) -2/d) 3D4 e) 94D3

Você também pode gostar