Hi Robert, > If you need a callback for the end of cull traversal then there isn't any specific built in for this, you could subclass from osgViewer::Renderer and implement your own wrapper for the cull traversal to do what you want.
I though of this. And it is the proper way I think. I did it in a simpler way by adding a node at the end of the scenegraph and set a cullcallback and it works Thanks anyway :-) Cheers, Nick On Sun, Mar 20, 2016 at 8:44 PM, Robert Osfield <[email protected]> wrote: > HI Nick, > > The osg::Stats object can record different times for various parts of the > frame, a subset of these are displayed by the StatsHandler when you enable > it. > > If you need a callback for the end of cull traversal then there isn't any > specific built in for this, you could subclass from osgViewer::Renderer and > implement your own wrapper for the cull traversal to do what you want. > > Robert. > > On 20 March 2016 at 17:04, Trajce Nikolov NICK < > [email protected]> wrote: > >> Just looked at the code .. So it is >> >> _viewer->renderingTraversals(); >> >> calling >> >> renderer->cull(); >> >> on the Cameras .... >> >> Is there any way to know when this cull is completed? >> >> On Sun, Mar 20, 2016 at 12:52 PM, Trajce Nikolov NICK < >> [email protected]> wrote: >> >>> Hi community, >>> >>> any clue when the cull traversal is being dispatched in this decomposed >>> viewer frame calls? >>> >>> _viewer->advance(); >>> _viewer->eventTraversal(); >>> _viewer->updateTraversal(); >>> _viewer->renderingTraversals(); >>> >>> Thanks a bunch as always! >>> >>> Nick >>> >>> -- >>> trajce nikolov nick >>> >> >> >> >> -- >> trajce nikolov nick >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- trajce nikolov nick
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

