[osg-users] Camera POST_RENDER vs. postDrawCallback ... who wins?

Robert Osfield robert.osfield at gmail.com
Thu Feb 28 01:21:55 PST 2008


On Thu, Feb 28, 2008 at 1:05 AM, Vican, Justin E. <jvican at draper.com> wrote:
Hi Justin,

> 1.)     Are postDrawCallbacks supposed to be called before the POST_RENDER
> camera sub graphs are rendered?

A camera post draw callback should be called after its whole subgraph
is rendered.

> 2.)    Is there a way to ensure that the HUD displays are always  drawn on
> top of the world space objects and make sure that the postDrawCallback will
> be called after they are rendered?

If the HUD is drawn last why not attach the callback to it?

Robert.


More information about the osg-users mailing list