On Fri, 2011-08-26 at 06:38 +0200, Martin Scheffler wrote: > Hi all, > > On a long train ride yesterday I had the chance to work on my osg > implementation of a libRocket interface. You can download the code from the > attachment. > > > > libRocket is a nice little GUI library that seems to be well thought through > and cleanly coded. There is an html-like format for writing GUIs. I have not > yet fully explored the library, but now that I can use it in OSG I surely > will. > > What it can do at this point: > * Create fullscreen GUIs > * Create in-scene GUIs > * Mouse and keyboard events are transformed to GUI coordinates and forwarded > to libRocket system > > That's all, and I think that is all that is needed. > I don't think I will wrap any other libRocket functionality as it is all > accessible. > > The included example shows two GUIs. One is full screen, the other is > in-scene and can be rotated with the default osgViewer mouse manipulator. > > If anyone is interested in this I can put it on source control somewhere. > Please give me feedback on what is missing or what can be improved!
Having made osgWidget all those years ago it really makes me sad when I see stuff like this, but the bottom line is osgWidget simply isn't good enough. I've wanted to, for a long, long, time, go back and make it better. :) HOWEVER, having said that, this is actually a great little library. Not bad at all, the design seems very solid! I think if you figure out the issues with cleaning up, it could become quite popular in the OSG community. BTW: I can't actually get it to compile yet (though I can run the Rocket examples just fine); CMake won't find/define LIBROCKET_* variables... > Cheers, > Martin > [/img] > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=42250#42250 > > > > _______________________________________________ > 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

