Hi,

> when I call glWidget->frame() dont refresh the osg


May be the OSG OpenGL context is not the current one. And maybe the OSG OpenGL 
context is not the same as created by Qt.

Have a look at "makeCurrent" methods in Qt and in OSG :

http://qt-project.org/doc/qt-4.8/qglcontext.html#makeCurrent
http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00275.html#f9570786bab5518aab85737498af3a30

You can also check a lot of OpenGL context related stuff with gDebugger. 


> if I put a connection between timer and updateGL() fails to call paintGL(). 


It's probably because in this case, paintGL is called within another thread 
than main thread, which is not alowed by Qt.

Could you post a minimal complete source code ?

Cheers,
Aurelien

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





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

Reply via email to