简体   繁体   English

需要具有OpenGL支持的跨平台GUI工具包

[英]Need cross-platform GUI toolkit with OpenGL support

I need a cross-platform GUI toolkit with OpenGL support. 我需要具有OpenGL支持的跨平台GUI工具包。 I also need to be able to draw on a canvas or panel from an image buffer. 我还需要能够从图像缓冲区在画布或面板上绘制。 The candidates I've chosen so far are FLTK (it can do OpenGL windows -- I don't know about canvases), Qt, and wxWidgets. 到目前为止,我选择的候选人是FLTK(它可以处理OpenGL窗口-我对画布不了解),Qt和wxWidgets。

Any idea which would be the best? 有什么想法是最好的吗?

Thanks! 谢谢!

I would say Qt. 我会说Qt。 But that might be argumentative question... 但这可能是一个有争议的问题...

Hey Deep, XVT support openGL. 嗨,Deep,XVT支持openGL。 It's a GUI cross-platform toolkit for C and C++ www.xvt.com 这是用于C和C ++的GUI跨平台工具包www.xvt.com

For simple things I would suggest GLUT or something similar. 对于简单的事情,我建议使用GLUT或类似的东西。 But for anything above a simple window into which you render some OpenGL, I strongly recommend Qt. 但是对于在其中可以渲染OpenGL的简单窗口之上的任何内容,我强烈建议您使用Qt。 But as tibur said, its probably a matter of taste. 但是正如tibur所说,这可能是一个品味问题。

Checkout the Ecere SDK . 签出Ecere SDK It's a feature rich cross-platform GUI toolkit, and it supports a variety of graphics driver (eg GDI, X11, OpenGL, Direct3D). 它是一个功能丰富的跨平台GUI工具包,并且支持多种图形驱动程序(例如GDI,X11,OpenGL,Direct3D)。 It has a built-in 3D engine, but you can mix it with your own OpenGL code as well, there are samples showing you how to do just that. 它具有内置的3D引擎,但是您也可以将其与自己的OpenGL代码混合使用,其中有一些示例向您展示了如何做到这一点。 It was originally designed as a GUI system for in-game menus, so it supports full screen mdoe as well as windowed mode, but is now a general purpose SDK. 它最初被设计为用于游戏内菜单的GUI系统,因此它支持全屏mdoe和窗口模式,但现在是通用SDK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM