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
] 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
: 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
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
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:
&
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)
#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:
!
-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
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
9 matches
Mail list logo