登录
首页 » OpenGL图像 » 用mfc opengl编写的,转动的球,可能会有数组越界的错误

用mfc opengl编写的,转动的球,可能会有数组越界的错误

于 2022-08-18 发布 文件大小:46.66 kB
0 179
下载积分: 2 下载次数: 1

代码说明:

用mfc opengl编写的,转动的球,可能会有数组越界的错误-mfc opengl prepared with the rotation of the ball, there may be cross-border array of mistakes

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

发表评论

0 个回复

  • OpenGL实现模型缩放功能,视景体移动,包含源代码及演示
    OpenGL实现模型缩放功能,视景体移动,包含源代码及演示-OpenGL model zoom function, visual-Mobile, including source code and demo
    2022-02-24 13:27:49下载
    积分:1
  • 学OpenGL的电子文档第一章(入门用的)
    学OpenGL的电子文档第一章(入门用的)-school OpenGL electronic files first chapter (of entry)
    2022-06-30 09:29:45下载
    积分:1
  • TyphoonLabs的OpenGLES教程的原代码,所有程序均为必要的。
    TyphoonLabs的OpenGLES教程的原代码,所有程序都是基于EVC++平台的-TyphoonLabs OpenGLES Directory of the original code, All procedures were based on the platform of EVC
    2022-05-07 08:32:53下载
    积分:1
  • loader3 quake3 bsp
    quake3 bsp loader3
    2023-04-09 16:25:04下载
    积分: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代码
    OpenGL为程序员提供了一个图形硬件接口。他是一个功能强大的,支持底层绘制和造型能力的软件图形函数库,适用于所有的主流操作系统平台,有着广泛的硬件支持。
    2022-08-24 15:44:37下载
    积分:1
  • OPENGL在VC++环境中的对图像的着色
    OPENGL在VC++环境中的对图像的着色-OPENGL in VC++ Environment shading image
    2022-02-02 02:34:34下载
    积分:1
  • 很高的3DS模型载入软件
    很高的3DS模型载入软件-3DS model of a high loading software
    2022-02-26 06:01:24下载
    积分:1
  • OpenGL中著名的stanford Bunny程序和点云数据。
    OpenGL中著名的stanford Bunny程序和点云数据。-OpenGL famous stanford Bunny procedures and point cloud data.
    2022-06-19 12:36:11下载
    积分:1
  • bezier曲线。简单的。 相当简单,相当之简单
    bezier曲线。简单的。 相当简单,相当之简单-Bezier curves. Simple. Very simple, very simple
    2022-03-24 15:47:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载