如何开始使用OpenGL和C ++开发,我需要在Windows上安装哪些工具 [英] How to start developing with OpenGL and C++, what tools do I need to install on windows

查看:121
本文介绍了如何开始使用OpenGL和C ++开发,我需要在Windows上安装哪些工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

启发我开始使用c ++在OpenGL中进行一些编程.

任何人都可以在这里列出应该安装哪些工具来启动此过程.

IDE 编译器 OpenGL下载等?

解决方案

Ne-He教程(@wich已经很好地提供了链接)对它们的外观非常有用(但是至少我上次看过)仔细地讲授和使用的OpenGL已过时).

过剩,但是,我通常会避免.它有很多错误,没有人修复它们.它在1990年代后期基本上处于beta测试状态,因此有人怀疑(最好)是否有人会尝试修复它们.

GLFW FLTK .在这两者之间,GLFW更接近字符过大的情况-一种用于提取掉大部分与OS相关的部分的小工具包,因此您可以以相对较少的麻烦来生成OpenGL程序. FLTK实际上是功能完善的GUI工具包(尽管它很小,但具有GUI工具包的功能),它具有内置的glut模拟(至少在我上一次使用它时,它似乎比glut本身要好得多).

我想我还应该指出一个替代过剩的方法: freeglut 是免费的-glut API的实现.我不能说我真的推荐它,但是至少它比最初的过剩产品活跃得多.

当/如果您决定要使用着色器,请同时 AMD

I am inspired to start programming some things in OpenGL, using c++.

Can anyone list here what tools should be installed to start this process.

Ie

IDE Compiler OpenGL download etc?

解决方案

The Ne-He tutorials (to which @wich has already kindly provided a link) are quite good for what they are (but at least the last time I looked carefully, the OpenGL the teach and work with is quite dated).

glut, however, I'd generally avoid. It has a fair number of bugs, and nobody's working on fixing them. It was basically abandoned in a beta test state in the late 1990s, so it seems doubtful (at best) that anybody will ever even try to fix them.

A couple of alternatives to glut (both apparently in active development) are GLFW and FLTK. Between these, GLFW is much closer to glut in character -- a small toolkit for abstracting away most of the OS-dependent parts, so you can produce OpenGL programs with relatively little hassle. FLTK is really a full-blown GUI toolkit (though rather small as GUI toolkits go) that has a built-in glut emulation (that, at least the last time I played with it, seemed considerably better implemented than glut itself).

I suppose I should also point out one more alternative to glut: freeglut is a free re-implementation of the glut API. I can't say I really recommend it, but at least it's been actively developed a lot more recently than the original glut.

When/if you decide you want to play around with shaders, both AMD and nVidia have developer web pages. nVidia's, in particular, has a huge amount of free "stuff" available (just beware that it's easy to burn all too many hours playing around with their demos and such).

这篇关于如何开始使用OpenGL和C ++开发,我需要在Windows上安装哪些工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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