本文介绍了便携式工具箱库创建OpenGL应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我新的OpenGL和我一直在做GLUT利用一些教程。

I am new to OpenGL and I have been doing some tutorials utilizing GLUT.

GLUT似乎是相当笨重和老土(如果你知道我的意思:D)?因此,如果有一点更简单,更容易(也许更直观)库代替葡萄糖转运蛋白的功能,我问

GLUT seems to be quite clunky and "old-fashioned" (if you know what I mean :D) so I am asking if there are a bit more straightforward and easier (perhaps more intuitive) libraries to substitute GLUT functionality?

推荐答案

听起来像是你在找什么。这是pretty简单的库,但要比GLUT更加直观。它有键盘,鼠标和游戏杆输入也基本支持。

Sounds like GLFW is what you are looking for. It is pretty simple library but much more intuitive than GLUT. It has basic support for keyboard, mouse and joystick inputs too.

这也是一个pretty小型图书馆,所以它确实有小的开销了。通常情况下,如果静态链接添加GLFW只有20-30kb的开销。便携性非常出色过,平台支持包括所有主要的桌面平台(Windows,Mac OS X的类Unix与X Window系统如FreeBSD和Linux系统)。

It is also a pretty small library so it does have small overhead too. Typically GLFW adds only 20-30kb overhead if linked statically. Portability is excellent too, platform support includes all major desktop platforms (Windows, Mac OS X, Unix like system with X Window System such as FreeBSD and Linux).

这篇关于便携式工具箱库创建OpenGL应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 17:01