[試題] 99下 歐陽明 虛擬實境 期中考

作者: rod24574575 (天然呆)   2015-07-10 21:58:42
課程名稱︰虛擬實境
課程性質︰選修
課程教師:歐陽明
開課學院:電資學院
開課系所︰資工所、網媒所
考試日期(年月日)︰2011.05.02
考試時限(分鐘):
試題 :
Virtual Reality Mid-Term Exam May 2, 2011
1. (15%) Given the following code, please draw the scene and the movement of
each object symbolically (including a cube and a sphere) . (angle1 increases
by 3 degrees and angle2 decreases by 5 degrees every frame)
glPushMatrix();
glPushMatrix();
glRotatef ((GLfloat) angle1, 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%) Please give an example application 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. (25%) short questions.
(a) (5%) Is a typical RPG (role playing 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 easy to cause
"motion sickness", why?
5. (15%) 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. (20%) In terms of graphics acceleration, there 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 the basic idea of how these two approaches can
accelerate graphics and the major difference between these 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 for each pixel position (x, y). For a triangle defined
by vertices (0, 3, 0), (0, 0, 0) and (4, 0, 0), please write a parallel
procedure using fast_calculate() to draw all the pixels inside this
triangle with the shading function (surface normal dot_product
light_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, and please provide the precise
A, B, C values in your formula.
7. Bonus problem.
(10%) From one camera, you are looking at a triangle with known vertex
positions, such as A(10, 30, 10), B(80, 30, 10), C(30, 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? Please state your solution clearly and with explanation.

Links booklink

Contact Us: admin [ a t ] ucptt.com