I estimated it would take me about 2 months since I'm not good enough at OSG and CEGUI internals. But I may return to the issue later in 1 or 2 years when I expect to have a good understanding of both.
2014-07-04 21:54 GMT+07:00 Sergey Kurdakov <[email protected]>: > Hi Michael, > > > >Do you mean a module located in CEGUI or OSG? > > module in CEGUI and calls there are made to osg > > My thought is this: osg is somewhat similar to ogre in many respects. > So it is possible to take ogre renderer and to try to replace calls to > ogre with similar calls to osg ( mostly the replacement is obvious, but > some parts are not ... here is a difficulty, but again I did not spend much > time on the code of that CEGUI module just browsed it ). > > possibly it is few days effort . > > Regards > Sergey > > > > > On Fri, Jul 4, 2014 at 6:41 PM, michael kapelko <[email protected]> wrote: > >> I was thinking about OSG renderer module for CEGUI, but I'm not sure how >> to do it atm. >> Can you please elaborate (as much as possible) what you mean by "here is >> need for the render class for osg though". Do you mean a module located in >> CEGUI or OSG? If the latter, what do I need to take into account? >> Thanks. >> >> >> 2014-07-04 21:16 GMT+07:00 Sergey Kurdakov <[email protected]>: >> >> 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 >>> >>> >> >> _______________________________________________ >> 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 > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

