I haven't had a chance to look at your example yet, but at a guess I would
suspect that the code trying to maintain the on screen aspect ratio of the
text is struggling more and more as your rotate the text away from being
orthogonal with the screen. If so then we need to ask the question whether
it's sensible to allow one to rotate text when in screen coords.
Once I have a breather from my present intense bit of client work I'll have
a deeper look.
On 17 May 2018 at 17:10, Glenn Waldron <gwald...@gmail.com> wrote:
> Following up on my own post :)
> I think that rotation matrices will result in an incorrect computation of
> the "left" and "up" vectors. So I think we need to use the translation and
> scale only by removing "rotate_matrix" and also removing the rotation
> component of "modelview". A quick test yields better results on my end.
> Glenn Waldron
> On Thu, May 17, 2018 at 11:55 AM Glenn Waldron <gwald...@gmail.com> wrote:
>> I am getting the following problem with the tip of the OpenSceneGraph-3.6
>> branch. (I am building under GL CORE profile on WIn64 but suspect that is
>> not a factor.)
>> This a simple osgText drawable in SCREEN_COORDS mode, tilted just a bit
>> along the X axis:
>> [image: 2018-05-17_115339.jpg]
>> Here is a minimal application to reproduce the problem:
>> Run this and then use the mouse to slowly tilt the scene. The text
>> becomes stretched.
>> Glenn Waldron
> osg-users mailing list
osg-users mailing list