-
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
-
我学习opengl时的东西,希望对大家
有所帮助!!!
我看了,还不错,听荣毅如们!...
我学习opengl时的东西,希望对大家
有所帮助!!!
我看了,还不错,听荣毅如们!-opengl I am learning things that help you right! ! ! I read, quite good, as heard Rong-yi!
- 2022-10-03 07:20:03下载
- 积分:1
-
opengl example, the rotation of the Earth
opengl例子,旋转的地球-opengl example, the rotation of the Earth
- 2022-12-19 13:20:03下载
- 积分:1
-
opengl 物体自动旋转 转自csdn 一个较好的资源
opengl 物体自动旋转 转自csdn 一个较好的资源-opengl
- 2022-01-31 06:31:18下载
- 积分:1
-
编码器专家
信号压缩的专家,包括语音、 音频和视频压缩和算法实现。欢迎大家下载、试用。谢谢大家的支持!希望能有帮助!
- 2022-08-06 13:25:16下载
- 积分:1
-
一个复杂数据结构的学习,本例子是在VC环境下用OPENGL编写的一个八叉树结构的程序...
一个复杂数据结构的学习,本例子是在VC环境下用OPENGL编写的一个八叉树结构的程序-a complex data structure of the study, This example is the VC environment with OpenGL prepared by an octree structure of the procedures
- 2022-03-23 05:19:20下载
- 积分:1
-
OpenGL编写的实现光的旋转、渲染等的基础小程序,对基础的计算机图形学用帮助...
OpenGL编写的实现光的旋转、渲染等的基础小程序,对基础的计算机图形学用帮助-OpenGL prepared by the optical rotation, and so on the basis of exaggerated small procedures, based on the use of computer graphics to help
- 2022-03-04 17:11:08下载
- 积分:1
-
opengl导入3ds模型-C++
opengl导入3ds模型-C++【该资源非原创,但未找到来源URL,在此感谢原作者】 3ds max 2014导出3ds格式文件 采用面向对象的方法,用C++实现基于OPENGL导入3DS文件
- 2022-03-21 05:29:40下载
- 积分:1
-
自遍的OPENGL基本框架,有光照,位置变化,旋转等操作,一般的OPENGL都可以在这个基础上...
自遍的OPENGL基本框架,有光照,位置变化,旋转等操作,一般的OPENGL都可以在这个基础上-OpenGL basic Framework, with interactions such as light, transformation, rotation, etc.
- 2022-02-10 17:08:40下载
- 积分:1
-
LibUFO 是一个平台独立的直接用C++设计的OpenGL GUI。它有标准的窗口组件,如按钮、标签、菜单、和内部帧控件。...
LibUFO 是一个平台独立的直接用C++设计的OpenGL GUI。它有标准的窗口组件,如按钮、标签、菜单、和内部帧控件。-LibUFO is a platform-independent C direct OpenGL GUI design. It is the standard window components, such as buttons, labels, menus, frames and internal controls.
- 2022-03-10 22:44:59下载
- 积分:1