I'm having the same problem using osgViewer::StatsHandler with osgViewer::CompositeViewer. I'm doing some osg performance tests with 3 x osgViewer::View on a CompositeViewer. Since the statsHandler only works with osgViewer::Viewer I also tried to use 3 x osgViewer::Viewer added to my CompositeViewer. I then get updates on Cull: Draw: and GPU: but nothing for Frame Rate, Event and Update. Is there currently any way of getting some stats with more than one window? Thanks, Filip
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: 5. mai 2007 09:51 To: osg users Subject: Re: [osg-users] osgViewer::SimpleViewer and osgViewer::StatsHandler Hi J-S, The StatsHandler and HelpHandlers are both designed around setting up their own HUD Camera's on the osgViewer::Viewer's GraphicsWindow's I can't of any easy way of adapting this to SimpleViewer. Is there a reason why you can't use osgViewer::Viewer? Robert. On 5/4/07, Jean-S�©bastien Guay < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hello Robert, I was wondering if it was possible to use osgViewer::StatsHandler together with osgViewer::SimpleViewer. If it is, then is there something special to do other than viewer.addEventHandler(new osgViewer::StatsHandler); ? Because I'm doing just that, and my SimpleViewer is not showing stats when I press the 's' key. If it's not possible, then I'll ask another question. The only reason I'm using osgViewer::SimpleViewer is because I want my viewer to use SDL, as in my field (gaming) when you go fullscreen it's useful to be able to reduce the resolution at the same time in instances where the fill rate is the bottleneck, and SDL gives me an API to do that. Is it possible to make the ordinary osgViewer::Viewer draw into an SDL-created OpenGL context? If so, then I'll just stop using osgViewer::SimpleViewer and use the straight osgViewer::Viewer instead. Also, is there an equivalent to osgViewer::SimpleViewer's cleanup() method in osgViewer::Viewer? Thanks, J-S -- ______________________________________________________ Jean-Sebastien Guay [EMAIL PROTECTED] http://whitestar02.webhop.org/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
