[osg-users] Using StatsHandler rendering method

Riccardo Corsi riccardo.corsi at kairos3d.it
Tue Nov 29 07:59:16 PST 2016


Hi all,

I've found out that the camera of the StatsHandler is added directly to the
GraphicsContext and not to the viewer/scene.

Besides the fact that this ensures it to work in all scenarios, are there
other advantages in using this method rather than attaching the camera to
the viewer as slave on in the scene graph?


Another question: I expected the StatsHandler's geometry contents to be set
with DYNAMIC DataVariance, as they are modified frame by frame, but I could
not find any explicit code for that.
How do you tackle the geometry modification?

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


More information about the osg-users mailing list