985高校学年第1 学期考试试卷标准答案
软件学院《游戏引擎》课程试题(□A卷) ) 共2页第1页考试说明:
1.本课程为闭卷考试,满分为 100 分,考试时间 90 分钟;答题在试卷上无效。
一、填空
1、Doom
2、游戏引擎
3、Quake、Quake2
4、OpenGL、Direct3D
5、D3DXMatrixTranslation、D3DXMatrixScaling、D3DXMatrixRotatotionX
6、自由、脚本、游戏时间
7、材质的漫反射颜色、材质的环境光颜色、材质的镜面反射颜色、材质的漫发射颜色
8、关节动画、单一网络模型动画、骨骼动画、Morph动画
9、场景管理、二叉树、四叉树、八叉树
10、交互性
二、简答
1、
(1)必须考虑代码在可持续性;
(2)要考虑平台在相关性与独立性和游戏相关性与独立性的问题;
(3)要考虑问题的国际化问题。
2、
(1)输入系统;
(2)键盘控制系统;
(3)鼠标控制系统;
(4)游戏杆控制系统;
3、
(1)图形显示;
(2)输入输出模块;
(3)网络接口;
(4)后台数据库模块;
(5)逻辑处理模块;
(6)前台UI模块;
三、综合题
(1)建立倾听者
LPDIRECTSOUNDBUFFER pPBuf;
LPDIRECTSOUND3DLISTENER listener;
Listener->SetPosition( )
Listener->GetPosition( )
Listener->SetVelocity( )
Listener->GetVelocity ( )
Listener->SetOrientation( )
Listener->GetOrientation ( )
Listener->SetAllParameters( )
Listener->GetAllParameters ( )
(1)建立发声者
LPDIRECTSOUNDBUFFER pSBuf; LPDIRECTSOUND3DBUFFER Buffer3D; Buffer3D->SetPosition( )
Buffer3D->GetPosition( )
Buffer3D->SetVelocity( )
Buffer3D->GetVelocity ( )
Buffer3D->SetMaxDistance( ) Buffer3D->GetMaxDistance ( ) Buffer3D->SetMinDistance( ) Buffer3D->GetMinDistance ( ) Buffer3D->SetConeOrientation( ) Buffer3D->GetConeOrientation ( ) Buffer3D->SetConOutsideVolume( ) Buffer3D->GetConOutsideVolume ( ) Buffer3D->SetAllParameters( ) Buffer3D->GetAllParameters ( )。