Re: [osg-users] osgText SCREEN_COORDS picking problem

2011-07-14 Thread Kurt Sierens
It looks like the bounding box is not being calculate correctly, but if the bounding box can be drawn when using SCREEN_COORDS correctly, why can't the bounding box be returned correctly? Kurt -- Read this topic online here:

Re: [osg-users] osgText SCREEN_COORDS picking problem

2011-07-14 Thread Terry Welsh
-users] osgText SCREEN_COORDS picking problem Message-ID: 1310581997.m2f.41...@forum.openscenegraph.org 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

Re: [osg-users] osgText SCREEN_COORDS picking problem

2011-07-14 Thread Kurt Sierens
Thanks Terry, I found that if I use an auto transform with scale and rotate to screen, user defined axis alignment, and object character size mode, it displays correctly and picking works. Kurt -- Read this topic online here:

[osg-users] osgText SCREEN_COORDS picking problem

2011-07-13 Thread Kurt Sierens
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