Re: [osg-users] depth and stencil buffers in multi-pass rtt

2011-01-11 Thread J.P. Delport
-boun...@lists.openscenegraph.org Date: 01/10/2011 02:05AM Subject: Re: [osg-users] depth and stencil buffers in multi-pass rtt Hi, what is your clearmask set to for the 2nd camera? Are the projections the same for the 2 cameras? How about depth range? Only other thing I can recommend is have

Re: [osg-users] depth and stencil buffers in multi-pass rtt

2011-01-10 Thread Brian R Hill
. -osg-users-boun...@lists.openscenegraph.org wrote: - To: OpenSceneGraph Users osg-users@lists.openscenegraph.org From: J.P. Delport jpdelp...@csir.co.za Sent by: osg-users-boun...@lists.openscenegraph.org Date: 01/10/2011 02:05AM Subject: Re: [osg-users] depth and stencil buffers in multi

Re: [osg-users] depth and stencil buffers in multi-pass rtt

2011-01-09 Thread J.P. Delport
Hi, what is your clearmask set to for the 2nd camera? Are the projections the same for the 2 cameras? How about depth range? Only other thing I can recommend is have a look at osgUtil/RenderStage.cpp and check for search for depthAttached. You'll find the code and osg bitmasks you can set