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.

Re: Unreadable white text on white background on Twin Otter

Postby V12 » Mon Sep 09, 2019 6:46 pm

Yes, I did it. It was second step step. First was sudo apt-get install git because XUBUNTU 19.04 has not git in default install.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1568
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: Unreadable white text on white background on Twin Otter

Postby SurferTim » Mon Sep 09, 2019 7:09 pm

My new A32X is still the same. All the other a/c I use seems ok.
Fly low, fly slow, land on a dime. Twin Otter.
SurferTim
 
Posts: 344
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Unreadable white text on white background on Twin Otter

Postby V12 » Mon Sep 09, 2019 7:42 pm

Looks like that below ?
Last edited by V12 on Mon Sep 09, 2019 8:27 pm, edited 1 time in total.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1568
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: Unreadable white text on white background on Twin Otter

Postby V12 » Mon Sep 09, 2019 8:26 pm

Compiled on other machine with LUbuntu 19.04 and found that IDG Airbus has white numbers on AP panel, night lighting is OK :

Image

but Concorde is flawless :

Image
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1568
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Tue Sep 10, 2019 4:57 pm

If you have white text you still have the wrong OSG I'm afraid.
User avatar
legoboyvdlp
 
Posts: 7091
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby V12 » Wed Sep 11, 2019 11:58 am

FGFS - Help - About said, that my OSG version is 3.4.2 :

Image

I don't know where is problem, because Concorde's INS instruments uses TEXT and its color is OK. Here is code for one of INS's data display :

Code: Select all
 
<animation>
  <name>text track</name>
  <object-name>left text track</object-name>
  <object-name>right text track</object-name>
</animation>

<text>
  <name>left text track</name>
  <type type="string">number-value</type>
  <property alias="../../params/display-left"/>
  <format type="string">%5.2f</format>
  <draw-text type="bool">true</draw-text>
  <font>led.txf</font>
  <character-size type="double">0.011</character-size>
  <character-aspect-ratio type="double">1.0</character-aspect-ratio>
  <font-resolution>
   <width type="int">32</width>
   <height type="int">32</height>
  </font-resolution>
  <alignment>left-center</alignment>
  <axis-alignment>yz-plane</axis-alignment>
  <offsets>
   <pitch-deg>-90</pitch-deg>
   <x-m>-0.044</x-m>
   <y-m>-0.056</y-m>
   <z-m> 0.007</z-m>
  </offsets>
</text>

<animation>
  <type>material</type>
  <object-name>text track</object-name>
  <emission>
   <red>1.0</red>
   <green>0.7</green>
   <blue>0.0</blue>
   <factor-prop alias="../../../params/ins-light"/>
  </emission>
  <ambient>
   <red>1.0</red>
   <green>0.7</green>
   <blue>0.0</blue>
   <factor-prop alias="../../../params/ins-light"/>
  </ambient>
  <diffuse>
   <red>1.0</red>
   <green>0.7</green>
   <blue>0.0</blue>
   <factor-prop alias="../../../params/ins-light"/>
  </diffuse>
</animation>



With FG2018.3.1 is text yellow (OK), in FG2018.3.2 is white (wrong), similar with 2019.2.0 nightly build. With D/C builded FG2019.1.2 is yellow. Default FGADDON release with 2.5D cockpit has this texts yellow.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1568
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: Unreadable white text on white background on Twin Otter

Postby legoboyvdlp » Wed Sep 11, 2019 8:33 pm

Could you please run git branch on the OSG source folder in the console and post exactly which branch you used?

I can guarantee with 99% confidence it's due to having the wrong branch; otherwise it's a driver / configuration issue?
User avatar
legoboyvdlp
 
Posts: 7091
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Unreadable white text on white background on Twin Otter

Postby V12 » Wed Sep 11, 2019 9:00 pm

Problem solved !
In /usr/lib/x86_64-linux-gnu I found OSG 3.4.1 libraries. I deleted that files and Airbus again has nice numbers in AP panel.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1568
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: Unreadable white text on white background on Twin Otter

Postby wkitty42 » Thu Sep 12, 2019 3:36 am

if you are building from the dnc script, this should not have been a problem... my old ubuntu 14.04 system doesn't exhibit such... it has a really old OSG installed as well as a really old PLIB and other similar libs that FG uses... i always reconfigure when using dnc specifically to try to thwart these types of errors...
"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: 5695
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Unreadable white text on white background on Twin Otter

Postby V12 » Fri Sep 27, 2019 4:48 am

When someone will update D/C script on SF as described in lego's post ?

legoboyvdlp wrote in Fri Aug 16, 2019 6:44 pm:
1.

REPO_ADDRESS[OSG]="github.com/openscenegraph/osg.git"

becomes

REPO_ADDRESS[OSG]="github.com/zakalawe/osg.git"

2.

_gitUpdate OpenSceneGraph-3.4

becomes

_gitUpdate fgfs-342-1

Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1568
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: Unreadable white text on white background on Twin Otter

Postby wkitty42 » Fri Sep 27, 2019 1:04 pm

V12 wrote in Fri Sep 27, 2019 4:48 am:When someone will update D/C script on SF as described in lego's post ?

if/when someone gets around to it IF the change is accepted...

you can always modify your local copy... in fact, i copy the script to a file name of my own and modify it as i like... then i use a tool like meld to compare and allow me to merge in new additions and changes...
"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: 5695
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Previous

Return to Graphics

Who is online

Users browsing this forum: No registered users and 2 guests