搜索资源列表
纹理映射Texture
- 本程序在窗口中显示了一个加入纹理的场景,使得该场景更加真实,平滑,是基于单文档的MFC应用程序。 在本程序中,纹理场景是通过SetCheckTexture()函数生成的,然后通过DoTransform()函数 将—个顶点从物体坐标系转换到窗口坐标系,利用openGL进行矩阵计算,通过UpdateModelView()函数和InitMatrices()函数实现。-the procedures in the window shows a scene by adding texture, making
Exam2_texture
- 本实演示了在MFC中如何建立OpenGL的程序框架,如何进行纹理贴图的坐标计算,以及混和方法的实现。-this is a demonstration of how to establish MFC OpenGL framework of the procedure, how texture mapping coordinates, and the mixture of achievement.
spline
- 该资源包括两个压缩文件,一个是由mfc生成dialog,然后通过鼠标拾取样条曲线的编辑点,该例程从网上下载的,在此对原作者表示感谢;还有一个是根据上面的例子,由事先确定的点,计算出插值点,通过opengl绘图,显示插值效果,例子比较简单,有很多函数未用到,没有加限制条件,改变控制点时,不能超过(0,0),(2,2)。-The resources include two compressed files, a dialog is generated by the mfc spline curve