-
二
二维图像的三维显示 详细信息 < 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 3D Graphics Programming Intermediate opengl study books
OpenGL三维图形程序设计 中级opengl学习用书-OpenGL 3D Graphics Programming Intermediate opengl study books
- 2022-12-03 18:45:03下载
- 积分:1
-
AR enhanced virtual reality, can be transplanted to the Windows Iphone Android m...
AR 增强虚拟现实,可以移植到到WindowsMobile手机Iphone Android平台的 tracker识别,可以配合 OpenGL Direct编写大型增强虚拟现实程序。-AR enhanced virtual reality, can be transplanted to the Windows Iphone Android mobile phone platform tracker identification, will be compatible with the OpenGL Direct the preparation of large-scale virtual reality to enhance the procedure.
- 2022-02-09 18:00:20下载
- 积分:1
-
一个C#使用OpenGL库的例子程序,相信会对你有所启发
一个C#使用OpenGL库的例子程序,相信会对你有所启发-a C# use OpenGL procedures for example, I believe you may find inspiration
- 2022-02-14 11:25:16下载
- 积分:1
-
三维人脸建模
从图像进行三维建模的c++代码,解压后可直接运行,可看到一个旋转的三维人脸模型
- 2022-02-02 09:25:32下载
- 积分:1
-
more texture expansion terrain in photorealistic rendering of one
多纹理扩展技术在真实感地形绘制中的应用
一偏横好的论文-more texture expansion terrain in photorealistic rendering of one-sided good thesis Wang
- 2022-03-25 02:57:59下载
- 积分:1
-
OpenGL
基于OpenGL的图形程序-OpenGL-based graphics program
- 2022-01-25 14:13:38下载
- 积分:1
-
波阵面Obj装载机
随着 TGA 图像解析器的简单波阵面Obj装载机。源代码已经过测试很多波前 obj 文件和向证明应符合大多数的 obj 文件,到目前为止。
- 2022-05-08 07:42:33下载
- 积分:1
-
OpenGL high
OpenGL高级编程与可视化系统开发(高级编程篇)的随书源码-4,学习OpenGL的好东西-OpenGL Programming and Advanced Visualization System (Advanced Programming Part 1) the source-4 with books, learning the good stuff OpenGL -OpenGL high-level programming and visualization systems development (high-level programming chapter)-4 of the source with the book, learning OpenGL good things-OpenGL Programming and Advanced Visualization System (Advanced Programming Part 1) the source-4 with books, learning the good stuff OpenGL
- 2022-08-21 04:39:04下载
- 积分:1
-
OpenGL虚拟场景中的雪景
OpenGL虚拟场景中的雪景,有天空盒与地形设计,粒子系统只有雪alskdjflng lasknaa idaljfngladk ajsidfolgnlskd
- 2022-01-28 22:52:52下载
- 积分:1