Re: [osg-users] Why am I getting this bleed through effect when moving my camera around?

2013-01-20 Thread Robert Osfield
Hi Preet, This look to be an issue of depth precision, the usual way one tackles this problem of rendering two flat objects on top of each other is to use osg::PolygonOffset (see OpenGL docs on glPolygonOffset). Robert. On 20 January 2013 05:42, Preet wrote: > I have two geometries close togeth

Re: [osg-users] Why am I getting this bleed through effect when moving my camera around?

2013-01-19 Thread Preet
Nevermind -- it turns out my idea of a 'substantial' amount of distance wasn't enough. On Sun, Jan 20, 2013 at 12:42 AM, Preet wrote: > I have two geometries close together -- one is an osgText object and the > other is just a simple set of planar triangles laying flat behind the text. > The tw

[osg-users] Why am I getting this bleed through effect when moving my camera around?

2013-01-19 Thread Preet
I have two geometries close together -- one is an osgText object and the other is just a simple set of planar triangles laying flat behind the text. The two are separated by a small distance. Both objects are parented with an AutoTransform. When I move my camera around in a certain way, the object