如何在Visual Studio 2010中使用OpenGL 3.3或更高版本的MFC? [英] How to use OpenGL 3.3 or later version for MFC in Visual Studio 2010?

查看:276
本文介绍了如何在Visual Studio 2010中使用OpenGL 3.3或更高版本的MFC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是土木工程专业的学生,​​需要使用OpenGL来开展工作。

我已经学习了一些OpenGL 3.3,并且能够取得成功。



但是,我不知道如何在Visual Studio 2010中将OpenGL 3.3的命令集成到MFC中。现在我只修改Win32应用程序中的OpenGL代码,我的顾问需要我在MFC中使用OpenGL绘制地面。



有人有一些使用OpenGL 3.3渲染MFC的教程吗?

非常感谢!

解决方案

您可以使用glext。



http://www.opengl.org/registry/oldspecs/glext.h

Hi, I'm a student in civil engineering, and need to use OpenGL to draw the ground.
I have already learn some OpenGL 3.3, and can draw the ground.

However, I don't know how to integrate the OpenGL 3.3's command into MFC in Visual Studio 2010. Now I just modify the OpenGL code in Win32 Application, and my advisor needs me to draw ground by using OpenGL in MFC.

Is someone have some tutorial for using OpenGL 3.3 render for MFC?
Thanks a lot!

解决方案

You can use glext.

http://www.opengl.org/registry/oldspecs/glext.h


这篇关于如何在Visual Studio 2010中使用OpenGL 3.3或更高版本的MFC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆