Re: [osg-users] How to update only one view in compositeviewer?
Roman, Have you tried view-getCamera()-setNodeMask(0x0)? -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Roman Grigoriev Sent: Thursday, September 13, 2012 11:09 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] How to update only one view in compositeviewer? Hi, I have qt app with tab widget with two views in one compositeviewer When I switch tab I'd like not to render invisible window. I browse source and not found any method to disable rendering on certain view Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50037#50037 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to update only one view in compositeviewer?
yes I tried to do this but I have active second context and have qt warnings QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined so it doesn't help even more if I have Vsync On to 60fps I have only 30 fps in null scenegraph in both windows and if I add to compositeviewer only one view I got 60 fps. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50063#50063 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to update only one view in compositeviewer?
Hi, I have qt app with tab widget with two views in one compositeviewer When I switch tab I'd like not to render invisible window. I browse source and not found any method to disable rendering on certain view Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50037#50037 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org