登录
首页 » OpenGL图像 » 使用C语言构造一个可以显示OpenGL程序的源代码,基本属于框架类别,如需使用则要编写相应的实现代码。基于单文档。...

使用C语言构造一个可以显示OpenGL程序的源代码,基本属于框架类别,如需使用则要编写相应的实现代码。基于单文档。...

于 2022-04-17 发布 文件大小:38.43 kB
0 190
下载积分: 2 下载次数: 1

代码说明:

使用C语言构造一个可以显示OpenGL程序的源代码,基本属于框架类别,如需使用则要编写相应的实现代码。基于单文档。-The use of C language constructs a OpenGL program can display the source code, the basic framework of the categories are for the use of will realize the preparation of the corresponding code. Based on Single Document.

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

发表评论

0 个回复

  • 此程序供初学opengl者使用较佳,它实现了一个颜色变化的三角形!...
    此程序供初学opengl者使用较佳,它实现了一个颜色变化的三角形!-this program for beginners to use opengl better, it achieved a color change the triangle!
    2023-02-11 14:35:03下载
    积分:1
  • image processing to the needs and would like to achieve th ree
    本人为了图像处理的需要,很想实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawScene函数中实现,主要初始化OpenGL运行时的环境变量,三维物体的光照,材质等,由于介绍OpenGL库的初始化的文档很多,在这里我就不多说了,感兴趣的读者可以参考有关的文档。在DrawScene函数中调用全局函数GLDraw3DBMP完成绘图部分。 编译源代码时,必须把opengl32.lib glu32.lib链到工程中。 可以通过对话框改变材质。按上下箭头键可以实现三维图像的绕x轴旋转,按左右箭头键可以实现三维图像绕z轴旋转。 本代码在Windows2000下编译通过。-image processing 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 coordinates. Main initialization procedures, mapping, the release of resources and operation, the function of these documen
    2023-02-17 05:45:03下载
    积分:1
  • 颜色拾取器增强版
    资源描述    这是一个很不错的图像颜色拾取软件,是研究生阶段做的一个课程设计,可以对图像实时进行颜色显示和拾取。程序没有bug,可以正常运行,非常适用于初学者。
    2022-03-23 00:06:12下载
    积分:1
  • 这是一个演示OpenGL
    this a demo for opengl
    2022-06-21 12:54:57下载
    积分:1
  • OPENGL模拟太阳系旋转源代码
    openg入门级练手作业,模拟太阳系中太阳、地球、月球的公转自转,并添加了材质设置的代码。需要用到opengl的库,将dll和lib文件添加到源文件夹中或者添加到编译器的库中都可。。。
    2022-03-24 02:27:40下载
    积分:1
  • 很经典的OPENGL程序
    很经典的OPENGL程序-classic procedures of OpenGL
    2023-08-30 10:00:02下载
    积分:1
  • 用OPENGL读取MS3D文件和JPEG材质
    资源描述-Using OPENGL read MS3D files and JPEG Materia, 使用OPENGL读取MS3D文件,包括程序,可运行文件,MS3D模型文件,相应的BMP图片。
    2022-04-18 22:56:38下载
    积分:1
  • 使用OpenGL的三维画一个球(光,调整球,数量等。
    利用OpenGL画的一个三维球体(有光照,可以调整球面数,可以调整球体半径,有旋转,有移动等基本操作,充分表现人机交互的效果。比较适合初学者。便于理解OpenGL画图的数学原理.-use OpenGL 3D painting of a ball (a light, adjust the number of spherical, the radius can be adjusted Ball, a rotating movement, such as basic operation fully demonstrated the effectiveness of human-computer interaction. More suitable for beginners. OpenGL drawing easier to understand the mathematical principles.
    2022-02-07 13:20:24下载
    积分:1
  • opengl 控件 一个OpenGL程序,自己做的,有些地方可能不太好。解压缩无需密码。...
    opengl 控件 一个OpenGL程序,自己做的,有些地方可能不太好。解压缩无需密码。-opengl OpenGL controls a procedure done, in some places may not be good. Decompress no password is required.
    2022-03-29 20:00:26下载
    积分:1
  • OpenGL实现旋转、平移、缩放与贴图
    OpenGL立方体在世界坐标系中实现缩放、旋转、平移、顶点片源着色器、光照作用、棋盘纹理贴
    2022-04-06 19:31:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载