-
补全画线算法
补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法补全画线算法
- 2022-05-23 18:40: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
-
fun bowling game in c++
fun bowling game in c-fun bowling game in c++
- 2022-02-04 09:43:10下载
- 积分:1
-
OpenGL图像绘制,构造一个窗体,显示一个旋转的立方体和一个旋转的四边体。...
OpenGL图像绘制,构造一个窗体,显示一个旋转的立方体和一个旋转的四边体。-OpenGL image rendering, to construct a form, showing a rotating cube and a rotating four-sided body.
- 2022-09-25 01:35:03下载
- 积分:1
-
OBJ文件的载入。
OBJ文件的载入。-OBJ included in the document.
- 2022-10-01 09:35:03下载
- 积分:1
-
opengl绘制管道
通过定义直线段以及管道的半径,生成管道外壁,可以是任意弯曲的管道,通过数学算法算出拼接程管道的外壁长方形,通过正方形拼接成管道,可以设置算法的计算精度,精度越高用更多的长方形拼接出管道
- 2022-11-03 12:30:03下载
- 积分:1
-
这是OPENGL的第二个例子,这个例子实现了LIGHT的实现,
这是OPENGL的第二个例子,这个例子实现了LIGHT的实现,-OPENGL This is the second example, this example to achieve the realization of the LIGHT,
- 2022-06-26 11:55:46下载
- 积分:1
-
On the octree for collision c++ Examples in great detail on the application of o...
关于八叉树用于碰撞的c++例子,很详细,对八叉树的应用作了很好的解释-On the octree for collision c++ Examples in great detail on the application of octree made a good explanation
- 2023-01-23 23:05:03下载
- 积分:1
-
opengl, directly in OnDrawGL drawing unwanted images can be
opengl,直接在OnDrawGL中绘制想要的图像即可-,Visual C++,OpenGL/OpenGL program -opengl, directly in OnDrawGL drawing unwanted images can be- and Visual C, OpenGL/OpenGL program
- 2022-02-26 23:18:16下载
- 积分:1
-
OpenGL Guide (NEHE) source code of my learning process, the OpenGL you grasp the...
OpenGL教程(NEHE)源代码的本人学习过程,教你快速掌握OpenGL的基本工作原理和过程。-OpenGL Guide (NEHE) source code of my learning process, the OpenGL you grasp the basic principle and processes.
- 2022-05-06 06:27:53下载
- 积分:1