[osg-users] Stats not showing after changing camera manipulator, what would be the cause?

Alexandre Vaillancourt alexandre.vaillancourt.list at gmail.com
Tue Mar 29 08:22:28 PDT 2016


We're normally using an in-house derived version of
osgGA::CameraManipulator to control the camera. This manipulator is placed
within a KeySwitchMatrixManipulator because we need a couple viewpoints.

We also need at some point to display viewer stats. This used to work well
in our previous software, but for some reason, it does not work anymore:

The stats display correctly and as expected in the 'main view', but when we
change view (change the camera manipulator within the
KeySwitchMatrixManipulator), the values for the data fields no longer show:
I still see the frames where the data is displayed, with title columns, but
the values are not there, and the 'bars' on the first frame (about
event/update/cull/draw/cpu) are not there, even if the values are updated.

I'm not able to tell when this behaviour started to occur, so I'm not sure
what has been done wrong.

I'm aware that I'm not providing that much info, and that it can really
depend on our implementation.

Any tip on what I should look for, or what might have got wrong are welcome!


Alexandre Vaillancourt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160329/8be2587a/attachment-0002.htm>

More information about the osg-users mailing list