Hi Anna, I have been trying for almost a week to get the AntTweakBar to work properly with OSG, without any success. I still don't get any text, and I get coloured rectangles instead. I need help :) Did you have the same problems with integrating AntTwakBar in your OSG application?
Can anyone point me in the right direction? don't know why I get those coloured rectangles instead of the text! thanks in advance cheers Juan Casanueva -----Mensaje original----- From: Anna Sokol <[email protected]> To: [email protected] Subject: Re: [osg-users] integrating AntTweakBar GUI with OSG Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 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

