[osg-users] user stats update

Riccardo Corsi riccardo.corsi at kairos3d.it
Wed Nov 18 07:14:57 PST 2015


Hi all,

in my project I'm using some custom statistics as in the osguserstats.cpp
example.

In the example, user stats are updated every frame between advance() and
eventTraversal().

In my case, I was trying to update my stats between eventTRaversal() and
updateTraversal(), where I already execute some other code.

But by doing so, stats do not always show up correctly - sometimes they
"flicker" and do not show.
Is the one used in the example the only one safe place to update user stats?

Thank you,
Ricky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151118/de659137/attachment-0002.htm>


More information about the osg-users mailing list