Hi Juan, I implemented the AntTweak Bar GUI in my application. In order to implement the AntTweak Bar GUI in OSG: - Create a osgGA::GUIEventHandler derivative to pass on events to the AntTweak Bar GUI. - Create a osg::Drawable derivative in order to place TwDraw() inside a drawImplementation(). - Add the derived osgGA::GUIEventHandler to an osgViewer::View using addEventHandler(). - Place the osg::Drawable derivative in an osg::Geode and add this osg::Geode to a osg::Camera, with a 2D projection and POST_RENDER, which is then added to the scene root.
Regards, Anna Sokol On Mon, Feb 1, 2010 at 5:06 PM, Juan Casanueva <[email protected]> wrote: > > Hi, > > I want to have a simple OpenGL rendered GUI in my OSG application. > I had a look at CEGUI, but I also found AntTweakBar which seem to do exactly > what I want. > > I am going to try and integrate AntTweakBar with my OSG app, and before I > start I was wondering if anybody has > already done this? or if anybody can > point me in the right direction on how to perform this > > Many thanks > Juan Casanueva > > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=23513#23513 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

