# Virtual Reality Mid-Term Exam May 2, 2011

Τεχνίτη Νοημοσύνη και Ρομποτική

14 Νοε 2013 (πριν από 4 χρόνια και 7 μήνες)

208 εμφανίσεις

Virtual Reality Mid
-
Term Exam May 2, 2011

1.

(15%)
draw

the scene and the movement of each
object

symbolically

(including a cube and a sphere)
. (angle1 increases by 3
degrees
and angle2
decrease
s by 5
degrees
every frame)

g
lPushMatrix();

glPushMatrix();

glRotatef ((GLfloat)
angle
1
, 0.0, 0.0, 1.0);

glTranslatef (10.0, 0.0, 0.0);

glPushMatrix();

glRotatef ((GLfloat)
angle2
, 0.0, 0.0, 1.0);

glPushMatrix();

glTranslatef (2.0, 0.0, 0.0);

glScalef (4.0, 1.0, 1.0);

glutWireCube (1.0);

glPopMatrix();

glPushMatrix();

glutWireSphere (1.0, 10, 10);

glPopMatrix();

glPopMatrix();

glPushMatrix();

glRotatef ((GLfloat)
angle2
, 0.0, 0.0, 1.0);

glTranslatef

(4.0, 0.0, 0.0);

glPushMatrix();

glScalef (1.0, 1.0, 1.0);

glutWireSphere (1.0, 10, 10);

glPopMatrix();

glPopMatrix();

glPopMatrix();

glPushMatrix();

glScalef (1.0, 1.0, 1.0);

glutWireSphere (1.0, 10, 10);

glPopMatrix();

glPopMatrix();

2.

20%

(a
)
(10%)
n

example
applica
tion of Augmented Reality
on smart
phones.

(b
)
(10%)
Microsoft
Kinect
camera
can estimate the depth information of the
scene in real
-
time.
Can you give an example of
research

topics
which
could

be
solved or
improved by using Kinect?

3.

Term project (5%)

What is the term project you want to do for this semester? What kind of
technical problems will you encounter and have to be solved?

4.

(
2
5%) short questions.

(a)
(5%)

Is a typical RPG (role playin
g game) game considered VR technology? Why
and why not?

(b)
(10%)
What is motion parallax? How to estimate the thickness of a brick if
front of us, if we have only one good eye and the other eye is blind?

(c)
(10%)
Please describe three cases where it is e
asy to cause

motion sickness

,
why?

5.

(1
5
%) In your opinion, what are the great technology breakthroughs of Virtual
Reality in the past fifteen years? Please list 5 such items in relative importance,
and give very short explanations why it is
important.

6.

(2
0%)
In terms of graphics acceleration, ther
e

are at least two approaches been
proposed, namely (1) parallel processing or SIMD,

such as in the nVidia GeForceX
chip set, and (2) binary machines such as the PixelPlanes chip set.

(a)
(10%) Can you describe t
he basic idea of how these two approaches can
accelerate graphics and t
he major difference between the
se two
.

(b)
(10%) There is a functon fast_calculate (A,B,C, x, y) which can be evaluated in
parallel, where fast_calculate() can calculate A*x + B*y +C f
or each pixel position
(x, y). For a tr
iangle defined by vertices (0,
3
, 0) (0,0, 0) and (
4
parallel procedure using fast_calculate() to draw all the pixels inside this triangle
surface normal

dot_product
lig
ht_direction
*

color_of_light
. The surface normal at (0,
3
, 0) is (1,0, 0), at (0,0
, 0) is (0,6, 0.8, 0),
and at (
4
, 0, 0) is (0, 1,
0), and the light is at (0,0,
20
)

with the color
(R,G,B) =
(200,
0, 200)
. We view
this triangle from Z axis above

provide the precise

7.

Bonus

problem
.

(10
%) Fr
o
m one camera, you are looking at a triangle with known vertex
positions
, such as A(10,
30, 10), B(80, 30, 10), C(
3
0,
10
, 10
).

(a)

(5
%) How to determine the distance and orientation of

the camera to the
triangle?

(b)

(5
%) In actual use, there are cases when one vertex of the triangle is blocked
from the camera’s view. What would be possible solutions to this problem?