Hi all,

what I'm after is very similar to what the osg viewer does when checking if
the QUIT event has happened during the last frame - link
<https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgViewer/Viewer.cpp#L1013>
-
with all the events collected in a frame available at the same time.

I'd like to do that before the other callbacks (placed as node callback or
viewer events handler) are invoked, with one event passed at the time.

At the moment, the best workaround that I could come up with is to collect
all the events in a node callback, and use the FRAME event to know that I
have finished the collection for the current frame.

Robert, do you think it's advisable to add a new callback/entry point in
the Viewer and CompositeViewer classed for such usage?

Thank you,
Riccardo
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to