A.DirectGraphicsB.DirectShowC.DirectInputD.DirectAudio
单项选择题实现公告板技术时,物体的世界变换矩阵来自()
A.世界变换矩阵B.视图变换矩阵C.投影变换矩阵D.视口变换矩阵
单项选择题D3D中,创建2D文字的函数是:()
A.D3DXCreateFont()B.CreateFont()C.DrawText()D.GetStockObject()
单项选择题激活发散雾的代码是:()
A.SetRenderState(D3DRS_FOGVERTEXMODE,D3DFOG_LINEAR);B.SetRenderState(D3DRS_FOGDENSITY,;C.SetRenderState(D3DRS_FOGCOLOR,0xffffffff);D.SetRenderState(D3DRS_RANGEFOGENABLE,TRUE);
单项选择题声明利用像素线性雾的代码为:()
A.SetRenderState(D3DRS_FOGVERTEXMODE,D3DFOG_LINEAR);B.SetRenderState(D3DRS_FOGVERTEXMODE,D3DFOG_EXP1);C.SetRenderState(D3DRS_FOGLINEARMODE,D3DFOG_LINEAR);D.SetRenderState(D3DRS_FOGLINEARMODE,D3DFOG_EXP1);
单项选择题利用多重纹理时,SetTextureStageState(0,D3DTSS_COLOROP,D3DTA_ADD)是指()
A.利用颜色混合,对参数进行乘法操作B.利用颜色混合,对参数进行加法操作C.利用透明混合,对参数进行乘法操作D.利用透明混合,对参数进行加法操作
单项选择题利用多层纹理时,设置某一层纹理的渲染状态的函数是:()
A.SetTexture()B.D3DXCreateTextureFromFile()C.SetTextureStageState()D.SetSampleState()
单项选择题D3D中,最多支持多少层的多层纹理映射?()
A.4B.6C.8D.10
单项选择题启用多重采样的图形反锯齿的代码是:()
A.SetRenderState(D3DRS_ALPHATESTENABLE,TRUE);B.SetRenderState(D3DRS_MULTISAMPLEANTIALIAS,TRUE);C.SetRenderState(D3DRS_ZENABLE,TRUE);D.SetRenderState(D3DRS_FOGENABLE,TRUE);
单项选择题Direct3D所支持的渲染模式中,利用多边形第一个极点的颜色作为整个多边形的颜色的模式是:()
A.Flat模式B.Gouraud模式C.Phong模式D.所有模式都是
单项选择题D3D中,利用线框模式渲染多边形的代码是()
A.SetRenderState(D3DRS_FILLMODE,D3DFILL_POINT);B.SetRenderState(D3DRS_FILLMODE,D3DFILL_WIREFRAME);C.SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);D.SetRenderState(D3DRS_FILLMODE,D3DFILL_FORCE_DWORD);