Hi CEGUI,

Unfortunately the design of CEGUI requires that your initialize it from a
graphics thread so you are limited to a custom Drawable or a draw callback
of some form.

Robert.


On 4 July 2014 14:07, michael kapelko <korn...@gmail.com> 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
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to