搜索资源列表
MyCollision1
- 基于vc++使用opengl编写的3D球体,可以通过鼠标点击改变颜色。 void CAboutDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX) //{{AFX_DATA_MAP(CAboutDlg) //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) //{{AFX_MSG_MAP(CAboutD
Picking
- 思路: 场景中的每个mesh关联到一个唯一的COLOR值。 Pick检测时, 将当前场景渲染到纹理, (在PS中各mesh仅用自己的关键COLOR),即刻取回当前鼠标的位置的COLOR, 查找COLOR就可以知道当前被Pick的Mesh。 使用Render To Texture 的快速Picking, 无需锁住Vertex Buffer进行三角面和射线的相交测试, 仅在读取数据的时候锁住纹理的一个相素, 但是显卡要支持Render To Texture,纹理尺寸必须支持非2的n次方,D3DF
3DVC
- 要求首先绘制一些美观的三维图形,然后根据3D变换矩阵算法,使图形在键盘或鼠标的控制下进行几何变换。本实验的目的在于使学生了解绘制三维图形的方法,巩固对图形几何变换的理解,掌握在VC中实现三维图形的几何变换的方法。-Asked first of all draw a number of beautiful three-dimensional graphics, and 3D transformation matrix based algorithm, so that graphics on the
MFC3D
- 要求首先绘制一些美观的三维图形,然后根据3D变换矩阵算法,使图形在键盘或鼠标的控制下进行几何变换。本实验的目的在于使学生了解绘制三维图形的方法,巩固对图形几何变换的理解,掌握在VC中实现三维图形的几何变换的方法。-Asked first of all draw a number of beautiful three-dimensional graphics, and 3D transformation matrix based algorithm, so that graphics on the
HUITU
- 要求首先绘制一些美观的三维图形,然后根据3D变换矩阵算法,使图形在键盘或鼠标的控制下进行几何变换。本实验的目的在于使学生了解绘制三维图形的方法,巩固对图形几何变换的理解,掌握在VC中实现三维图形的几何变换的方法。-Asked first of all draw a number of beautiful three-dimensional graphics, and 3D transformation matrix based algorithm, so that graphics on the
homework
- 代码通过vc++编程实现球体的绘制,并给球贴上纹理,还可以通过鼠标旋转球体。-Code through vc++ programming to draw the ball and give the ball to paste the texture, you can also rotate the mouse ball.
