-
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超级宝典》光盘附带源码 很基础很实用 第11章
《OpenGL超级宝典》光盘附带源码 很基础很实用 第11章
- 2022-05-10 19:19:25下载
- 积分:1
-
使用OpenGL实现的屏幕淡入进行绘制的效果,很不错
使用OpenGL实现的屏幕淡入进行绘制的效果,很不错-Realize the use of OpenGL for rendering the screen fade in effect, very good
- 2022-05-21 18:00:27下载
- 积分:1
-
The use of virtual reality technology used in modeling Creator Tutorial
虚拟现实技术使用Creator建模所用教程-The use of virtual reality technology used in modeling Creator Tutorial
- 2022-07-01 12:45:08下载
- 积分:1
-
这是一个用OPENGL函数写的代码。
代码的作用是:实现下雪花的场景。
谢谢你下载!...
这是一个用OPENGL函数写的代码。
代码的作用是:实现下雪花的场景。
谢谢你下载!-This is a function used to write the code OPENGL. The role of the code is: to realize the scene under the snow. Thank you to download!
- 2022-04-08 01:21:48下载
- 积分:1
-
High
高性能碰撞检测论文,非常不错,我做项目的时候就用这个-High-performance collision detection papers, very good project to do when I use this
- 2023-05-05 09:30:05下载
- 积分:1
-
这个是VC下调OPENGL的一个关于等值线生成的程序,超级酷,有原代码,可以供大家利用。...
这个是VC下调OPENGL的一个关于等值线生成的程序,超级酷,有原代码,可以供大家利用。-the VC is a downward OpenGL on the contours of the formation process, the super cool, the original code, which everyone can use.
- 2023-03-27 07:50:03下载
- 积分:1
-
经典碰撞检测程序
Jeff lander 经典质点弹簧系统,可以采用欧拉积分法、中点法和四阶龙格库塔法进行运动方程求解,包含完整的碰撞检测程序,采用包围球的方法,可以进行进一步的开发
- 2022-08-06 00:24:01下载
- 积分:1
-
C++显示ply文件
用来显示ply文件,ply是斯坦福大学开发的一种文件格式,用来保存三维的信息C-C++
- 2022-09-20 06:40:03下载
- 积分:1
-
computer graphics algorithm for example, DIREXTX use OpenGL programming and comp...
计算机图形学算法示例,用OPENGL和DIREXTX编程的计算机图形学简单入门程序,有利于初学者学习。-computer graphics algorithm for example, DIREXTX use OpenGL programming and computer graphics simple entry procedures, help beginners learn.
- 2023-02-16 06:30:04下载
- 积分:1