[osg-users] Displaying stats
David Callu
ledocc at gmail.com
Thu Sep 20 06:14:16 PDT 2007
Hi Marcus
>
> 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
l), ...
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
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070920/921c8e0e/attachment.htm>
More information about the osg-users
mailing list