Hi,
I found the solution now. The only change needed was in the main window
constructor:
Code:
MainWindow::MainWindow(QWidget *parent)
:QMainWindow(parent)
{
QGLFormat f;
f.setAlpha( true ); //enables alpha channel for this format
QGLFormat::setDefaultFormat( f ); //set it as default before instantiations
setupUi(this); //instantiates QGLWidget (ViewerQT)
//other code
}
Thank you!
Cheers,
Dženan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30795#30795
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org