-
OPENGL with Visual Basic 6 Joint realize the Jupiter rotation examples, includin...
OPENGL与Visual Basic 6 联合实现的木星旋转实例,包括光源调节、Texture定义等-OPENGL with Visual Basic 6 Joint realize the Jupiter rotation examples, including the light source adjustment, Texture definition
- 2022-10-31 19:45:02下载
- 积分: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
-
OpenGL 将对象使用鼠标拖动
c + + 在 opengl 中的源代码
使用鼠标来移动一个对象
创一空窗口和一个绿色的矩形然后使用鼠标移动绿色矩形
- 2022-11-26 04:45:03下载
- 积分:1
-
纹理映射
纹理映射#include
#ifdef __APPLE__
#include
#else
#include
#endif
GLfloat planes[]= {-1.0, 0.0, 1.0, 0.0};
GLfloat planet[]= {0.0, -1.0, 0.0, 1.0};
GLfloat vertices[][3] = {{-1.0,-1.0,-1.0},{1.0,-1.0,-1.0},
{1.0,1.0,-1.0}, {-1.0,1.0,-1.0}, {-1.0,-1.0,1.0},
&nbs
- 2023-07-29 13:35:04下载
- 积分:1
-
这个例子演示了使用OpenGL创建一支蜡烛火焰的影响…
该例子演示了使用OPENGL创建蜡烛火焰的效果,包含完整源代码,使学习游戏中火焰粒子运动及爆炸粒子运动的好-The example demonstrates the use of OpenGL to create the effect of a candle flame, including complete source code, make learning games flame particle and particle explosion good Dongdong
- 2022-07-12 11:22:16下载
- 积分:1
-
使用ogl和vc6开发的基于pbuffer扩展的离屏渲染程序,用于实现MRT渲染效果。...
使用ogl和vc6开发的基于pbuffer扩展的离屏渲染程序,用于实现MRT渲染效果。-use and development based vc6 pbuffer extended from screen rendering procedures for the realization of MRT rendering.
- 2022-01-31 15:36:17下载
- 积分:1
-
OpenGL高级编程与可视化系统(高级编程篇…
OpenGL高级编程与可视化系统开发(高级编程篇)-10-OpenGL Programming and Advanced Visualization System (Advanced Programming Part 1)-10
- 2023-02-25 19:50:03下载
- 积分:1
-
using the QT seems to achieve a great effect of the fog, in linux below image wi...
在linux下用QT实现的一种看起来效果很棒的雾,对于在linux下面用OpenGL进行图像编程很有参考价值。-using the QT seems to achieve a great effect of the fog, in linux below image with OpenGL programming of great reference value.
- 2022-05-05 05:06:04下载
- 积分:1
-
利用所学的计算机图形学的知识编制的三维物体之三棱锥图形,其中利用的是VC和OPENGL的结合在OPENGL编程下完成的,具有非常好的参考价值...
利用所学的计算机图形学的知识编制的三维物体之三棱锥图形,其中利用的是VC和OPENGL的结合在OPENGL编程下完成的,具有非常好的参考价值-use their knowledge of computer graphics prepared by the three-dimensional objects ter pyramid graphics, which use the VC and the integration of the OpenGL programming OpenGL completed, with a very good reference value
- 2023-02-10 00:10:04下载
- 积分:1
-
OpenGL高级编程与可视化系统开发(高级编程篇)之chap 2
OpenGL高级编程与可视化系统开发(高级编程篇)之chap 2-OpenGL Programming and Advanced Visualization System (Advanced Programming chapter) of chap 2
- 2023-03-25 08:35:04下载
- 积分:1