Thanks Roland, I have merged all your changes as is, and checked them in.
I did see a crash on running osgcompositeviewer once when I brought up stats so it looks like there could be a threading issue lurking in the code. I recall osgProducer::Viewer issues with stats collection that required careful management of when stats are collected, as you can only collect stats once all the cull threads have completed, so my guess is that we might need to review this closely. Another issue I saw was that some of the text and numeric labels weren't whole inside their boxes, so the positioning will need tweaking. Both these issues are something we can look into now that the new code is in place so I have checked the changes in with the assumption that we'll do more testing and refinement on the code. Cheers, Robert. On Mon, Sep 29, 2008 at 8:30 PM, Smeenk, R.J.M. (Roland) <[EMAIL PROTECTED]> wrote: > A year ago Stephan Maximilian Huber sent in a submission with enhanced > statistics. Because I was interested in the scene statistics of his > submission I tried to merge his changes with the current CVS head. I made a > few changes to the way the statistics are displayed. Attached you will find > the new StatsHandler and a screenshot of the statistics in the > compositeviewer example. > > This code will add two extra statistics options: > -Camera scene statistics, stats for the scene after culling (updated at 10 > Hz) > -View scene statistics, stats for the complete scene (updated at 5 Hz) > > Each camera and each view will expand the statistics to the right. > > I also added the requests and objects to compile of the databasepager to the > databasepager statistics. > > kind regards, > > Roland Smeenk > > This e-mail and its contents are subject to the DISCLAIMER at > http://www.tno.nl/disclaimer/email.html > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
