Re: [osg-users] improperly culled osgText

2011-06-24 Thread Robert Osfield
HI Terry, On Thu, Jun 23, 2011 at 9:43 PM, Terry Welsh mogu...@gmail.com wrote: Thanks for the reply.  Turning off small feature culling does indeed fix my problem, but it's not ideal. It's not ideal at all, I'd call it hack ;-) I guess another hack would be to switch off culling off for the

Re: [osg-users] improperly culled osgText

2011-06-24 Thread Jeremy Moles
On Fri, 2011-06-24 at 13:57 +0100, Robert Osfield wrote: HI Terry, On Thu, Jun 23, 2011 at 9:43 PM, Terry Welsh mogu...@gmail.com wrote: Thanks for the reply. Turning off small feature culling does indeed fix my problem, but it's not ideal. It's not ideal at all, I'd call it hack ;-)

Re: [osg-users] improperly culled osgText

2011-06-24 Thread Terry Welsh
Jun 2011 13:57:59 +0100 From: Robert Osfield robert.osfi...@gmail.com To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Subject: Re: [osg-users] improperly culled osgText Message-ID: banlktinfcspn9ed57ots+7ozncs1ums...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 HI

Re: [osg-users] improperly culled osgText

2011-06-23 Thread Robert Osfield
Hi Terry, The code is not ideal, but it does try to provide a bit of fallback for when one can't establish the actual bounding volume of a text item because it's scaling is dependent upon the current modelview matrix - something that it won't know until after the first frame. The problem boils

Re: [osg-users] improperly culled osgText

2011-06-23 Thread Terry Welsh
things happen in the wrong order in OSG to make this practical or even possible. - Terry Message: 5 Date: Thu, 23 Jun 2011 17:55:01 +0100 From: Robert Osfield robert.osfi...@gmail.com To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Subject: Re: [osg-users] improperly culled osgText

[osg-users] improperly culled osgText

2011-06-22 Thread Terry Welsh
Hi, I found another problem with invisible text today. In TextBase.cpp there is this chunk of code at line 290: // provide a fallback in cases where no bounding box has been been setup so far if (_characterSizeMode!=OBJECT_COORDS || _autoRotateToScreen) {