学习Direct 3D之Cube Example
2008-07-09 16:36
253 查看
Direct 3D初始化程式步骤:
* Init window and direct3D */ bool InitD3D( HINSTANCE hInstance, //window handle int width, //window width int heigth, //window heigth bool windowed, //window is full D3DDEVTYPE deviceType, //device type IDirect3DDevice9** device ) { //1.Create the main application window. //2.Init D3D: // Step 1: Create the IDirect3D9 object. // Step 2: Check for hardware vp. // Step 3: Fill out the D3DPRESENT_PARAMETERS structure. // Step 4: Create the device. } /* * message for loop */ int EnterMsgLoop( bool (*ptr_display)(float timeDelta) ) { // }
相关文章推荐
- Direct 3D学习笔记(四)——纹理映射
- Direct 3D学习笔记(三)——光照与材质
- Direct 3D学习笔记二:顶点的创建
- Direct 3D学习笔记(三)——光照与材质
- Direct 3D学习笔记(四)——纹理映射
- Genesis-3D学习手册——13.灯光
- Direct Push 学习
- Fusion Charts学习-----Column3D
- ogre3D学习基础2 -- 顶点程序与片断程序
- [Unity3D学习]3D数学基础之向量
- 【J2me3D系列学习文章之一】J2me3D开发技术和基础知识
- DirectX 9 UI设计学习笔记之三:第4章Introducing DirectInput+第5章Wrapping Direct3D
- 【Android开发学习13】Android OpenGL ES 3D空间与glDrawArrays
- 【J2me3D系列学习文章之三】(立即模式)对立方体进行变换操作-旋转、缩放、平移
- WPF3D学习,立方体的绘制
- 3D视觉学习之路——基于pcl从CAD模型中获取单视角点云
- 【unity 3D】【siki的坦克大战】【学习记录(二)】【08-12】
- Direct-X学习笔记--三维摄像机
- 【Unity 3D学习】获取鼠标滑动方向(上下左右)-控制摄像机围绕物体旋转
- 学习 开源 3D gis软件 --Virtual Terrain Project