Hi Robert, Thanks for you response. A few years ago we develop a GUI design project based on openGL to create buttons, widgets, edit box etc. Our window system is based on inheriting Producer. We have a class inside our project to render 3d objects using OSG and we have a separate project using OSG to render and manipulate our visual database.
Since OSG dropped Producer we got stuck in the version 1.2 because we have to many ties to Producer and we have decided to drop it and use osgViewer instead to render our window system but we do not want to redesign all our gui objects. We have studied that this can be done using a Wrapper and calling the function DrawImplementation. We would like to know the best way to port our project to OSG 2, and consequently, the best way to implement osgViewer on our system. Thanks, Hugo. > Message: 7 > Date: Thu, 5 Jun 2008 08:36:09 +0100 > From: "Robert Osfield" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] OpenGL commands > To: "OpenSceneGraph Users" <osg-users@lists.openscenegraph.org> > > Hi Hugo, > > Using a Camera DrawCallback would be one way, or implementing your own > GraphicsOperation that is attached to the GraphicsWindow. > > Could you explain a bit more about what you are trying to do. It > almost sounds like you want to do just OpenGL rendering, no OSG > rendering at all. > > Robert. > > On Wed, Jun 4, 2008 at 10:09 PM, Hugo Juarez Corr? <[EMAIL PROTECTED]> wrote: >> Hi All, >> >> Can I use OpenGL commands directly on osgViewer (without a wrapper)?? >> I don't want create an object that inherits osg::Drawable to render my >> OpenGL commands. >> I would like use osgViewer just to render my OpenGL commands, is it possible? >> >> Thanks in advance, >> Hugo. >> _______________________________________________ >> 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