[osg-users] Displaying stats
mfritzen at uni-koblenz.de
Thu Sep 20 06:05:55 PDT 2007
Okay, i have found something what I was looking for. For those who do
not know how to add it...
viewer.addEventHandler( new osgViewer::StatsHandler() );
That is all, but another question. Is there also a possibility to count
the triangles in the scene?
Marcus Fritzen wrote:
> 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.
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users