i attach a small pic of it.
On Mon, 27 Aug 2007 11:51:50 +0200, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi Johan, Currently CompositeViewer doesn't support on screen stats. Support needs to be added to both the CompositeViewer class and the StatsHandler for this, something I nor others have had a chance to do yet. With the SVN version of the OSG more of the groundwork has been done virtue of the new Renderer class that has much of the stats embedded in it, and CompositeViewer now uses this. So if you want to dive in and add stats this is the place to start. Robert. On 8/27/07, Johan Johnsson <[EMAIL PROTECTED]> wrote:I am using CompositeViewer to represent my views. Now i see that the show stats functionality is made for osgViewer::Viewer. , well i am certinly indeep need for the statistics to continue my current work. I have a class that inherate from the osgViewer::Compositeveiwer and ioverload the statshandler , meaning i have a statshandler of my own with atrigger on the 's'. is there any clever solution to this problem? the solution i may think can work is to cast it like this , osgViewer::View* viewer = dynamic_cast<osgViewer::View*>(&aa);and then get the stat with getStats()->collectStats() for all views i have.is this a possible solution to my problem, or is there any funcionality for this that i may have not seen. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
<<attachment: stats.GIF>>
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

