<div dir="ltr">Following up on my own post :)<div><br></div><div><a href="https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgText/TextBase.cpp#L520">https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgText/TextBase.cpp#L520</a><br></div><div><br></div><div>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. Thoughts?</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Glenn Waldron</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, May 17, 2018 at 11:55 AM Glenn Waldron <<a href="mailto:gwaldron@gmail.com">gwaldron@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Robert,<div>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.)</div><div><br></div><div>This a simple osgText drawable in SCREEN_COORDS mode, tilted just a bit along the X axis:</div><div><br></div><div><img src="cid:ii_jhapt1y50" alt="2018-05-17_115339.jpg" width="412" height="238"><br><br></div><div>Here is a minimal application to reproduce the problem:<br></div><div><br></div><div><a href="https://pastebin.com/nuySbs8L" target="_blank">https://pastebin.com/nuySbs8L</a><br></div><div><br></div><div>

<span style="color:rgb(34,34,34);font-family:sans-serif;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Run this and then use the mouse to slowly tilt the scene. The text becomes stretched.</span>

<br></div><div><br clear="all"><div><div dir="ltr" class="m_-8180788924037594530gmail_signature"><div class="m_-8180788924037594530gmail_signature"><div dir="ltr"><div>Glenn Waldron</div></div></div></div></div></div></div></blockquote></div>