Hi David,
Thanks for the suggestion... and the poetry!
However, I think forcing the z-depth will suffer from the same rendering problems as switching off the depth test. i.e. the stuff in the overlay will not render correctly without depth value tests. With Roberts suggestion, if I can also work out a way to clear the depth buffer between renderbin passes, I might be in business!
Chris.


Date: Thu, 23 Oct 2008 12:39:10 +0100
From: "David Spilling" <[EMAIL PROTECTED]>
Subject: Re: [osg-users] The best way to make some object in a scene
render after and infront everything else.
To: "OpenSceneGraph Users" <[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Chris,


You can achieve this affect several ways...


(aside : http://www.netpoets.com/classic/poems/008003.htm )

Another way is to use osg::Depth to force the z value of your overlaid stuff
to zero, hence ensuring it is always there.

David

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

Reply via email to