Okay, i have found something what I was looking for. For those who do not know how to add it...
#include <osgViewer/ViewerEventHandlers> ... viewer.addEventHandler( new osgViewer::StatsHandler() ); That is all, but another question. Is there also a possibility to count the triangles in the scene? --marcus Marcus Fritzen wrote: > Hello, > > just a simple question. How can I use the stats? I have added > viewer.addEventHandler( new osgGA::StateSetManipulator( > viewer.getCamera()->getOrCreateStateSet() ) ); > to my program, but I think this is not enough. I am using the new OSG 2.0. > > Thx > > --marcus > _______________________________________________ > 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

