Hi Martin,

I don't refer to a specific example. I use osgQT in an example app
built with Delta3D. It would be easiest if I could post that. Or
should I create an osg example that shows the benefits of having
transparent osg widgets?

Perhaps you could add a few transparent widgets to one of the existing
osgviewerQt* examples, like osgviewerQtWidget or osgviewerQtContext? But
as far as I can see these don't use QGraphicsViewAdapter...

Rethinking this, I see there is currently no example that shows use of the QWidgetImage or QGraphicsViewAdapter classes directly. osgQtBrowser shows use of QWebViewItem in conjunction with osgWidget::Browser, but it's not quite the same thing.

By pure coincidence (not really :-) ) I am currently trying to use QWidgetImage (and thus QGraphicsViewAdapter) myself, and I'm wondering how to get the repaintRequestedSlot to be called without adding the widget to a Qt dialog... I want my Qt widgets to only be painted as part of the overlay on top of the OSG, not as part of another separate GUI... Which seems to me like exactly what you did in your app, looking at your screenshot. Not being a Qt expert myself, and not having any example code to look at, I'm struggling a bit on this.

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to