OpenGL窗口库2009 [英] OpenGL Windowing Library for 2009

查看:152
本文介绍了OpenGL窗口库2009的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试决定要创建窗口并捕获OpenGL应用程序的用户输入的库,但是选择太多了:

Trying to decide on a library for creating a window and capturing user input for my OpenGL app, but there are just way too many choices:

  • GLUT (win32)
  • FreeGLUT
  • OpenGLUT
  • SFML
  • GLFW
  • SDL
  • FLTK
  • OGLWFW
  • Clutter
  • Qt
  • Others?

GLUT简直过时了。我喜欢GLFW,但似乎你不能设置窗口的位置,在显示之前(我想要它的中心,是那么多要问?)所以你看到它出现,然后转移,这困扰了我。 Plus开发似乎也停止了它。 SFML有一些不错的功能,但它使用事件轮询,而不是我喜欢去耦的回调。我不认为我需要FLTK的所有GUI功能。 SDL很慢(似乎没有利用GPU)。和其他3我不太了解(FreeGLUT,OpenGLUT,OGLWFW)。那么,哪些是邪恶的较小者呢?有没有其他我没听说过?

GLUT is simply outdated. I liked GLFW but it seems you can't set the window position before displaying it (I wanted it centered, is that so much to ask?) so you see it appear and then shift over, which bothers me. Plus development seems to have stopped on it too. SFML has some nice features, but it uses event polling rather than callbacks which I prefer for decoupling. I don't think I need all the GUI features of FLTK. SDL is slow (doesn't seem to take advantage of the GPU). And the other 3 I don't know much about (FreeGLUT, OpenGLUT, OGLWFW). So which is the lesser of the evils? Are there others I haven't heard about?

我只是想做一个简单的2D游戏。我熟悉OpenGL,我真的不需要绘制例程,但我可能不会抱怨其他函数,如果他们被正确实现可能是有用的。

I'm just trying to make a simple 2D game. I'm familiar enough with OpenGL that I don't really need drawing routines, but I probably wouldn't complain about other functions that might be useful if they are implemented properly.

推荐答案

我会去Qt。尼斯通用图书馆+ opengl支持

I'd go for Qt. Nice general purpose library + opengl support

这篇关于OpenGL窗口库2009的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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