Board index FlightGear Support Graphics

3D Cloud bug: spurious rectangles

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.

3D Cloud bug: spurious rectangles

Postby MRC01 » Sun Feb 05, 2017 10:06 pm

Screenshot:
http://mclements.net/Mike/flightgear-3dcloud-bug.png

I've been running Flightgear for years on Ubuntu, no problems. Recently upgraded to version 4.4 and got a new graphics card, and now 3D clouds are rendering incorrectly.

Ubuntu 16.04
Flightgear 4.4
Nvidia GTX 1050 with binary drivers "nvidia-378'
Problem occurs with all aircraft, all airports, both 1.0 and 2.0 scenery.
No obvious problems in the Flightgear logs.
command line: fgfs --airport=kbfi --aircraft=Long-EZ --enable-fullscreen --aspect-ratio-multiplier=1.6
This problem happens both with & without Atmospheric Light Scattering

Console shows some possibly related errors:
Texture file not found: '/Models/Weather/nimbus_sheet1.rgb'
Texture file not found: '/Models/Weather/nimbus_sheet1.rgb'
Texture file not found: '/Models/Weather/cumulus_sheet1.rgb'
Texture file not found: '/Models/Weather/cumulus_sheet1.rgb'
Texture file not found: '/Models/Weather/congestus_sheet1.rgb'
Texture file not found: '/Models/Weather/congestus_sheet1.rgb'
Texture file not found: '/Models/Weather/congestus_sheet2.rgb'
Texture file not found: '/Models/Weather/congestus_sheet2.rgb'
Texture file not found: '/Models/Weather/cirrocumulus_sheet1.rgb'
Texture file not found: '/Models/Weather/cirrocumulus_sheet1.rgb'
Texture file not found: '/Models/Weather/stratus_sheet1.rgb'
Texture file not found: '/Models/Weather/stratus_sheet1.rgb'

This graphics bug is unique to Flightgear. This graphics card works flawlessly in all other apps including Steam games that use the OpenGL drivers: Trine, Portal, The Long Dark, and many others.
MRC01
 
Posts: 11
Joined: Sun Feb 05, 2017 9:48 pm
Callsign: 1185F
Version: 2016.4.4
OS: XUbuntu 16.04

Re: 3D Cloud bug: spurious rectangles

Postby stuart » Sun Feb 05, 2017 10:47 pm

Hi MRC01,

That is very puzzling indeed. The screenshot shows that at least _some_ 3d clouds are loading, but not others.

Do you get the same error using Detail Weather (from Environment->Weather dialog)?

-Stuart
G-MWLX
User avatar
stuart
Moderator
 
Posts: 1629
Joined: Wed Nov 29, 2006 10:56 am
Location: Edinburgh
Callsign: G-MWLX

Re: 3D Cloud bug: spurious rectangles

Postby MRC01 » Sun Feb 05, 2017 10:48 pm

Here's the fix:
I recently switched to the new set of Models. Fortunately, I kept the old ones. The above missing files are in the old models but not the new ones. I created a new set of Models that starts with the old ones, then copies the new ones on top of, in place. Any that were in both, use the new version, but the old ones are retained.
It's a bit sloppy but it works. I thought the new Models file was supposed to be complete and supersede the old. Apparently not.
MRC01
 
Posts: 11
Joined: Sun Feb 05, 2017 9:48 pm
Callsign: 1185F
Version: 2016.4.4
OS: XUbuntu 16.04

Re: 3D Cloud bug: spurious rectangles

Postby Thorsten » Mon Feb 06, 2017 7:31 am

Could you elaborate on what you mean by 'switched to the new set of Models'? Do you mean static/shared scenery models? They don't contain any clouds and are definitely not intended to replace the Models/ directory.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: 3D Cloud bug: spurious rectangles

Postby MRC01 » Mon Feb 06, 2017 5:11 pm

My $FG_ROOT has a directory called "Models". I downloaded a file called "SharedModels.tgz", which I thought was a newer version of that. I expanded it into a new Models directory, pointing $FG_ROOT to that. When I ran Flightgear I got the error described here. Apparently, the 3D clouds are in the models and the new models has some of the 3D clouds, but not all of them.
So, I created a 3rd Models directory which starts with my old Models, then expanded these new ones into the same location.
Now I have 3 models directories, can point Flightgear to any of them:
The old one
The new one
The mix (old + new, in that order)
MRC01
 
Posts: 11
Joined: Sun Feb 05, 2017 9:48 pm
Callsign: 1185F
Version: 2016.4.4
OS: XUbuntu 16.04

Re: 3D Cloud bug: spurious rectangles

Postby Thorsten » Mon Feb 06, 2017 6:48 pm

Okay, thanks.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am


Return to Graphics

Who is online

Users browsing this forum: No registered users and 6 guests