[osg-users] Displaying stats
ledocc at gmail.com
Thu Sep 20 06:14:16 PDT 2007
> just a simple question. How can I use the stats?
Do you want use the state os stats ?
state if toggleUseTexture (key t), ToggleWireFrame (key w), ToggleLight (key
stats is a grap draw on the top of the scene and displaying performance of
the application (key s)
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 correct me if I am wrong
but just add Handler to the view is require.
look the osgviewer example
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users