Board index FlightGear Support Graphics

Unreadable white text on white background on Twin Otter GPS

Graphics issues like: bad framerates, weird colors, OpenGL errors etc. Bad graphics ar usually the result of bad graphics cards or drivers.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).
- please upload a screenshot of the problem.

If you experience FlightGear crashes, please report a bug using the issue tracker (can be also used for feature requests).
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article. If you are seeing corrupted/broken textures, please see this article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

Unreadable white text on white background on Twin Otter GPS

Postby SurferTim » Sun Aug 11, 2019 11:04 am

Split off from the topic Why is the Ubuntu FlightGear package an older version? that in turn was split of from METAR not working.


SurferTim wrote in Sat Aug 10, 2019 2:06 pm:OK, I had to change to git call a bit to get it to work:
Code: Select all
git clone git://git.code.sf.net/p/flightgear/fgdata


The download_and_compile.sh script needs to be edited to use that call. Otherwise, it will fail.

I am now running 2019.2.0. I'll take a lap around the Caribbean to see how well it works.

It was fun until I tried to use the Garmin GPS. I'm back to V2018.3.1. It is difficult to fly the Twin Otter without the Garmin 196 GPS.

After the upgrade, the text is white on a white background. I'm trying to find where I can select another text color.

Edit: Back to 2019.2.0. Turned off Garmin light, and as long as the GPS is in the shade, I can read it.
Last edited by Johan G on Mon Aug 12, 2019 3:57 pm, edited 1 time in total.
Reason: Split off from the topic "METAR not working". Quote instered for context.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1689
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: METAR not working

Postby wkitty42 » Sun Aug 11, 2019 4:11 pm

sounds like the OGSText coloration bug...

james on the dev mailing list; Message-Id: <D3396D2B-0CE6-490E-B32F-42174895B1F4@flightgear.org> wrote:It’s caused by OSG using a shader to render text now, but this bypasses the built-in emissive/diffuse/ambient material properties, which is what our <text> animation uses to set colours of text.

It should happen ‘everywhere’ that a shader is used to render text - Canvas doesn’t care about it since it sets the text color directly.


and this with a tiny bit more of an explanation of the problem... emphasis by me...

james on the dev mailing list; Message-Id: <3C5F07D9-869B-4955-8B71-F7D8691D110D@flightgear.org> wrote:[...] the OSGText one if more that the world is moving forwards, and our text-animation element has not. (Shaders required, can’t rely on OpenGL 1.1 built-in lighting)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9125
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: METAR not working

Postby SurferTim » Sun Aug 11, 2019 4:36 pm

Thanks, wkitty42. That sounds like it. I found where the text is inserted onto the canvas. I can change the size, but not the color (yet).

Only a few colors are affected. I started the Citation-X, and some of the instrument panel text is now white where it once was orange or red.

Edit: I like the new version. The mouse scroll wheel is now intuitive.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1689
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Mon Aug 12, 2019 10:25 pm

Since it has been split off, here is the "new" Garmin display in FG2019.2.0. It is set to go somewhere. You tell me where, and how far.
Image
In the daytime, it is as worthless as tits on a boar hog. Anybody have any idea how to fix this? It was fine in 2018.3.1
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1689
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Tue Aug 13, 2019 9:18 am

Definitely looks like OSGText colour, it's nothing to do with FlightGear but with OSG as already said. To fix use FlightGear's own mirror:

https://github.com/zakalawe/osg/tree/fgfs-342-1

And re-compile.
Make sure you use that branch, fgfs-342-1.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Tue Aug 13, 2019 12:25 pm

Nice try, but no cigar. All builds went well, but the Garmin is still unusable.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1689
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Tue Aug 13, 2019 12:44 pm

Could you try git remote -v and git branch and tell me the results on the openscenegraph repostiory? Sounds like you still have the wrong one...
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Tue Aug 13, 2019 12:47 pm

What version of OSG should show with
apt-cache policy openscenegraph

BTW I downloaded the OSG zip file from the link you posted. Unpacked and followed the instructions. Pretty straightforward.

Edit: Why is this only affecting the Garmin standalone 196 GPS? Nothing else on the panel seems any different than FG2018.3.1.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1689
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Tue Aug 13, 2019 12:58 pm

Did you rebuild FlightGear and SimGear with the new OSG?
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Tue Aug 13, 2019 1:02 pm

legoboyvdlp wrote in Tue Aug 13, 2019 12:58 pm:Did you rebuild FlightGear and SimGear with the new OSG?

I used
Code: Select all
./download_and_compile.sh FGFS

It appeared to rebuild SIMGEAR and FGFS

I do notice new warning messages on the terminal about "osg::clone"

Edit: Just to repeat my comment above, the only instrument affected on the Twin Otter is the Garmin 196. The rest of the panel looks fine.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1689
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby Alant » Tue Aug 13, 2019 2:05 pm

AFAIK, this bug affects other aircraft with glass cockpits.
Alant
 
Posts: 1219
Joined: Wed Jun 23, 2010 6:58 am
Location: Portugal
Callsign: Tarnish99
Version: latest Git
OS: Windows 10/11

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Tue Aug 13, 2019 2:23 pm

Alant wrote in Tue Aug 13, 2019 2:05 pm:AFAIK, this bug affects other aircraft with glass cockpits.

OK, a glass cockpit? I'm not familiar with that term.

It has affected a lot of text on the Citation-X panel, but apparently not all.

Any idea how to fix it?
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1689
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby wkitty42 » Tue Aug 13, 2019 3:58 pm

load up the Zeppelin NT and look at the bottom center console... see if it has all white letters or not...

"glass cockpit" is the new stuff with all/mostly digital instruments...

as for how to fix it, if you are talking about the white letters, as previously noted, you have to build FG with the FG version of OSG or the craft's instrument that is affected has to be rewritten to use canvas and set the color via the canvas methods...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9125
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Unreadable white text on white background on Twin Otter

Postby Maerchenprinz » Tue Aug 13, 2019 4:01 pm

Hi Tim!

First of all,
Code: Select all
download_and_compile.sh FGFS

compiles flightgear, and
Code: Select all
download_and_compile.sh SIMGEAR

compiles simgear.
Second, a glass cockpit is the opposite of a clock museum :P!

Ciao,
Adrian
User avatar
Maerchenprinz
 
Posts: 306
Joined: Thu Mar 15, 2007 6:24 pm
Location: Bochum, it's better, much better than you think!
Callsign: Adrian

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Tue Aug 13, 2019 4:36 pm

I did all that more than once.

There are two ways of getting contrast. One can change the color of the text, or...
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1689
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Next

Return to Graphics

Who is online

Users browsing this forum: No registered users and 0 guests