-
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
-
A very basic program demonstrating the use ofthe selectnio buffer in OpenGL. By...
A very basic program demonstrating the use ofthe selectnio buffer in OpenGL. By clicking on the rotating spheres you can make them disappear. The reset button will return everything back to the default setup.-A very basic program demonstrating the use ofthe selectnio buffer in OpenGL. By clicking o n the rotating spheres you can make them disappe ar. The reset button will return everything BAC k to the default setup.
- 2022-07-19 05:40:27下载
- 积分:1
-
OPENGL彩色圆环编程示例程序源代码,use openGL 所编写
OPENGL彩色圆环编程示例程序源代码,use openGL 所编写-OpenGL Programming sample program source code, prepared by the use openGL
- 2022-07-13 22:50:15下载
- 积分:1
-
OpenGL integration painted teapot
OpenGL融合画茶壶-OpenGL integration painted teapot
- 2022-08-11 23:08:16下载
- 积分:1
-
OPENGL在vc++环境下的基本的图形背景建立的过程
OPENGL在vc++环境下的基本的图形背景建立的过程-OPENGL in vc++ Environment basic graphics background process of the establishment
- 2022-07-14 04:33:50下载
- 积分:1
-
OpenGL初级学习的经典例程,用于实现反馈功能,有助于对反馈功能的理解。...
OpenGL初级学习的经典例程,用于实现反馈功能,有助于对反馈功能的理解。-OpenGL junior studying classical routines for the feedback function, contribute to the understanding of feedback function.
- 2022-02-06 15:38:30下载
- 积分:1
-
OpenGL最简单程序
OpenGL 是一种强大的三维图形开发工具, 是图形硬件的软件接口,它由大约250 个命令组成,用户通过这些命令指定创建交互式 2D
或3D 程序所需的几何对象和操作. 从本质上说, 它是一个 3D 图形和模型库,独立于操作系统和硬件环境,具有高度的可移植性, 并且
具有非常快的速度. OpenGL 严格按照计算机图形学原理设计而成,符合光学和视觉原理, 可以创建极其逼真的3D 图像,许多三维演示
系统都用OpenGL 作为三维图象生成和控制的编程接口。
- 2022-08-16 18:33:12下载
- 积分:1
-
OpenGL
基于OpenGL三维图形显示中的向量类的封装,可以方便定义其对象,实现便捷的三维图形绘制,供研究开发人员使用。 -OpenGL-based three-dimensional graphical display of the vector type of package, you can easily define the objects, the realization of three-dimensional graphics rendering and convenient for the research and development personnel.
- 2023-09-03 04:20:03下载
- 积分:1
-
一本很好的书,将三维图形开发与游戏开发
一本很好的书,将的是3D图像开发和游戏开发-A very good book, will be the 3D graphics development and game development
- 2023-08-03 21:50:05下载
- 积分:1
-
利用opengl,利用基于中点偏移算法来实现云的模型
利用opengl,利用基于中点偏移算法来实现云的模型-Use opengl, offset-based algorithm to achieve the mid-point of the model cloud
- 2022-05-29 08:26:26下载
- 积分:1