计算机图形学考试试卷及答案
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
学年 学期
题号 一 二 三 四 五 六 七 八 九 十 总分 总分人 得分
得分 阅卷人
Part I. Multiple Choice Questions (5 Points each. Note: order of the choices is important sometimes)
1. The order of the following terms according to its appearance in computer history is
___adcb_____________ a) wireframe display b) programmable pipeline c) texture mapping d) shaded solid
2. OpenGL Utility Toolkit(Glut) provide OpenGL the function such as __ab___________ a) Open a window
b) Get input from mouse and keyboard
c) Widget such as Slidebars and Dialogues d) Widget such as Input boxes and Menus e) Event-driven
3. Give an order of the following phases according the rendering pipeline ____ cebda_____
a) Fragment Processor b) Clipper
c) Vertex Processor d) Rasterizer
e) Primitive Assembler
4. The following operations belonging to which phase listed above
__c_____ To convert object representations from one coordinate system to another
____c/d___ To combines the 3D viewer with the 3D objects to produce the 2D image
___b____ To determine which objects are within the view volume
__a___ To determine the color of the corresponding pixel in the frame buffer
5. _______a ___ computes color or shade of each object independently, so it can’t deal
with situations such as cef a) Local Lighting b) Global Lighting
c) Some objects are blocked from light d) Real time illumination
e) Light can reflect from object to object f) Some objects might be translucent
6. Choose two OpenGL sentences from the follow four candidates to transform the camera from the original position to the destination position
(Destnation Postion)
glMatrixMode(GL_MODELVIEW) glLoadIdentity();
_____a___________ ______c__________
a) glTranslatef(0.0, 0.0, -d); //d>0 b) glTranslatef(0.0, 0.0, d); //d>0 c) glRotatef(-90.0, 0.0, 1.0, 0.0); 学院 专业 级 学号 姓名
大学 计算机图形学 课程试卷
……………………………………密………………………
封…………………
…
…线………………………
第 页 共 页
得分 阅卷人
Part II Free Form Questions (50 Points total)
1. How to normalize an arbitrary view volume(as blow) to an openGL default view
volume (8 points)
答案一,
平移
旋转
剪切
放缩平移
答案二
xy shear (z values unchanged) 10
cot θ
001cot φ0(,)00100
001H θφ-⎡⎤
⎢⎥-⎢⎥=⎢⎥
⎢⎥
⎣⎦
Projection matrix : 1000010000000
001orth M ⎡⎤⎢⎥⎢⎥=⎢⎥
⎢⎥
⎣⎦
P =(,)orth M H θφ
General case: (,)
orth P M STH θφ=
2002
020000
1right left right left right left top bottom top bottom
top bottom ST far near near far
far near -⎡
⎤-
⎢⎥
--⎢⎥
+⎢
⎥-
⎢⎥--=⎢
⎥⎢
⎥
+⎢⎥
--⎢⎥
⎢⎥⎣
⎦
2. Given a clip rectangle and a polygon, you are expected to give the corresponding results after top clip, bottom clip, right clip, and left clip consequently. (4 points)
Answer 2points each step
学院 专业 级 学号 姓名 ………………………密………………………
封…………………
……线………………………