-
OPENGL画的曲面
OPENGL画的曲面-OpenGL painted surfaces
- 2022-08-09 13:43:06下载
- 积分:1
-
本程序在窗口中显示了一个加入纹理的场景,使得该场景更加真实,平滑,是基于单文档的MFC应用程序。 在本程序中,纹理场景是通过SetCheckTexture()函...
本程序在窗口中显示了一个加入纹理的场景,使得该场景更加真实,平滑,是基于单文档的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.
- 2022-05-17 22:41:58下载
- 积分: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
-
一个通过键盘控制的机器人,可以做各种动作:行走,抬腿,摆动身体...
一个通过键盘控制的机器人,可以做各种动作:行走,抬腿,摆动身体-A robot controlled through the keyboard, you can make all kinds of actions: walking, leg lift, swing the body
- 2022-02-24 23:31:07下载
- 积分:1
-
又一个互动机械臂OpenGL,Visual C++,通过鼠标中键实现功能,例如原地旋转机械臂, 弯曲机械臂...
又一个互动机械臂OpenGL,Visual C++,通过鼠标中键实现功能,例如原地旋转机械臂, 弯曲机械臂-also an interactive manipulator OpenGL, Visual C, the middle mouse button function and For example, in situ rotary manipulator, bending manipulator
- 2022-03-19 08:47:47下载
- 积分:1
-
openGL 3Dmas 模型导入
实现3DS模型的导入和背景音乐 光照的实现,有飞机 汽车多个模型
- 2022-01-22 07:19:41下载
- 积分:1
-
我的opengl的开发心得。我使用开放性图形库写的第一个程序,和我对开发的总结...
我的opengl的开发心得。我使用开放性图形库写的第一个程序,和我对开发的总结-my opengl development experience. I use open graphics library was the first procedure, and I would like to sum up the development of
- 2022-07-11 19:58:06下载
- 积分:1
-
使用OpenGL,图形的缩放的三个典型案例,绘制球灯…
OpenGL的使用,三个典型的例子,分别为图形的缩放,绘制光源照射的球体。雾的使用-use OpenGL, three typical examples of the scaling graphics, drawing the ball light irradiation. The use of fog
- 2022-03-01 13:38:40下载
- 积分:1
-
OpenGL的指令
The instruction of OpenGL
- 2022-02-20 18:45:45下载
- 积分:1
-
该代码详细给出了opegGL中二维纹理生成的实例,对于openGL初学者了解纹理生成有很大帮助...
该代码详细给出了opegGL中二维纹理生成的实例,对于openGL初学者了解纹理生成有很大帮助
-texture generating
- 2022-06-14 05:11:12下载
- 积分:1