On 5/31/06, MICHEL NAHAS <[EMAIL PROTECTED]> wrote:

Hi,

 does anyone know how can I read the zbuffer of the graphic card in OSG or
in general and that to have the depth of the pixels?

osg::CameraNode has RTT support  for reading depth buffer into a
texture or osg::Image.  See the osgdepthshadow example.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to