Hello Johannes,

On Wed, May 27, 2015 at 2:21 AM, Johannes Brunen <jbru...@datasolid.de> wrote:
> Does anyone has some experience with GUI integration into OpenSG?

not personally.

> I have found the following open source libraries and was wondering how
> easily they could be sensibly integrated into an OpenSG based
> application:
>
> http://mygui.info/
> http://anttweakbar.sourceforge.net/doc/
> http://cegui.org/

I've used a tiny bit of anttweakbar, but not together with OpenSG. It
is quite easy for simple things, but the more complex your
requirements are (or become) the more it shows that it originally was
targeted at building UIs for graphics demos.

> Did anyone actually wrapped one of these libraries with OpenSG?

I would think you can get something usable fairly quickly by making
the UI a Foreground (that is assuming you want it as an overlay to the
scene, not UI elements in the scene with perspective projection
applied to them). For that the library should be able to work with an
OpenGL context that it did not create itself and ideally save/restore
OpenGL state on entry/exit from the library (to avoid confusing
OpenSG's state tracking).

   Cheers,
      Carsten

------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to