Hi Michael, though I did not dig into code ( just spotted that there is native render for ogre ), but seems an approach like
http://static.cegui.org.uk/docs/0.8.3/classCEGUI_1_1OgreRenderer.html can be of some use. That is - instead to render by CEGUI - render all things by osg itself ( see in CEGUI code cegui-0.8.3\cegui\src\RendererModules - and ogre renderer is there ). there is need for the render class for osg though. but then - this will be really good integration with all capabilities of osg in place. Regards Sergey On Fri, Jul 4, 2014 at 5:07 PM, michael kapelko <[email protected]> wrote: > Hi. > I'm working on integrating CEGUI into OSG and I have successfully followed > Wang Rui's example from his Cookbook: > https://github.com/xarray/osgRecipes/tree/master/cookbook/chapter9/ch09_04 > > But there's an ugly part with CEGUI initialization: it happens in > CEGUIDrawable::drawImplementation(RenderInfo &). It initializes paths, uses > a lot of mutables, strips constness. I want to get rid of that ugly stuff > and initialize CEGUI somewhere outside drawImplementation() call. > So when and where can I get RenderInfo that is passed to all > Drawable::draw(RenderInfo &)? > Thanks. > > _______________________________________________ > 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

