-
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
-
自己编的AUXSOLIDBOX函数
自己编的AUXSOLIDBOX函数-The AUXSOLIDBOX own function
- 2022-05-05 09:00:49下载
- 积分:1
-
in VC under OpenGL animation.
在VC下实现OPENGL动画.-in VC under OpenGL animation.
- 2022-03-22 00:59:57下载
- 积分:1
-
Opengl es 1.0 透明物体,混合
Opengl es 1.0 透明物体,混合-Opengl es 1.0 transparent objects, blend
- 2023-01-06 18:35:03下载
- 积分:1
-
关于图形学大作业的多边形
关于图形学大作业的多边形-large graphics on the polygon operations
- 2023-02-28 20:10:04下载
- 积分:1
-
This is my Robotics project, the code is implemented on a robot and the robot is...
This my Robotics project, the code is implemented on a robot and the robot is searching the room for a pre-defined color, and takes the object to the home station (pre-defined by a different color.
Really cool! enjoy.-This is my Robotics project, the code is implemented on a robot and the robot is searching the room for a pre-defined color, and takes the object to the home station (pre-defined by a different color.
Really cool! enjoy.
- 2022-01-25 23:37:06下载
- 积分:1
-
此源代码介绍了利用图形控件的方法,是OPENGL的初学者的一个很好的事列...
此源代码介绍了利用图形控件的方法,是OPENGL的初学者的一个很好的事列-this source code introduced to the use of graphical controls, the beginners OpenGL is a good thing out
- 2022-08-17 23:52:16下载
- 积分:1
-
vs2008下基于mfc框架的OpenGL多视区演示程序。
vs2008下基于mfc框架的OpenGL多视区演示程序。-vs2008 framework OpenGL Based mfc multi-viewport demo program.
- 2022-03-30 03:42:40下载
- 积分:1
-
在VC6.0下用OpenGL编写的一个可以用键盘控制的魔方程序!
在VC6.0下用OpenGL编写的一个可以用键盘控制的魔方程序!-In VC6.0 using OpenGL can be used to prepare a keyboard control procedures Cube!
- 2022-03-20 22:54:40下载
- 积分:1
-
OPGL颜色空间变换与显示,颜色分布在一个立方体中显示出来....
OPGL颜色空间变换与显示,颜色分布在一个立方体中显示出来.-OPGL color space transformation and show that the color distribution in a cube shown.
- 2022-01-26 02:23:41下载
- 积分:1