资 源 简 介
本程序在窗口中显示了一个加入纹理的场景,使得该场景更加真实,平滑,是基于单文档的MFC应用程序。 在本程序中,纹理场景是通过SetCheckTexture()函数生成的,然后通过DoTransform()函数 将―个顶点从物体坐标系转换到窗口坐标系,利用openGL进行矩阵计算,通过UpdateModelView()函数和InitMatrices()函数实现。-the procedures in the window shows a scene by adding texture, making the scene more real, smooth, is based on the MFC single document applications. In this process, the texture scene through SetCheckTexture () function generator, and then through DoTransform () function to-vertex from the object coordinate system conversion to the window frame, using openGL for matrix calculation, UpdateModelView () function and InitMatrices () Function.