On 8/4/2011 5:39 AM, "Martin Großer" wrote:
Hello,

can everyone explain me what the render order number do?

cam1->setRenderOrder(::osg::Camera::PRE_RENDER, 0);
cam2->setRenderOrder(::osg::Camera::PRE_RENDER, 1);

Is the cam1 ready with the rendering before cam2 begins?
Assuming cam0 and cam1 are both attached as pre-render to the same top-level camera, cam0's RenderStage::draw() will execute and compute before cam1's RenderStage::draw().

--
  -Paul Martz      Skew Matrix Software
                   http://www.skew-matrix.com/

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to