Hi Eric,

On Tue, Sep 1, 2009 at 8:55 AM, Eric
Pouliquen<[email protected]> wrote:
> Hi Chris, and thanks for your answer !
>
> I understand your solution. How did you manage the Zbuffer clearing ? By 
> setting a clearMask on a ClearNode ?

The easiest way is to use an osg::Camera node to decorate the
background drawing and draw order.  See the osghud example for code
that sets up a camera to post draws and overlay, the change you'll
want to do is make the RenderOrder PRE_RENDER, and the then set the
ClearMask on the viewer's master Camera to just clear the depth
buffer.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to