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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to