For More Question Papers Visit - www.pediawikiblog.com
06cs65
m
USN
Sixth Semester B.E. Degree Examination, Dec.2013 lJan.20l4
g. co
Gomputer Graphics and Visualization Time: 3 hrs.
Briefly explain the applications of computer graphics. Explair,,the process of image formation with pinhole camera as gn,example. Derive the expressiortfor angle of view. (12 Marks) .
2 a. b.
Write an openGl. recursive program for 3D sierpinsky gasket with relevant comments. Explain the seven major groups of functions of a good API.
3 a. b. c.
Enlist the features of good interactive program. How pop-up menus are created using GLUT? Illustrate with an example. What is double buffering? Explain the advantages of double buffering.
4 a.
What are vertex arrays? Show how vertex arrays can be used to represent a cube in openGl.
b.
A square in a two dimensional system is specified by its vertices (6, 6) (10,6) (10, 10) and (6. l0). lmplement the following by its first fmding a composite n matrix for
Y() (.)i -O
a=
oc) =! cotr
oj
ib
Show ttrat
tt"
f*ng, ; '"' r,rt:-".tr
Marks)
Ti'**on
PART _ B
5 a. obtain the matiix representation forffiilof b.
(I0 Marks) (04 Marks)
(10 Marks)
the sequence of transformation. i) Rotate the square by 45" about its vertex (6. 6) i, Scale the original square by a factor of 2 about its centre.
w
o-a tr0.
(06 Marks)
....::i
w
!(n 'ia or=
ik
ioo .=N
(12 Marks) (08 Marks)
'
w
-lol)
,
.p ed ia
o
de
,,,,,,,,
I a. b.
(.)
Eq bo*
PART _ A
..
"
lo
o o o o-
Max. Marks:100
Notez Answer FIVEfull questions, selecting at least TWO questionsfrom each part.
u
point about
3D space. (10 Marks)
following three dimensional sequences are commute:
i) A rotation and a uniform
aE
w
ii)
scaling. Two rotations about the same axis.
(10 Marks)
!o
5.v aa0 6J=
EO
tr> VL =o o
\J<
:(.)
o
Z
6a, '",.,
o'
ta. b.
8a.
f
o o.
b.
Briefly explain the perspective and parallel views in openGl,. Give example. What is mesh? With example explain how meshes are generated. Describe the phong lightening model. What are its advantages?
Briefly explain the different tlpes of light sources supported by openGl.
(10 Marks) (10 Marks) (10 Marks) (10 Marks)
Use Leang Barsky line clipping algorithm to clip a line from starting point (30, 15) and ending point (65, 35) against the window having its lower left corner at (40,10) and upper right corner at (75,25). (10 Marks) Use Bresenham's line algorithm to digitalize a line from point (0, 0) to point (6, 4) 1lo Marksy
For More Question Papers Visit - www.pediawikiblog.com