[osg-users] Depth Buffer max and min values?

2007-09-13 Thread zarrandreas
Hi, If I use osg::CameraNode to render DepthBuffer, what kind of values is then in Depth Buffer? Is that float values between [0, 1.0] or real depth values? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/li

Re: [osg-users] Depth Buffer max and min values?

2007-09-13 Thread zarrandreas
] Depth Buffer max and min values? Hi, as far as I know these values are real depth values and not in range [0,1]. --marcus zarrandreas wrote: > Hi, > > If I use osg::CameraNode to render DepthBuffer, what kind of values is then > in Depth Buffer? Is that float values between [0, 1.0] o

Re: [osg-users] Depth Buffer max and min values?

2007-09-14 Thread zarrandreas
: OpenSceneGraph Users Subject: Re: [osg-users] Depth Buffer max and min values? Look at the osgShadow::ShadowMaps class ;) zarrandreas wrote: > Oh cool. > Is there a good example for rendering depth buffer to a texture with > osg::CameraNode? > > -Original Message- > From: [EMAIL PR

[osg-users] depth buffer -> real pixel z - depth

2007-09-16 Thread zarrandreas
Hi, I render depth buffer to the image, but values I have there are between [0.0, 1.0]. How can I get real z-depth? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] depth buffer -> real pixel z - depth

2007-09-19 Thread zarrandreas
Thanks a lot! This is what I need. :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Daly Sent: Wednesday, September 19, 2007 2:56 AM To: OpenSceneGraph Users Subject: Re: [osg-users] depth buffer -> real pixel z - depth zarrandreas wrote: &

[osg-users] osg::CameraNode doesn't render the scene behind the osgProducer::Camera

2007-09-19 Thread zarrandreas
Hello, I use osg::CameraNode to render the scene to a texture, and then I display this texture on the screen aligned quad. Problem: If I fly throw the scene, osg::CameraNode don't display anything. 1) The osg::CameraNode clips the scene and this is the reason, why it doesn't display anything 2)

Re: [osg-users] osg::CameraNode doesn't render the scene behind the osgProducer::Camera

2007-09-19 Thread zarrandreas
#x27;t render the scene behind the osgProducer::Camera On 9/19/07, zarrandreas <[EMAIL PROTECTED]> wrote: > Hello, > I use osg::CameraNode to render the scene to a texture, and then I display > this texture on the screen aligned quad. > > Problem: If I fly throw the scene, osg:

Re: [osg-users] osg::CameraNode doesn't render the scene behind the osgProducer::Camera

2007-09-20 Thread zarrandreas
! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Thursday, September 20, 2007 10:32 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osg::CameraNode doesn't render the scene behind the osgProducer::Camera Hi, On 9/19/07, zarran

Re: [osg-users] depth buffer -> real pixel z - depth

2007-09-30 Thread zarrandreas
Users Subject: Re: [osg-users] depth buffer -> real pixel z - depth On 9/16/07, zarrandreas <[EMAIL PROTECTED]> wrote: > Hi, > > I render depth buffer to the image, but values I have there are between > [0.0, 1.0]. > > How can I get real z-depth? You'll need to u