-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yellow Label size in case of high screen resolution #63
Comments
While playing with a Parsec server with a lot higher rendering capabilities than my little MacBook I started to understand why the labels are unreadable...so I actually have a test bed. Drawing labels is in xplanemp, While searching for changing the font size found this article on a general setting in XP11. Maybe that helps, to be tested...because the API provides no way to the developer. But then there is this forum thread specifically also mentioning xsquawkbox (which uses the same library) having no chance of changing the font.... |
I‘ve commented here in the forums how this problem has to do with SSAA antialiasing. Should file a bug with Laminar, though. |
Filed a bug with Laminar, accepted as XPD-9785. That will be listed in release notes if fixed. |
Ben Supnik himself replied: „This behavior will not be fixed in future updates; it is a design limitation of the plugin system. The work-around a plugin can/should do is to save the 3-d location of text drawing and then issue the text during a 2-d drawing callback, where the screen is operating in boxels and thus has known scaling properties. cheers So it‘s back to me then. Sent with GitHawk |
The changes solve the issue half-way: Label size is now OK with all antialiasing settings, but the label position is off when SSAA comes into play by the same factors as the label size before, just inverted. I don't find any dataref, which helps me identifying the situation...so far the only guess regarding the antialiasing setting is to read |
This fixes too small labels on very high resolution screens. This is based on a fix from LiveTraffic's fork of libxplanemp. See also TwinFan/LiveTraffic#63
Current Situation / Problem
Follow-up to #60:
The yellow a/c labels are unreadable in VR view, probably due to high resoltuion.
Suggested Solution
Adapt label size to screen resolution.
This would be a change in the multiplayer library.
Benefits
Readable labels also in high screen resolution situations like VR.
The text was updated successfully, but these errors were encountered: