Board index FlightGear Support Installation

(FIXED) What are these bugs, and how do I get rid of them?

Need help getting up and running? Installing FlightGear, add-on planes, sceneries etc.
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?

Please, also see Requesting Technical Help.

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.

(FIXED) What are these bugs, and how do I get rid of them?

Postby FighterAce » Sun Jul 16, 2017 7:42 pm

FlightGear Community,

I have a problem. When I use FlightGear 2017.1, I have noticed that at the final approach of each runway there are red side bars leading up and away from the runway, possibly visual ILS indicators or something, but they keep getting in the way when I want to take a screenshot or video, plus they take away some realism. Also, since version 2017.2 and up there has been a problem with the trees where they appear as 2D sprites with a green background. I have uploaded a few photos of the red bars and trees that I am talking about. Does anybody know what these bugs are and how I can fix them? Thanks,

-FighterAce

Image
Image
Image
Image
Last edited by FighterAce on Mon Jul 17, 2017 1:42 am, edited 1 time in total.
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: What are these bugs, and how do I get rid of them?

Postby icecode » Sun Jul 16, 2017 8:01 pm

The red side bars are the glide slope. You can toggle it on or off in the menu: View->Toggle Glide Slope Tunnel.
icecode
 
Posts: 710
Joined: Thu Aug 12, 2010 1:17 pm
Location: Spain
Version: next
OS: Fedora

Re: What are these bugs, and how do I get rid of them?

Postby FighterAce » Sun Jul 16, 2017 8:06 pm

Thanks so much, Icecode GL! Any idea about the trees?
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: What are these bugs, and how do I get rid of them?

Postby icecode » Sun Jul 16, 2017 8:13 pm

For some reason they don't have transparency. You are on a Mac so it's probably because of your graphics card/driver. Try setting the shader quality slider to 0 and see if it makes any difference. If not, I'm not too sure about what might be the problem here.
icecode
 
Posts: 710
Joined: Thu Aug 12, 2010 1:17 pm
Location: Spain
Version: next
OS: Fedora

Re: What are these bugs, and how do I get rid of them?

Postby FighterAce » Sun Jul 16, 2017 8:29 pm

Okay, I will reluctantly try that. Wish that I could keep shaders and transparent trees. Yeah, I am running FlightGear on a MacBook Air, so that may be the problem.
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: What are these bugs, and how do I get rid of them?

Postby FighterAce » Sun Jul 16, 2017 8:46 pm

OK, I turned off all of the shaders, and nothing changed. The trees are still the same. Any more ideas?
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: What are these bugs, and how do I get rid of them?

Postby FighterAce » Sun Jul 16, 2017 9:13 pm

I think I found the problem! When I turn anti-aliasing off, the trees become transparent again. Thanks for the help!
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: What are these bugs, and how do I get rid of them?

Postby wkitty42 » Sun Jul 16, 2017 9:46 pm

yuck, that's not nice... anti-aliasing removes the stair steps on sloped lines... look at the leading edge of your right wing in the first photo and you can see some there...

can you try 2017.2.1 and see if you still have these problems? there's a lot of work that goes on between releases and it is easily possible that your problems have been rectified...

Code: Select all
Version      Released
=====================
2016.4.4   1 Jan 2017
2017.1.3   4 Apr 2017
2017.2.1  22 May 2017
"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: 9165
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: What are these bugs, and how do I get rid of them?

Postby FighterAce » Sun Jul 16, 2017 11:27 pm

Yeah, I agree. I used 2017.2 for the first photo, with anti-aliasing at 4x. When I turned anti-aliasing to off, the tree problem went away. I have no idea why I can't have normal trees and anti-aliasing at the same time, but I would rather have regular-looking trees than green blobs. LOL
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: (FIXED) What are these bugs, and how do I get rid of the

Postby Thorsten » Mon Jul 17, 2017 7:18 am

The AA flag is used to select between two different techniques for tree rendering - if you have AA, trees are done using alpha to coverage (aka, the shader doesn't represent 50% transparent as a 50:50 mixture of colors but as a solid surface with 50% holes in it - looks more plausible for representing leaves and needed to run tree shadows, but something in there is apparently isn't supported by your driver.

You can have AA and your working trees by opening

Effects/tree.eff

and commenting out /removing the blocks

Code: Select all
 <technique n="3">
    <predicate>
      <and>
        <property>/sim/rendering/shaders/skydome</property>
        <property>/sim/rendering/random-vegetation</property>
        <property>/sim/rendering/multi-sample-buffers</property>
   <property>/sim/rendering/random-vegetation-shadows</property>
   <less-equal>
           <value type="float">1.0</value>
      <float-property>/sim/rendering/multi-samples</float-property>
        </less-equal>
   <extension-supported>GL_ARB_shader_objects</extension-supported>
   <extension-supported>GL_ARB_shading_language_100</extension-supported>
(...)
lots of stuff
(...)
</technique>


and possibly

Code: Select all
  <technique n="4">
    <predicate>
      <and>
        <property>/sim/rendering/shaders/skydome</property>
        <property>/sim/rendering/random-vegetation</property>
        <property>/sim/rendering/multi-sample-buffers</property>
           <less-equal>
(...)
lots of stuff
(...)
</technique>


Here n=3 does tree shadows and alpha to coverage, n=4 does only alpha to coverage and n=5 does the basic trees for ALS.

Before you mutilate the file, check the tree shadow setting though - maybe all you need to do is not use shadows.

Also, there may be an error message in the console/log file when the trees do not work - if so we'd like to know what it says.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: (FIXED) What are these bugs, and how do I get rid of the

Postby FighterAce » Mon Jul 17, 2017 4:44 pm

Okay, we will see if I get around to trying this.
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: (FIXED) What are these bugs, and how do I get rid of the

Postby condab » Sat Jul 22, 2017 6:06 am

+1, On a Mac and have never had this problem with previous versions, could well be a Mac specific thing, but by no means is hardware/software incapabilities.

Will try out your suggestion Thorsten.
Callsign: DAL049 or AAL049
Aircraft I Fly: EC130, EC135, 777, 787, Grumman F-14B, Piper PA-34 Seneca II, Piper PA-32 Cherokee Six, Piper PA-28 Cherokee Warrior II, Piper PA-24 Comanche 250, Piper PA-18 Super Cub, Cessna 172P Skyhawk
User avatar
condab
 
Posts: 9
Joined: Wed Sep 10, 2014 12:49 am
Location: Sydney, Australia
Callsign: condab / DAL049
IRC name: condab / treefrog
Version: 2017.2.1
OS: Mac OS X 10.11.6


Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests