-
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
-
This is a use vc and 3d game opengl prepared. Particle system for the particular...
此为一款用vc和opengl编写的3d游戏。粒子系统作的尤其漂亮-This is a use vc and 3d game opengl prepared. Particle system for the particular good
- 2022-06-02 12:15:42下载
- 积分:1
-
基础知识关于opengl
基础知识关于opengl-basic knowledge on opengl
- 2022-01-26 00:32:21下载
- 积分:1
-
nurbsCurve这个程序作为曲线拟合使用的.其中要用到OpenGL的某些库...
nurbsCurve这个程序作为曲线拟合使用的.其中要用到OpenGL的某些库-nurbsCurve this procedure as used in curve fitting. Which to use OpenGL some library
- 2022-02-21 07:25:40下载
- 积分:1
-
使用C语言构造一个可以显示OpenGL程序的源代码,基本属于框架类别,如需使用则要编写相应的实现代码。...
使用C语言构造一个可以显示OpenGL程序的源代码,基本属于框架类别,如需使用则要编写相应的实现代码。
- 2023-02-24 02:55:03下载
- 积分:1
-
讷河
nehe-opengl-1-5
- 2022-06-30 22:50:21下载
- 积分:1
-
如果这是你第一次提交源代码,请参阅第一次提交代码
cordic 和它是更好的搜索以避免 sumbitting 相同或相似的源代码在提交之前的网站上。
- 2022-02-01 20:38:56下载
- 积分: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
-
读3D点云数据 并显示出来 并从多个角度进行观察
读3D点云数据 并显示出来 并从多个角度进行观察-read 3D points cloud file,and display
- 2022-04-17 12:07:04下载
- 积分:1
-
利用OpenGL来编程实现多边形扫描线算法,要实现不容易,需要多次编译。...
利用OpenGL来编程实现多边形扫描线算法,要实现不容易,需要多次编译。
-to use OpenGL Programming polygon scan-line algorithm, is not easy to achieve the required number of compiler.
- 2022-06-17 09:43:24下载
- 积分:1