Re: [osg-users] vsync under qt
Hi Roman, did you try the osgviewerQt example? Anyway, which OSG version? Is vsync enablen on your gfx card driver? Regards, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50729#50729 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vsync under qt
Hi, I use ubuntu 12.10-x64 with nvidia drivers 304.51 under double GTX 670. Code: osg::ref_ptrosg::GraphicsContext::Traits traits = new osg::GraphicsContext::Traits(osg::DisplaySettings::instance().get()); traits-width = ui-GLWidget_2-width(); traits-height = ui-GLWidget_2-height(); traits-doubleBuffer = true; traits-vsync=true; osgQt::GraphicsWindowQt* graphicsWindow = new osgQt::GraphicsWindowQt(traits.get()); QHBoxLayout *layout = new QHBoxLayout(); layout-addWidget(graphicsWindow-getGLWidget()); ui-GLWidget_2-setLayout(layout); Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50688#50688 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] vsync under qt
Hi, tried to set under qt window traits-vsync=true; but in doesn't work How can I enable vsync? Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50677#50677 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vsync under qt
Hi Roman, are you using osgQt classes? Why are you saying vsync is not working? Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50679#50679 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org