Debian Codegraph @

texmf-dist/doc/latex/tiet-question-paper/tiet-question-paper-sample.tex

raw
1 \documentclass[11pt,a4paper,onecolumn]{tiet-question-paper}
2 \date{28 May 2024}
3 \institute{Alpha}
4 \instlogo{images/tiet-logo.pdf}
5 \schoolordepartment{%
6 Computer Science \& Engineering Department}
7 \examname{%
8 End Semester Examination}
9 \coursecode{UCS505}
10 \coursename{Computer Graphics}
11 \timeduration{3 hours}
12 \maxmarks{45}
13 \faculty{ANG,AMK,HPS,YDS,RGB}
14
15 \begin{document}
16 \maketitle
17 \textbf{Instructions:}
18 \begin{enumerate}
19 \item Attempt any 5 questions;
20 \item Attempt all the subparts of a question at one
21 place.
22 \end{enumerate}
23 \bvrhrule[0.4pt]
24 \begin{enumerate}
25 \item
26 \begin{enumerate}
27 \item Given the control polygon
28 $\textbf{b}_0, \textbf{b}_1, \textbf{b}_2,
29 \textbf{b}_3$ of a Cubic Bezier curve; determine
30 the coordinates for parameter values
31 $\forall t\in T$. \hfill [7 marks]
32
33 \begin{align*}
34 T \equiv
35 & \{0, 0.15, 0.35, 0.5, 0.65, 0.85, 1\} \\
36 \begin{bmatrix}
37 \textbf{b}_0 &\textbf{b}_1& \textbf{b}_2& \textbf{b}_3
38 \end{bmatrix} \equiv
39 & \begin{bmatrix}
40 1&2&4&3\\ 1&3&3&1
41 \end{bmatrix}
42 \end{align*}
43 \item Explain the role of convex hull in curves.
44 \hfill[2 marks]
45 \end{enumerate}
46 \end{enumerate}
47 \bvrhrule[0.4pt]
48 \begin{enumerate}[resume]
49 \item
50 \begin{enumerate}
51 \item Describe the continuity conditions for
52 curvilinear geometry.
53 \hfill[5 marks]
54 \item Define formally, a B-Spline curve. \hfill [2
55 marks]
56 \item How is a Bezier curve different from a B-Spline
57 curve?
58 \end{enumerate}
59 \end{enumerate}
60 \bvrhrule[0.4pt]
61 \begin{enumerate}[resume]
62 \item
63 \begin{enumerate}
64 \item Given a triangle, with vertices defined by
65 column vectors of $P$; find its vertices after
66 reflection across XZ plane. \hfill [3 marks]
67 \begin{align*}
68 P\equiv
69 &\begin{bmatrix}
70 3&6&5 \\ 4&4&6 \\ 1&2&3
71 \end{bmatrix}
72 \end{align*}
73 \item Given a pyramid with vertices defined by the
74 column vectors of $P$, and an axis of rotation $A$
75 with direction $\textbf{v}$ and passing through
76 $\textbf{p}$. Find the coordinates of the vertices
77 after rotation about $A$ by an angle of
78 $\theta=\pi/4$.\hfill [6 marks]
79 \begin{align*}
80 P\equiv
81 &\begin{bmatrix}
82 0&1&0&0 \\ 0&0&1&0 \\0&0&0&1
83 \end{bmatrix} \\
84 \begin{bmatrix}
85 \mathbf{v} & \mathbf{p}
86 \end{bmatrix}\equiv
87 &\begin{bmatrix}
88 0&0 \\1&1\\1&0
89 \end{bmatrix}
90 \end{align*}
91 \end{enumerate}
92 \end{enumerate}
93 \bvrhrule[0.4pt]
94 \begin{enumerate}[resume]
95 \item
96 \begin{enumerate}
97 \item Explain the two winding number rules for
98 inside outside tests. \hfill [4 marks]
99 \item Explain the working principle of a
100 CRT. \hfill [5 marks]
101 \end{enumerate}
102 \end{enumerate}
103 \bvrhrule[0.4pt]
104 \begin{enumerate}[resume]
105 \item
106 \begin{enumerate}
107 \item Given a projection plane $P$ defined by normal
108 $\textbf{n}$ and a reference point $\textbf{a}$;
109 and the centre of projection as $\mathbf{p}_0$;
110 find the perspective projection of the point
111 $\textbf{x}$ on $P$. \hfill [5 marks]
112 \begin{align*}
113 \begin{bmatrix}
114 \mathbf{a}&\mathbf{n}&\mathbf{p}_0&\mathbf{x}
115 \end{bmatrix}\equiv
116 &
117 \begin{bmatrix}
118 3&-1&1&8\\4&2&1&10\\5&-1&3&6
119 \end{bmatrix}
120 \end{align*}
121 \item Given a geometry $G$, which is a standard unit
122 cube scaled uniformly by half and viewed through a
123 Cavelier projection bearing $\theta=\pi/4$
124 wrt. $X$-axis. \hfill [2 marks]
125 \item Given a view coordinate system (VCS) with
126 origin at $\textbf{p}_v$ and euler angles ZYX
127 $\boldsymbol{\theta}$ wrt. world coordinate system
128 (WCS); find the location $\mathbf{x}_v$ in VCS,
129 corresponding to the point $\textbf{x}_w$ in
130 WCS. \hfill [2 marks]
131 \begin{align*}
132 \begin{bmatrix}
133 \mathbf{p}_v & \boldsymbol{\theta} & \mathbf{x}_w
134 \end{bmatrix}\equiv
135 &\begin{bmatrix}
136 5&\pi/3&10\\5&0&10\\0&0&0
137 \end{bmatrix}
138 \end{align*}
139 \end{enumerate}
140 \end{enumerate}
141 \bvrhrule[0.4pt]
142 \begin{enumerate}[resume]
143 \item
144 \begin{enumerate}
145 \item Describe the visible surface detection
146 problem in about 25 words. \hfill [1 mark]
147 \item To render a scene with $N$ polygons into a
148 display with height $H$; what are the space and
149 time complexities respectively of a typical
150 image-space method. \hfill [2 marks]
151 \item Given a 3D space bounded within
152 $[0\quad0\quad0]$ and $[7\quad7\quad-7]$,
153 containing two infinite planes each defined by 3
154 incident points
155 $\mathbf{a}_0, \mathbf{a}_1, \mathbf{a}_2$ and
156 $\mathbf{b}_0, \mathbf{b}_1, \mathbf{b}_2$
157 respectively bearing colours (RGB) as
158 $\mathbf{c}_a$ and $\textbf{c}_b$ respectively.
159 \begin{align*}
160 \begin{bmatrix}
161 \mathbf{a}_0&\mathbf{a}_1&\mathbf{a}_2
162 &\mathbf{b}_0&\mathbf{b}_1&\mathbf{b}_2
163 &\mathbf{c}_a&\mathbf{c}_b
164 \end{bmatrix}\equiv
165 &\begin{bmatrix}
166 1&6&1&6&1&6&1&0 \\
167 1&3&6&6&3&1&0&0 \\
168 -1&-6&-1&-1&-6&-1&0&1
169 \end{bmatrix}
170 \end{align*}
171
172 Compute and/ or determine using the depth-buffer
173 method, the colour at pixel $\mathbf{x}=(2,4)$ on
174 a display resolved into $7\times7$ pixels. The
175 projection plane is at $Z=0$, looking at
176 $-Z$. \hfill [6 marks]
177 \end{enumerate}
178 \end{enumerate}
179 \bvrhrule[0.4pt]
180 \end{document}