OSGText Issues: Difference between revisions

Jump to navigation Jump to search
m
→‎Investigation: https://sourceforge.net/p/flightgear/mailman/message/36240313/
No edit summary
m (→‎Investigation: https://sourceforge.net/p/flightgear/mailman/message/36240313/)
Line 42: Line 42:
Now, all of the above is /also/ true for osgText in 3.4.0; so the aircraft developers already configured (presumably) a position + offset which gives acceptable tradeoff of ‘appearing coplanar’ and ‘avoiding Z-fighting’. The question is whether we can mimic what old osgText did, close enough that most aircraft work unmodified. And we won’t know that until someone creates the replacement code.<ref>https://sourceforge.net/p/flightgear/mailman/message/37148949/</ref>
Now, all of the above is /also/ true for osgText in 3.4.0; so the aircraft developers already configured (presumably) a position + offset which gives acceptable tradeoff of ‘appearing coplanar’ and ‘avoiding Z-fighting’. The question is whether we can mimic what old osgText did, close enough that most aircraft work unmodified. And we won’t know that until someone creates the replacement code.<ref>https://sourceforge.net/p/flightgear/mailman/message/37148949/</ref>


== Initial Findings ==
* this bug seems to be caused by a change added *intentionally* to OSG between 3.4.0 and 3.4.1. The change is intended to fix some *other* issue with text rendering in OSG, but we don’t seem to see those in FG
* it’s not related to platform or driver, and indeed the underlying bug is probably in our code, not OSG
* The FG version is unrelated to this, it just depends which OSG version you’re using it. Some of our releases were built with OSG 3.4.0, some with 3.4.1, but we can build ‘any’ FG release with ‘any’ FG version.
* This doesn’t have anything to do with HiDPi support in PUI, we didn’t change the OSG version requirement so far
* James would much prefer to fix this by finding *our* bug, but would probably need some help doing that - because while we can patch the OSG we use for our binary builds, we have no control over Linux distros shipping OSG 3.4.0 vs 3.4.1
* we definitely shouldn’t make changes to aircraft because of this bug
* the fix is for people to jump into te OSG and rendering code, not bypass this in XML<ref>https://sourceforge.net/p/flightgear/mailman/message/36240313/</ref>


== Investigation ==
== Investigation ==

Navigation menu