[osg-users] Text Bounding Box Calculation
Daniel Emminizer, Code 5773
dan.emminizer at nrl.navy.mil
Mon May 14 08:30:04 PDT 2018
Hi Robert,
No problem. I thought that might be the answer, but I figured it was worth passing along the example just in case.
Thanks for the fast response.
- Dan
> -----Original Message-----
> From: osg-users [mailto:osg-users-bounces at lists.openscenegraph.org] On
> Behalf Of Robert Osfield
> Sent: Monday, May 14, 2018 11:18 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] Text Bounding Box Calculation
>
> Hi Dan,
>
> I haven't looked at the example code, currently don't have the time
> available for this right away, but will give a quick reply on the
> general topic. With 3.6 osgText computes the view dependent matrices
> in a way that supports usage with multiple views, whereas 3.4 doesn't
> handle it well at all and can end up with wrong results going to the
> wrong views. For view dependent text where the actual bounding box
> varies you are bit stuck on what value to use, so you have to cache
> the last valid matrix available. This change can lead to differences
> between versions, but the actual bounding box isn't really determinate
> so I don't think there is one "correct" answer what can/should be be
> done here.
>
> Robert.
>
More information about the osg-users
mailing list