-
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
-
This OpenGL racing game written by Joe allen
This OpenGL racing game written by Joe allen
- 2023-05-03 16:00:04下载
- 积分:1
-
这是OPENGL和VC制作的桌面应用程序,动画效果,可以在桌面上移动.可以设置参数,形式多变....
这是OPENGL和VC制作的桌面应用程序,动画效果,可以在桌面上移动.可以设置参数,形式多变.-This is OpenGL and VC production of desktop applications, animation effects, be on the table moving. can set parameters varied forms.
- 2022-04-08 16:48:15下载
- 积分:1
-
这只是个简单的小程序,主要是实现三维物体的绘制:在窗口绘制一个多面体和二次曲面,在代码中添加光照函数。...
这只是个简单的小程序,主要是实现三维物体的绘制:在窗口绘制一个多面体和二次曲面,在代码中添加光照函数。-This is just a simple small program, primarily to achieve three-dimensional object drawing: In the window, draw a polyhedron and second surfaces, add lighting function in the code.
- 2022-06-28 20:50:18下载
- 积分:1
-
计算机图形学opengl
计算机图形学opengl-computer graphics opengl
- 2022-07-26 04:34:45下载
- 积分:1
-
该代码是游戏编程光盘中所带,里面讲述了如何用OpenGL进行游戏设计。希望有喜欢的朋友一起分享...
该代码是游戏编程光盘中所带,里面讲述了如何用OpenGL进行游戏设计。希望有喜欢的朋友一起分享-The code is a CD-ROM brought the game programming, which describes how to use OpenGL for game design. Want to have friends like to share
- 2022-02-11 10:38:32下载
- 积分:1
-
二
二维图像的三维显示 详细信息 < 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
-
MFC Opengl三维控件
应用背景
1当二维自定义控件的绘制效果无法满足图形需求时,需要考虑三维控件的可行性;
2在三维控件中,可绘制立体的效果;
3 可在二维图形程序中,绘制三维的图表,如饼图。曼哈顿图等;
关键技术
1 mfc自绘制控件的技术实现;
2 opengl基本绘制图形
3 opengl图形框架,包括编辑,旋转,视图缩放等
4 提供了三维投影,拾取基础类的代码;
5 自定义控件派生自static控件;
void COpenglWnd::Paint()
{
InitOpengl();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
//////////////////////////////////////////////////////////////////////////
glPushMatrix();
glTranslated(0,0, -m_OpenglSize.GetEyeDistance() );
RenderOpengl();
glPopMatrix();
HDC m_hgldc = ::GetDC(m_hWnd);
::SwapBuffers(m_hgldc);
}
- 2023-04-10 06:30:03下载
- 积分:1
-
The opengl
一个基于Delphi的Opengl程序,给出了使用一般Delphi开发Opengl的框架。-The opengl-based Delphi procedures, are given to use Delphi to develop a general framework for opengl.
- 2022-04-29 08:12:51下载
- 积分:1
-
OpenGL教学,三维图形绘制
OpenGL教学,三维图形绘制-OpenGL teaching, 3D graphics rendering
- 2022-02-07 02:39:50下载
- 积分:1