This sounds very much like a problem I had a while ago. Try this: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg39201.html -- Terry Welsh / mogumbo 'at' gmail.com www.reallyslick.com / www.mogumbo.com
> Message: 9 > Date: Fri, 4 Jun 2010 09:12:24 +0100 > From: Robert Osfield <robert.osfi...@gmail.com> > To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org> > Subject: Re: [osg-users] osgText issue > Message-ID: > <aanlktinmxzysh4oach0c5h_c-rrha0ykc5zrrk7fd...@mail.gmail.com> > Content-Type: text/plain; charset=windows-1252 > > Hi Brad, > > I don't have time right now to dive into this topic, but my guess is > that the default bounding box for the text is small enough for small > feature culling to cull it's parent so that the text itself never gets > traversed. Perhaps making the bounding volume invalid until it's > been traversed would be one thing to do, so for the first frame it's > not culled. You'd only want to do this in the case of screen scaled > text. > > Robert. > > On Fri, Jun 4, 2010 at 12:06 AM, Brad Huber <br...@procerusuav.com> wrote: >> It looks like for some reason my screen aligned, screen sized text is >> getting small feature culled under certain circumstances.? My small feature >> cull is set to the default (2 pixels) and my text is definitely larger than >> 2 pixels (when it does show).? When I disable small feature culling the text >> always shows correctly. >> >> >> >> I?m still not sure why this is happening but is it possible that it is using >> the world size of my drawables for culling rather than the actual screen >> size?? Also, I?m not sure why this is an intermittent problem.? (ie text >> doesn?t show then I zoom in and it shows, then zoom back out and it still >> shows). >> >> >> >> Thoughts? >> >> >> >> Thanks >> >> -Brad >> >> >> >> From: osg-users-boun...@lists.openscenegraph.org >> [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Brad Huber >> Sent: Thursday, June 03, 2010 10:02 AM >> To: 'OpenSceneGraph Users' >> Subject: [osg-users] osgText issue >> >> >> >> Cedric (or anyone else), >> >> >> >> I?m running in to a similar issue to what is described here: >> http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg15610.html >> a long time ago by Cedric Pinson. >> >> >> >> I searched around in the forum archives and didn?t see any resolution to >> this issue nor did I find anything else similar.? Did you ever find a >> solution to this problem? >> >> >> >> The way it manifests for me is that there is an osgText object in the >> visible scene but it doesn?t show until I zoom the camera in on it.? Then it >> appears and if I zoom the camera back out it sticks around. ?It should be >> showing the whole time? >> >> >> >> >> >> Thanks >> >> -Brad >> _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org