-
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
-
twain源码,扫描仪案例
twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例twain源码,扫描仪案例twain源码,扫描仪案例twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例twain源码,扫描仪案例,twain源码,扫描仪案例twain源码,扫描仪案例twain源码,扫描仪案例,twain源码,扫描仪案例twain源码,扫描仪案例,twain源码,扫描仪案例,twain源码,扫描仪案例twain源码,扫描仪案例,,twain源码,扫描仪案例twain源码,扫描仪案例,,twain源码,扫描仪案例twain源码,扫描仪案例twain源码,扫描仪案例twain源码,扫描仪案例twain源码,扫描仪案例twain源码,扫描仪案例,
- 2022-03-12 06:05:00下载
- 积分:1
-
用billboard技术画的一个火焰,可以在场景中漫游,绕着火堆转...
用billboard技术画的一个火焰,可以在场景中漫游,绕着火堆转-billboard with a painting technique flame can roam the scene, she then turn around
- 2022-03-25 09:43:03下载
- 积分:1
-
利用OPENGL做的日地月模型,适合于图形学初学者以及opengl初学编程...
利用OPENGL做的日地月模型,适合于图形学初学者以及opengl初学编程-OPENGL done on the use of the Earth-Moon model, suitable for beginners as well as the opengl graphics programming beginners
- 2023-03-05 04:45:04下载
- 积分:1
-
VC 和OpenGL编写的屏幕保护程序源码,包括安装卸载程序的源码。利用OpenGL Shading实现3维效果。...
VC 和OpenGL编写的屏幕保护程序源码,包括安装卸载程序的源码。利用OpenGL Shading实现3维效果。-VC and the preparation of the OpenGL screen saver source code, including the installation of the source and unloading procedures. OpenGL Shading realization of the three-dimensional effect.
- 2023-06-21 07:15:03下载
- 积分:1
-
console app to draw with opengl
console app to draw with opengl
- 2022-04-29 20:09:04下载
- 积分:1
-
opengl几何图像实现中秋月亮和灯笼,实现渲染效果
opengl几何图像实现中秋月亮和灯笼,实现渲染效果-opengl geometric images to achieve the Mid-Autumn Moon and lanterns to achieve color effects
- 2023-08-31 17:05:03下载
- 积分:1
-
内含两个文件,一个是键盘钩子程序,另外一个是程序界面
内含两个文件,一个是键盘钩子程序,另外一个是程序界面-intron 2, is a keyboard hooks, and the other one is a procedural interface
- 2022-01-26 03:11:58下载
- 积分:1
-
锥下算法
openGL下进行视锥剔除的算法-under cone removed algorithm
- 2023-05-25 05:05:03下载
- 积分:1
-
凸凹纹理映射到典型例子 很好的仿真了细节纹理的三维效果,编译已经通过了...
凸凹纹理映射到典型例子 很好的仿真了细节纹理的三维效果,编译已经通过了-Bump texture mapping to a typical example of a good simulation of the detailed three-dimensional texture effect, the compiler has already passed
- 2022-04-06 19:24:59下载
- 积分:1