[vtkusers] How to put Qt widgets on top of a VTK OpenGL scene

Elvis Dowson elvis.dowson at mac.com
Tue Oct 21 13:03:34 EDT 2008


Hi Clint,
                   I was just wondering about why the  
QGraphicsScene::drawBackground method works with a QWidget and not a  
QGLWidget. There are possibly two OpenGL rendering contexts happening,  
one for the VTK off-screen rendered and the other for the QGLWidget  
renderer.

So, do you think it has something to do with making the OpenGL  
rendering context current for the QGLWidget?

Best regards,

Elvis Dowson 



More information about the vtkusers mailing list