Hi Manuel, On 8/1/06, Manuel A. Fernandez Montecelo <[EMAIL PROTECTED]> wrote:
Well, it's the closest relationship that I found between Producer and osgProducer -- I just was seeking a way to obtain the camera, to be able to draw the GUI over the rendered scene.
You don't acutally need the camera to render over the scene, you can do by simple adding a CameraNode into the scene. Have a look at the osghud example.
> However, its not how I'd integrated CEGUI. Personally I'd just create > a custom osg::Drawable to add custom OpenGL like the osgteapot example > does. You could also add an event callback to the drawable to pass > events to CEGUI. > > Do things this way would then allow you to put the CEGUI anywhere in > your scene, or add it to a HUD, and anything you wish. OK, I'll try this, thanks :)
I'm not familiar with CEGUI, but I expect other OSG users have gone their before you - the CEGUI wiki entry is evidence of this. So perhaps post a message with the topic CEGUI on this list and others might be able to chim in. It'd be nice to see a custom Drawable published on the OSG wiki. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
