Hi Robert,

you are right, question is not clear... probably I need holidays ;-)
I need to render (overlay) standard QT widgets in 2D over the OSG 3d view. 
One solution is using osgWidget as you suggested.
I implemented a OSG 3d view as a class that inherits from CompositeViewer and 
QWidget.
In QT I normally can do something like this:

    childWidget->setParent(widget);

Could be nice to do the same when "widget" is a OSG view (so QT will manage 
resizes and other events automatically)
I tried it with Qt 4 and OSG 3.0.1 but I had some problems (e.g. refresh 
problems) becouse probably OSG drawing conflicts with Qt drawing.
May be I am wrong but I understood this way is not feasible (in the forum the 
use of osgWidget is suggested).

I wonder if this is possible with OSG 3.2.0 and Qt 5 or, if I am wrong, it was 
also possible with old OSG versions.

Thank you for your support.

Cheers,
Ale

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55750#55750





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

Reply via email to