Missing Letters #2318
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
This looks very similar to an issue we saw in 2015. One suggestion we had was to try to set environment variable Another place I found indicated that the glyph margins were a big impact on this -- I had a post on the old OSG forums about it, but it looks like it was nuked -- http://forum.openscenegraph.org/viewtopic.php?p=65332 was the link. It looks like I came across https://stackoverflow.com/questions/30389675/how-to-debug-opengl-a-gray-black-texture-box which pointed me to the solution. This was with an older version of OSG -- I believe the code is gone in 3.6.5; what OSG version are you using? My patch on OSG that fixed the issue was this:
Maybe this helps. Maybe not. But I know I've seen similar in the past but it's been almost a decade since we saw it. |
Beta Was this translation helpful? Give feedback.
-
Older version of everything unfortunately. We are somewhat stuff due to some other libraries we are using. |
Beta Was this translation helpful? Give feedback.
-
As expected, the environment variable did not change it. Trying the change suggested hoping I have the additions in the right places. The lines are closer together for me (only see one instance of GL_UNPACK_ROW_LENGTH). Ooops, getFilter() in undefined . . . it seems to be need _texture->getFilter(). Initial tests: no change on NVIDIA and it fixed it on one one computer with an Intel card. I am glad I jumped in here and you were able to respond so quickly. Thank you very much!!! |
Beta Was this translation helpful? Give feedback.
-
Marking as answered, tried on two computers that it fixed. |
Beta Was this translation helpful? Give feedback.
This looks very similar to an issue we saw in 2015. One suggestion we had was to try to set environment variable
OSG_TEXT_INCREMENTAL_SUBLOADING=OFF
but my notes indicate that did not help. In fact once I found the solution IIRC this got in the way.Another place I found indicated that the glyph margins were a big impact on this --
Font::setGlyphImageMargin(2)
. But osgEarth should be doing this automatically.I had a post on the old OSG forums about it, but it looks like it was nuked -- http://forum.openscenegraph.org/viewtopic.php?p=65332 was the link.
It looks like I came across https://stackoverflow.com/questions/30389675/how-to-debug-opengl-a-gray-black-texture-box which pointed me to…