Success - I found a solution to this.

The solution was to store and restore the matrix stack as well as the
openGL state, and to call getState()->reset() on the
osgViewer::GraphicsWindowEmbedded object.

I now have an OSG Viewer running on QT 4.5 with overlaid
semi-transparent Qt controls and widgets. I am planning to put
together an osgViewerQTAdvanced sample with a few interactive features
(buttons to click on, etc). This code will be submitted to
osg-submissions when done.

I am also planning to use this method in an engineering product in my day job.

Christian
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to