[osg-users] cull traversal

Robert Osfield robert.osfield at gmail.com
Sun Mar 20 12:44:52 PDT 2016


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 <
trajce.nikolov.nick at gmail.com> 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 <
> trajce.nikolov.nick at gmail.com> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160320/3cf2c254/attachment-0003.htm>


More information about the osg-users mailing list