说明:可以捕获USB视频头图像,并显示出来。
要求有USB视频头
用户使用必须安装微软的DirectX。
开发人员须安装微软的DirectX 9.0 SDK。-: USB Video can capture the first image, and displayed. USB Video requires users must first install Microsoft"s DirectX. Developer to install Microsoft"s DirectX 9.0 SDK.
编译环境Vistual2005,DirectX9.0C(2007年10月SDK)。功能为控制一辆坦克车在屏幕中行走。参考了Wii上坦克游戏,除了行走,还可以旋转炮台。属于初学者基础参考程序。
资源主要是载入了坦克车体和炮台的.X文件。
-Compiler environment Vistual2005, DirectX9.0C (2007 on 10 years SDK). Function for the control of a tank running in the screen. Reference to the tanks Wii games, apart from walking, you can rotate Fort. Are the basis of reference procedures for beginners. Resources is included in the main tank body and the Fort. X document.
使用DirectDraw画线。表面是一个按线性排列的内存块,它可以用一个char数组来描述。通过调用IDirectDrawSurface::Lock()方法,就可以访问与每个表面相关的内存。-using DirectDraw line drawing. The surface is a linear arrangement on the block of memory, it can use a char array to describe. By calling IDirectDrawSurface : : Lock () method, we can visit with each surface-associated memory.