Hi Kurt, osgText bounds seem to be an ongoing issue. There have been some changes made since OSG 2.8, so you should probably try using the trunk and see if it behaves differently. Here's some possibly (but probably not) related reading:
http://www.openscenegraph.org/projects/osg/changeset/12467 http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2011-June/052394.html -- Terry Welsh mogumbo 'at' gmail.com www.reallyslick.com > > Message: 10 > Date: Wed, 13 Jul 2011 20:33:17 +0200 > From: "Kurt Sierens" <[email protected]> > To: [email protected] > Subject: [osg-users] osgText SCREEN_COORDS picking problem > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > We are using OSG 2.8, and I am currently trying to add picking to osgText > objects. When I use OBJECT_COORDS, it works fine, but when I use > SCREEN_COORDS, it will only pick the text when the cursor is close to the > position, almost like the bounding box is not scaled correctly. Is there > anyway to get around this? Also, the text is being displayed using SCREEN > axis alignment and LEFT_TOP alignment. > > Thank you! > > Cheers, > Kurt > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

