1
0
Fork 0
Commit graph

9636 commits

Author SHA1 Message Date
Fernando García Liñán
916322d0ed Add clustered shading support to most Effects and shaders 2020-12-23 11:10:34 +01:00
Fernando García Liñán
7158dfdff3 Revert "Add clustered shading support to most Effects and shaders"
This reverts commit b3237e207a.
2020-12-22 17:22:05 +01:00
Slawek Mikula
0113e8c4ad Polish translation updates - next branch 2020-12-22 11:07:05 +01:00
Fernando García Liñán
b3237e207a Add clustered shading support to most Effects and shaders 2020-12-22 10:53:31 +01:00
Fernando García Liñán
a058bed4d5 (Another) significant rework of the clustered shading feature 2020-12-22 10:53:31 +01:00
Yves Tolosa-Joas
73d04548cd Added AI Traffic and Livery for Ibex Japan 2020-12-21 12:22:54 +00:00
Julian Smith
e890787975 defaults.xml: default /sim/mp-carriers/auto-attach to true. 2020-12-20 15:21:28 +00:00
Julian Smith
8fece7b553 defaults.xml: don't mark /sim/tower/auto-position as userarchive="y".
This property is set to false by ATC-ML, which then breaks tower view in
subsequent fligtgear runs for all aircraft It's tricky to figure out what has
happened, so best to not archive the setting in the first place.
2020-12-20 15:21:28 +00:00
Julian Smith
05ee53dea8 Allow control of whether to auto-attach to multiplayer carriers.
gui/dialogs/multiplayer.xml: added checkbox.

defaults.xml: default /sim/mp-carriers/auto-attach to false with
userarchive="y".

Multiplayer carrier auto-attach is implemented in
fgaddon/MPCarrier/Systems/MPCarriers.nas.
2020-12-18 20:19:37 +00:00
Stuart Buchanan
466b4e2915 FG1000: Stop attempted duplicate Emesary EIS reg 2020-12-17 22:45:56 +00:00
Stuart Buchanan
b46f5a90da FG1000: Improve Interface loading
Previously it was difficult to create custom EIS as paths
needed to be defined in multiple places.

This change creates a hash of id and paths to make this easier
in the future.
2020-12-17 22:44:08 +00:00
Stuart Buchanan
f8e1bb2e6e Emesary: Improve error messages 2020-12-17 22:42:42 +00:00
James Turner
0d546f5384 KAP140: improve locking to GS/LOC signals
Patch from Benedkit Hallinger:

This patch introduces a check for valid VOR/LOC as well as GS signals, 
and only if they are valid they will be catched.

See: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-17 10:26:00 +00:00
Yves Tolosa-Joas
f1838fb7fe Added AI Livery and traffic for ANA Wings 2020-12-17 10:23:05 +00:00
Fernando García Liñán
987a195c0c Add an UI button to force reloading of all Compositor instances 2020-12-17 06:37:24 +01:00
James Turner
c1d1932e5d Menubar auto-hide when leaving normal mouse mode.
Patch from Michael Danilov: when auto-hide of the menubar is enabled,
tigger the hide when we enter (via tab) mouse-flight-controls or 
mouse-look mode, since the menubar is not accessible in these modes
anyway.
2020-12-12 16:42:39 +00:00
Stuart Buchanan
ba89f4c153 WS30: Improved material atlas
Add
- texture size
- shininess
- diffuse
- specular

from material.xml into the fragment shader via sampler1D.
2020-12-08 21:15:13 +00:00
Michael Danilov
1052addd23 Mouse: setting for flight controls sensitivitiy. 2020-12-08 15:10:36 +01:00
Fernando García Liñán
00b465b84f Decrease shadow mapping bias and better 3rd cascade depth range 2020-12-06 14:44:03 +01:00
Stuart Buchanan
3e3593119c WS30: Shader change to use texture atlas
These changes use the generated Texture2DArray for
texture lookup, supporting arbritary sets of material
textures.
2020-12-05 13:11:59 +00:00
Stuart Buchanan
d73b9d8128 WS30 Add transparency to primary material textures
The texture array used by WS30 requires that all
component textures be the same size and format.

This commit adds an alpha channel to those
png file used as primary textures in materials.xml
files which did not have one.
2020-12-05 12:46:06 +00:00
Erik Hofman
908c60a6aa Add a description of the red channel 2020-12-04 09:27:23 +01:00
Fernando García Liñán
3f489619c5 Fix landmass geometry shader errors
It was using features from GLSL 120 and 150. Only use 120 features for now.
2020-12-03 23:24:40 +01:00
Fernando García Liñán
6a15207b42 Fix taxiway flickering at lower shader quality levels 2020-12-03 19:25:01 +01:00
James Turner
3943fcb9cc Data files for graphics-presets 2020-11-30 15:15:16 +00:00
Yves Tolosa-Joas
60de4470cd Removed fligts to EGEL (Helicopter only in FG outdated APT DAT) 2020-11-30 10:54:02 +00:00
Eatdirt
f8fd14b257 Install a GalacticJet(TM) supercharger kit on the UFO to have a better look to the moon 2020-11-30 10:53:15 +00:00
Eatdirt
b005ac0b5a Import slightly larger moon texture 2020-11-30 10:53:09 +00:00
Stuart Buchanan
2fdb17a214 Checklist: <and> multiple entries in <condition>
Previously a <condition> block was assumed to contain
a single child, and other children were ignored, largely due to the PUI code.

Most developers would expect multiple children to be evaluated
as if surrounded by an <and> block, which is how the tutorial code
behaves.

This change wraps the children in an <and> making it consistent.
2020-11-29 19:39:20 +00:00
Stuart Buchanan
78f72a5ec3 WS30: Landclass to material map in materials.xml
Initial mapping of landclass to material names based
on CORINE.
2020-11-29 19:31:31 +00:00
Yves Tolosa-Joas
27ac97de24 Added European Air Transport Leipzig traffic file by Stefan 2020-11-29 16:03:05 +00:00
Julian Smith
536275fa38 gui/dialogs/about.xml: improved Help-About-Copy to Clipboard.
Copy all properties mentioned in the dialogue, e.g. including OSG version, and
also include full property path.
2020-11-25 22:46:38 +00:00
Julian Smith
da01eab6c1 Grey-out CompositeView menu items if CompositeView not enabled.
Thanks to Michael Danilov for explanation of how to do this.

Also removed spurious hot-key text from CompositeView menu items.
2020-11-24 13:39:21 +00:00
Scott Giese
5512934374 Photoscenery: patch to fix missed merge items.
Author: Nathaniel Warner
2020-11-23 20:55:30 -06:00
Scott Giese
76f7f1b698 Photoscenery: Initial commit
Author: Nathaniel Warner
2020-11-23 19:48:01 -06:00
Erik Hofman
580e1d4859 Keep the Köppen climate class in the red channel and add the ground eleveation in the green channel. 2020-11-22 15:02:40 +01:00
Julian Smith
6db71f789c Added -h help text for --composite-viewer option. 2020-11-22 08:22:44 +00:00
Stuart Buchanan
2a30377124 WS3.0: Remove Effect dependence on ALS.
For the moment, as we have only one technique, stop it from
only being active if ALS is active.
2020-11-21 22:07:40 +00:00
Chris Frey
4a4e9089c1 Docs: fixed incorrect terragear URL in FlightGear-FAQ.html 2020-11-21 21:35:40 +00:00
Chris Frey
50c76ec338 Docs: fixed incorrect terragear URL in README.scenery 2020-11-21 21:35:25 +00:00
Julian Smith
f280f0a423 Added support to View menu for CompositeViewer. 2020-11-21 12:18:18 +00:00
Julian Smith
eebf07d9f6 Add user control of whether mouse controls elevator when left button is down.
defaults.xml
    Set new property /sim/mouse/mouse-rudder-elevator to false, but with
    userarchive="y".
gui/dialogs/input-config.xml
    Added checkbox to control /sim/mouse/mouse-rudder-elevator.
mice.xml:
    Allow mouse control of elevator with button 0 down if
    /sim/mouse/mouse-rudder-elevator is true.
2020-11-21 12:18:18 +00:00
Scott Giese
a150e89e9b Index out of range (-1) 2020-11-21 02:12:39 -06:00
Scott Giese
c874567679 Local weather: setprop() passed a NaN in local_weather/weather_tiles.nas, line 2795
Tiecket: #2423
2020-11-21 02:12:02 -06:00
James Turner
f125b75429 Joystick-config: fix ToggleButton, add AP-DISC
Fix the created binding for toggle buttons.

Add autopilotDisconnect helper to controls.nas, and expose the new
function in the joystick configurator dialog. 

Fixes from Henning Stahlke
2020-11-19 21:17:51 +00:00
Stuart Buchanan
d315d69530 Make ufo invisible over MP again
Before fallback models were introduced, the ufo
was invisible to other MP pilots that were not in a
ufo themselves.

When fallback models were introduced, at long range
the ufo was replaced by the glider model, and so became
visible.

This change makes it invisible again by using the ufo as its
own fallback model.  This is safe because the ufo model is
very lightweight and also shipped with fgdata.
2020-11-19 19:34:45 +00:00
Stuart Buchanan
a56d13640d Hide pilot model when walker enabled.
Previously pilot models would stay visible when the
walker was active.  Which is a bit unrealistic given
the walker is supposed to be "you" in some way.

So now the internal pilot is hidden when the walker
is active outside the aircraft.

Fix provided by Benedikt Hallinger
2020-11-19 19:03:07 +00:00
Stuart Buchanan
010bd8c145 Fix props.condition
Previously props.condition threw an error if any of the
properties in the condition were not defines.  This is
contrary to the behaviour of SGCondition, which it seeks
to emulate, which considers such undefined properties as
having the value 0.0.

Now this is the case.

This function only appears to be used by tutorials.nas,
where this behaviour was seen as discrepancy between
the checklist <condition> behaviour and the tutorial
<condition> behaviour.

See https://sourceforge.net/p/flightgear/codetickets/2394/?page=1
2020-11-19 18:44:00 +00:00
Stuart Buchanan
37110ad34a TREE_LIST documentation updates
Thanks to Rick Gruber-Riemer for proof-reading.
2020-11-19 14:22:58 +00:00
Pablo Barrio
dbc7fc7827 Translate missing items from the main menu to Spanish 2020-11-18 10:30:32 +00:00