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

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Sat Sep 10 10:17:06 PDT 2016


Thanks for the clarification Robert!

Nick

On Sat, Sep 10, 2016 at 6:27 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> 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.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160910/ee143d47/attachment-0003.htm>


More information about the osg-users mailing list