Hi Pavel,

The osg::Camera::setRenderOrder() method accepts an optional second argument
that controls the order of the camera. Cameras with a lower order number
will be rendered first.

Cheers,
Farshid

On Thu, Jul 16, 2009 at 9:37 AM, Pavel Domša <[email protected]> wrote:

> Hello,
> I have scene hierarchy which has two osg::Camera inside. Both cameras are
> set to POST_RENDER. Is there any way of controlling which one gets rendered
> first? I tried setting renderBin on them, but no help (cameras create new
> render stage). Only solution seems to be controlling which one gets to
> culling first, but that's not ideal for me.
> Any help?
>
> Thanks
> Pavel
> _______________________________________________
> 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

Reply via email to