OpenGL based UI

讨论了使用OpenGL创建用户界面元素的方法,包括按钮和菜单等,并推荐了几种开源库,如Ghost、Manith和NUI,这些库可用于实现OpenGL界面。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

OpenGL based UI



Hi everyone,

I am very new to this forum and OpenGL as well. What I am currently
doing is writing an OO C++ wrapper around OpenGL functions.

One thing that I wanted to do was create UI elements rendered in
OpenGL. Does anyone know of any examples that, for example, render a
command button or a user menu in OpenGL. Basically an UI element that
accepts input from the user and methods to find out which UI element
was clicked.

Cheers,
xargy

.


Re: OpenGL based UI




A very good and complete openGL GUI lib:

http://projects.blender.org/projects/ghost/


.


Re: OpenGL based UI



xargon wrote:

Hi everyone,

I am very new to this forum and OpenGL as well. What I am currently
doing is writing an OO C++ wrapper around OpenGL functions.

One thing that I wanted to do was create UI elements rendered in
OpenGL. Does anyone know of any examples that, for example, render a
command button or a user menu in OpenGL. Basically an UI element that
accepts input from the user and methods to find out which UI element
was clicked.

Cheers,
xargy


If you have in mind to create a gui in opengl, take a look to amanith library, for handle curves, paths, tessellations and so on...

Ska - www.amanith.org
.

 


Re: OpenGL based UI



xargon wrote:

Hi everyone,

I am very new to this forum and OpenGL as well. What I am currently
doing is writing an OO C++ wrapper around OpenGL functions.

One thing that I wanted to do was create UI elements rendered in
OpenGL. Does anyone know of any examples that, for example, render a
command button or a user menu in OpenGL. Basically an UI element that
accepts input from the user and methods to find out which UI element
was clicked.

Cheers,
xargy


Hi.

 

Not sure if this is what you are looking for..
http://www.gamedev.net/community/forums/topic.asp?topic_id=325963
.

 


Re: OpenGL based UI



Am 6 Oct 2005 06:30:36 -0700 schrieb xargon:

> Hi everyone,
>
> I am very new to this forum and OpenGL as well. What I am currently
> doing is writing an OO C++ wrapper around OpenGL functions.
>
> One thing that I wanted to do was create UI elements rendered in
> OpenGL. Does anyone know of any examples that, for example, render a
> command button or a user menu in OpenGL. Basically an UI element that
> accepts input from the user and methods to find out which UI element
> was clicked.

Perhaps you think NUI is usefull for you:

http://home.gna.org/ngl/about.html

It does exacly what you like and it's OpenSource. So why programming
something new?

regards
Andreas
.


http://newsgroups.derkeiler.com/Archive/Comp/comp.graphics.api.opengl/2005-10/msg00108.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值