登录
首页 » OpenGL图像 » 本程序在窗口中显示了一个加入纹理的场景,使得该场景更加真实,平滑,是基于单文档的MFC应用程序。 在本程序中,纹理场景是通过SetCheckTexture()函...

本程序在窗口中显示了一个加入纹理的场景,使得该场景更加真实,平滑,是基于单文档的MFC应用程序。 在本程序中,纹理场景是通过SetCheckTexture()函...

于 2022-05-17 发布 文件大小:91.81 kB
0 156
下载积分: 2 下载次数: 1

代码说明:

本程序在窗口中显示了一个加入纹理的场景,使得该场景更加真实,平滑,是基于单文档的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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Little Red Book OpenGL (third edition) example code: Select code
    OpenGL红宝书(第三版)例子代码:选择代码-Little Red Book OpenGL (third edition) example code: Select code
    2022-05-12 11:29:24下载
    积分:1
  • EVC4.0环境下WinCE Opengles英文教程(带源代码)
    该教程html格式。介绍了基于EVC4.0,wince下OpenGL ES的使用。里面例子很多,全部源码。但是英文教程,练习程序用的。
    2022-08-14 02:02:02下载
    积分:1
  • 二维图像的三维显示 详细信息 < OpenGL > 本人为了图像处理的需要,很想实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawScene函数中实现,主要初始化OpenGL运行时的环境变量,三维物体的光照,材质等,由于介绍OpenGL库的初始化的文档很多,在这里我就不多说了,感兴趣的读者可以参考有关的文档。在DrawScene函数中调用全局函数GLDraw3DBMP完成绘图部分。编译源代码时,必须把opengl32.lib glu32.lib链到工程中。 可以通过对话框改变材质。按上下箭头键可以实现三维图像的绕x轴旋转,按左右箭头键可以实现三维图像绕z轴旋转。本代码在Windows2000下编译通过。 -two-dimensional images of three-dimensional display detailed information Image Processing himself to the needs and would like to achieve th ree-dimensional two-dimensional images, then wrote the code, with the readers are interested in sharing. Image Access First bmp image files, two from the clipboard. The MFC code Calling OpenGL library functions to achieve the three-dimensional two-dimensional image display, image width, height and pixel brightness of the three-dimensional space x, z, y co
    2022-05-22 12:29:02下载
    积分:1
  • 将三维变换立方体变形为球
    将立方体转化为球。使用opengl库创建的程序。在Visual Studio 2013上正确运行。
    2022-03-21 02:01:21下载
    积分:1
  • 3DS文化转换软件,超好,不下载后悔
    3DS文化转换软件,超好,不下载后悔-3DS cultural conversion software, super-good, do not download the regret
    2022-03-20 04:18:04下载
    积分:1
  • 使用opengl来加载3ds的模型的源码,形可以旋转,基于MFC.
    使用opengl来加载3ds的模型的源码,图形可以旋转,基于MFC.-Use opengl to load the source model 3ds, graphics can be rotated based on the MFC.
    2022-10-11 23:50:03下载
    积分:1
  • 三维浏览器,opengl开发,三维形,在VC++中使用OpenGL绘制典型曲面―编程爱好者网站...
    三维浏览器,opengl开发,三维图形,在VC++中使用OpenGL绘制典型曲面―编程爱好者网站 -3D browser, opengl development, 3D graphics, the use of the VC OpenGL rendering typical surface-programming enthusiast site
    2022-05-08 20:38:18下载
    积分:1
  • 用VC++写的OPEN GL 一个飘动的片,基于SDK,适合初学者学习,大家可以下载试试!...
    用VC++写的OPEN GL 一个飘动的图片,基于SDK,适合初学者学习,大家可以下载试试!-VC OPEN GL write a floating photographs, based on the SDK, for beginners to learn, we can try to download!
    2022-03-03 14:54:26下载
    积分:1
  • Image processing procedures for OpenGL programming Chap04_MyTemplate.rar
    图像处理程序OpenGL编程Chap04_MyTemplate.rar-Image processing procedures for OpenGL programming Chap04_MyTemplate.rar
    2022-01-26 02:38:47下载
    积分:1
  • 查看OpenGL 3D渲染
    在OpenGL视图中绘制三维物体-view of the OpenGL 3D Rendering
    2022-01-26 06:45:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载