Re: [osg-users] OpenSceneGraph performance drop between Qt 4.7 and 4.8
Hi, is Qt 4.8 already allowing multiple threads to write into one opengl context? If so it must handle this internal and this might generate some overhead. Also from the fps you gave it sounds like v-sync is on and given the afore mentioned slight delay might cause a large delay due to sync missis in the end. Arne Am 11.03.2012 um 19:13 schrieb Marco Fiocco: > I'm working with OpenSceneGraph 3.0.1 (the latest stable) and Qt. > I have noticed a strange frame rate drop switching from Qt 4.7 to 4.8. With > 4.7.3, the frame rate was maximum 60fps on every computer. With 4.8 the frame > is maximum 38-40fps on every computer. Definitely too much to accept. > I cannot understand why! Is it a bug or what? > Thanks for any help > Marco > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG website unresponsive
Am 09.01.2012 um 18:26 schrieb Alberto Luaces: >> On 1/9/2012 2:24 AM, Jose Luis Hidalgo wrote: >> We could go on at length about why Git or Hg are superior to each other, and >> SVN, but >> IMHG, Hg definitely has a lot better non-Linux support. > > For Mac, it seems that there are some clients out there Mac even come pre installed with git (at least in Lion) and have good XCode integration. Arne K. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG website unresponsive
Hi, > -1st) migrate from subversion to git, probably github, and try to > keep all the history and start there the development. There is already a osg git mirror: https://github.com/openscenegraph Just to not duplicate work Arne Kreutzmann ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Rendering to a image file (taking a screenshot)
Hi, osg::ref_ptr image = new osg::Image; image->readPixels(_x,_y,_width,_height, GL_RGB,GL_UNSIGNED_BYTE); osgDB::writeImageFile(*image,_filename); you could add that piece to a osgGA::GUIEventHandler so that it take the snapshot on a key press. Hope this helps. Regards Arne Galen Faidley schrieb: Hello All, I am updating an application from osgProducer to osgViewer. The last bit of functionality I need to replicate is taking a screenshot. I used osgProducer::Viewer::setWriteImageWhenDone in the past and was wondering if there was a replacement for it. I searched the archives but didn't find anything specifiably addressing a replacement. I did find a discussion on creating a high-res screen shots but nothing on built in functionality. If osg no longer has this functionality I'm open to suggestions on the best way to implementing it (I was thinking something like the prerender example and writing the texture to a file). Regards Galen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org