[osg-users] camera pre-render and culling order

Robert Osfield robert.osfield at gmail.com
Sat Sep 10 09:27:27 PDT 2016

Hi Nick,

On 10 September 2016 at 11:47, Trajce Nikolov NICK
<trajce.nikolov.nick at gmail.com> wrote:
> anyone knows what is the order of the camera pre-render and the cull
> traversal in a frame?

Cull and Draw are separate and for the same frame always done in the
order Cull then Draw.  Draw contains all pre rendering, main rendering
and post rendering stages.

If there are multiple Camera's on a GraphicsContext/Window then the
Cull and Draw for the different Camera's can be interleaved, depending
on the threading model, but always for a single Camera the cull
traversal of it's subgraph is always done before the rendering for
that subgraph.

This has to happen this way as it's the cull traversal that decides
what goes into a draw traversal.


More information about the osg-users mailing list