Beruflich Dokumente
Kultur Dokumente
'
~6
(ICf I
II[
o.f
M , M ork
....
10
i' _-ju....--,
"~ ""Jl !
---;
QL
1nc
2.
steps
.i
e
c
pa
in 3D viewing pipeline
es
g
olle
.
.
.
.
...
czrcr CUrves. DI.SO..LSS thCJr propcrocs aod lurul:ltons
.c
w
ww
_\
1
."'-.{
.:
4o l '
.,., (
I (
l .. L' -'
)/ ,- {:/) _:)
I
' l '\).._,'
D/ ~ '~ \.!"
... . .....
I .
l 'l
J'-l n'-"'
fl
J '::
I
~
. . . . ,.
...
I
#
.:
,,.
L- :::-.~ : .: i~ ..- :-:h.f':: . :: h'h~~ ~! : ~.J.n li.nc p(,l ~ !.!(.~ :-~ :i ! t:r: ~ ~.ftit~ ;;~s.o ::. wh)St: ,-~rfl t:c..~ m ihc:
ci ~::. '' l s ;:--d: rtX:lwn :!.r~ .sn ..orhd ow:
-- -
-7 t
!1
a.._
uo ,,..
~~.' L~
-;r
l ~- -
thc transOrmall()n
<
matnx
~ea auuu any arbnrary
axes, L-.
...... JS
b). Fine the transformation matrix for oblique p ~ojcction onto the XY pl311<.
.i
e
c
sp
e
g
lle
(2+4)_
co
.
w
ww
Q7
~ 6
a)
PcrfQml a 45' rotation of a triangle A(O,O). B(l,l) and C(5,2) about P(-t.- 1)
o b) List tbc steps in clipping the following lines using the Cyrus beck line clipping algorithm against
a rccungu lar window "hose coordinates arc (10,10) and (100, 100).
L
bY loput devices
c) Hcnni!c curves
..:J'd'l' Viin.:!..:w to Viewport tr..msfornt:~ rion
4
4
14
FOURTH SEMESTER
B.E. (ICE)
B.E. END SEM. EXAMINATION, Mal'-2008
IC~214: PRINCIPLES OF COMPUTER GRAPHICS
Ti m~ :
Mux . MArk o: 70
3:00 fl ro.
NOte: AttemPt any FIVE questions. All questions carnJ equnl mnrr<
Assiline suitabls mts.'iin data i nnr .
--
1.
[a] Develop the 'Integer version of .Bresenhom '" l.on r dra11~
n
i
.
e
e
l
l
o
.c
w
ww
c
a
p
s
e
g
::1.
-/
c..L' ' )
I'
q,'l,~
'
I ..
~(Pcn~1.m Wi~uow
lran~formution
P~nl
11
(~) Draw il:c Bczicr cur.c delined hy Ihe control poin1s ( l, I ), (3 ,2),
(5,0) an(. (6,2).' By prop::rly choos ing anolhcr set of cont1ol pui ms
dr~w ~ El~>~.icr cubic cun~ sucj1tha11hc second curve is j.oind
smooth!, with 1hc (jrst l urvc.
(h) Expl~in thf;![vie~:in)O pipcl i;;:
(C) F ~ ~l::~ i:-: !h: ~~~ vf C.mapl.!h.:r gra ptllcs in Engineering icld .
[5,5,.:j
Q.i .
e
l
l
o
c
.
w
ww
(a) A Pyramid A( I, 1,1), 13(2, 1,1), C( I,2, I j and D( I, I,2) i:: housed
insid e a cube of 5 unit length. Ptrfom1 normalized trans formalion
1n a t:;,i1ct:ht... Gi v.: 1hc ll':tnsfonn..d coordin:ucs cJf pyl':: tn;d.
(h l <i jv"'n th. . lh'rspt.:~o.' l h ~ tr~ nsflH'II\alt lll t lltOHri.'( , shuw hu, til..:
vanishing pO iillS may b~ iocalcd.
~Jt: li~1e shud0 w ma~k . '
(~ nc
96.
Asp;:c1 ru110.
.:..\[zyl;,y s y~ t c m .
(5,5.~ )
'
n
i
.
e
07.
{u )Whui is 1hc fundament~! d1l'lerence 1n ihc mc1 hc~ oi' o;;crul l'r
' 'or a monochrome CRT and J ~olor CRT.
(b) A cub e has i1s vertices loc~1ed a1 (Q,O,S), U15.'J.l i, C(5,5.5 ).
D(U,5, 5), E(O,O,O), F(5,0,0), 0 (5 ,5,}), 11(0,5.0) The 1'.1 \1 , 1;
v~rt ic ..! :1nd pos itive Za:ds is ori cnlcd tow~r~fs lh!! \ I\! \ \ cr. 1 nc
cu be is be ing viewed from tl1o point (0, IO,JO). \vor~ OU!Ii1c
per~p ccti ve view of the cube ur. the XY plane.
~ Compare parallel and perspccriw proj~,:110n " lin rd~r~ncc :?
pracl ical usc only.
{j. 7 .: J
c
a
p
s
ge
'
Q~ .
1-?tl IVIlh ;, ll~~t hlo~k ui;I~I'Jl ol, ~.\ piJIII ih~ .1(, 1':1~, .r~ or'; t~
[5,4..~ 2]
'
{....
FOURTH SEMESTER
B E.. (I CE)
B .E . END SEM. EXAMINATIO , Mo.; 2009
IC-214: COMPUTER GRAPHIC S
Time : 3:00 Hrs .
INo te:
Max
1.
_.-
ll ,,.
e
.J
l
l
o
)
c
.
w
w
w
7()
n
i
.
e
c
a
p
s
e
g
/
~larks
Att emp t ANY FNE question s . All questions carnt equal rn o rks
{51
ol:JcCt
by lhc
\JI
B(i;e)
..,, (~,1)
..... , (.'l.,~)
-. . ( CI' ,~)
" :J
t~ . ~, )
L-------;>- 'f
Ftg - 1
::.v,...._
3.
c~
1~,7
c.
; t
..
-~
<----'\~~
)(
-1
l~ig.-2
Fig.-3
Oil
the
;', .. ()
plo.n<.:
wilh
ur
GCnt rcS
4,
Ia] s 'hu w
Q(t) = (,"
U\at
l.
two
1 -t
c
.
w
w
w
curves
6.
g
e
l
ol
1'(t)=V 2 - 2t, t)
131
and
n
i
.
e
c
a
p
s
e
' de:< ~
ll.lll'ol ! l h ' tl
''
5.
[o.] Give n points A (4 .5, 6 .8) , B(-1.2 . l.O) and C'(l'4. -2 S).
Fi nd their res pective screen ' eourd in..ttes
u~e the
fo ll owi ng assum ptions: th e scree n is :i 12 Y5 12 pixels
and the window is the minim um square that encloses
the points and Gil th e upper lift quadrant of the sc reen
!61
,./l'al
::.Jt(
111 J
Roll No. _ __
FOURTH SE.MSTR
BE (ICE)
n
i
.
e
c
a
p
s
e
leg
Time: 3 Hrs.
Max. Marks: 70
l
o
c
.
w
w
w
if any.
QI.
(a) Compute the size of a 1024X768 image at 480 pixels per inch.
(b) 1fan image has a height of 4 inches and an as pect ratio of'! ., what
is its width?
(c) What are the major adverse side effects of scan conversion?
(d) What are the new coordi nates of the point P( -4, 2) after the
rotation by 30 about Q( I, 3).
(e) Find a normalization transformation from the window whose
lower left corner is at ( 1, 1) and upper right comer is at (5, 4) onto
the nonnalized device screen so that as pect ratios are preserved.
(I) Give the transformation matrix for mirror reflection with respect
to tl1e Y-Z plane.
(g) Find tl1e transformation for cabinet projections with 8 =30.
[7X2]
Q2.
(a) ruur poiniS Po(a, b), 1' ,(20, 50), P1(40, 40). 1' 3(70, 6) "'f' available
for draw ing a B- pline curve segment. orn pute the values of a,
b, c such that Lhe c urve s tariS from tho point (2 1, 43) and
termi nates with slope (- !12).
fl5 .
(c) What is the Convex Hull pro perty of Bezier curves? How is it
(6, 4, 4]
satisfied?
(b) State the reaso n why we prefer unit x interval or urut y interval
for corresponding slopes m :S I and m ;:: I in line drawing
a lgorithm.
A cube has its vertices located at A(O, 0, 5), B(S, 0, 5), C{5, 5, 5),
D(O, 5, 5), E(O, 0. 0), F(S, 0 ,0), G(S, 5, 0), H(O, 5, 0). The Y axis
is vertical and positive z axis is oriented towards the viewer. The
cu be is viewed from the point (0, I 0, 40). Work out the
perspective view of the cube on the XY plane.
b) Explai n Polygon filling approach th rough VERTICAL
SCANN ING on a given polygon whose vertices are PI (2, 8),
1'2(6, 14), P3 (8, 10), 1'4(4, 2). Give the data structure that
describes the edge.
L
Construct the Global Edge Table
11.
Trave rse the Active Edge Table in filling the given
polygon.
c) The reflection along the line y = x is equivalent to the reflection
along the X axis fo llowed by counter clockwise rotation by e
degrees. Find the value of e.
(6, 6. 2]
~ n/
Q4.
(a) A clipping window ABCD is specified as A(30. 60), 8(70, 60),
C(90. 20), D( 1O, 20). We want to clip two lines P(S, 25) Q(95,
45) and R(2, 45) 5(40, 0) against the window. Use a suitable li~e
clipping algorithm to find visi ble portion of the lines. Explam
c
a
p
es
g
e
l
ol
c
.
ww
n
i
.
e
(c) Given points P 1 (2, 4, 0), P2 (6, 12, 40) and 1'3 (4, 8, 12) and a
view point C{O, 0, -20), determine wh ich points obscure the
[5, 5, 4)
----Y----