1
0
Fork 0
Commit graph

40 commits

Author SHA1 Message Date
Lars Toenning
713149ceb6
Update replay dialog 2020-03-25 17:23:09 +01:00
Eatdirt
f0a23d6ab1 Implement Earthview tiles loading based on visibility in spherical geometry 2020-03-23 23:47:31 +01:00
Fernando García Liñán
dd2ac0a32e - Changed location of Compositor pipelines.
- 1-bit transparency for shadow mapping.
- Several effects ported to the Compositor.
- Miscellaneous fixes to Compositor Effects.
2020-03-22 17:27:12 +01:00
Julian Smith
0c711dbbf6 defaults.xml: set new eye-fixed flag in tower and fly-by views. 2020-03-16 21:12:05 +00:00
Henning Stahlke
4108652c94 remove unnecessary userarchive flags from defaults.xml 2020-03-08 20:46:56 +01:00
Stuart Buchanan
8b6d523983 Fix directional lights for AMD
Some AMD drivers do not like triangles for point sprites, which
breaks directional lights.  This works around this by allowing
users to set /rendering/triangle-directional-lights=false which
falls back to the non-directional implementation of a point.
2020-02-19 20:21:33 +00:00
Henning Stahlke
c6e5244b13 update defaults.xml
add repair_config.nas to fix old userarchive flags
2020-02-15 14:39:36 +01:00
Stuart Buchanan
8f464825c7 Fix Nasal failures on clean install.
Previously not all Nasal modules were defined in defaults.xml.  This
meant that the first time FlightGear was run it was possible for
Aircraft Nasal files to reference a module that had not been loaded yet.

This commit simply defines all the Nasal modules ahead of time and loads
them, so all modules are available for Aircraft Nasal files
immediately.
2019-12-18 19:05:35 +00:00
Julian Smith
c80059ba53 Removed Model View so that Tower View AGL doesn't alter view numbers.
Due to Nasal/view.nas making a sequential copy of views, inserting new view
number 8 for Tower View AGL broke custom views, e.g. for aircraft 777).

We no longer require Model View (it's identical to Helicopter view now), so
this way we can have Tower View AGL without altering sequential view numbers.
2019-07-20 22:01:05 +01:00
Julian Smith
9822b8ff8c Added multiplayer support to Helicopter View and Tower View etc.
We remember the multiplayer aircraft so that when switching between views,
multiplayer views (currently Helicopter, Model, Tower and Tower AGL) show the
same aircraft.

Nasal/view.nas: use /orientation/true-heading-deg in Model view and Tower AGL
view. This avoids problem when looking at multiplayer aircraft because there is
no /ai/models/multiplayer[]/orientation/heading-deg

Nasal/view.nas: improved handling of sim/current-view/{x,y,z}-offset-m. Changed
resetViewPos() to set these all to zero, because view's offsets are now
kept separate. Also removed setting of /sim/current-view/z-offset-m to
chase-distance - this is the wrong place now that views define the offset
explicitly.

Also added Tower View AGL support.
2019-07-09 16:25:11 +01:00
Richard Harrison
7c914b4ade Added default settings for new Nasal background GC.
* /sim/nasal-gc-threaded (true) - use background threaded GC
* /sim/nasal-gc-threaded-wait (false) - at the start of the frame wait for the previous GC thread to complete.
2019-06-11 14:41:13 +02:00
Stuart Buchanan
5b9d5a3f79 Make Terrain the last scenery-path-suffix - future-proofing 2019-06-07 14:54:01 +01:00
Richard Harrison
7f69387abe Added defaults for the properties to control the AI traffic updates
Removed transmission-frequency-hz
2019-04-28 23:24:04 +02:00
Richard Harrison
4c6b103293 Add support for FGCom multiple radio support
PTT now in

/controls/radios/comm-ptt as an int; non zero indicates which comm radio to use

/comm-radio-selected is the default comm channel to use. This should usually be the same as will be set by PTT into /controls/radios/comm-ptt

NOTE: that PTT will switch the FG comm inbound and outbound frequency to whichever radio was PTT'd.
2019-03-19 21:16:33 +01:00
Thorsten Renk
7719bcee7c Enable 3dclouds by default 2019-01-14 13:45:30 +02:00
Richard Harrison
b66682cd7d Add texture-cache defaults 2018-11-25 22:50:36 +01:00
Richard Harrison
160abde2a6 LOD dialogs rework.
Big rework of the Adjust LOD ranges dialog to hopefully make it easier to understand, and harder to setup so that models aren't visible by accident.

All range entry is now via sliders.

The sliders are deltas from the previous value.

There is now the option to specifically choose either low detail or high detail AI/MP models. *NOTE* that for models without a fallback index the low detail model will be the blue yellow glider.

There is now clear indication of what happens for the Meters or Pixel modes.

Added a defaults button that will restore a reasonable set of default values.

The properties that were used have been renamed to ensure that sensible defaults will be picked, ideally we'd have a way to migrate things like this but I don't think we do, so this is a reasonable alternative.
2018-10-30 20:19:10 +01:00
Thorsten Renk
cce0fac2f8 ALS: New cloud rendering detail level with more dramatic Mie scattering at cloud fringes done inside fragment shader 2018-08-30 09:17:36 +03:00
Stuart Buchanan
7a8dc7d2d9 Fallback AI model list.
By setting /sim/model/fallback-model-index, an MP model
can transmit an index into the AI/Aircraft/fallback_models.xml
file which will be used if the aircraft model cannot be found
in other instances Aircraft or AI/Aircraft directories.
2018-07-27 18:39:53 +01:00
Stuart Buchanan
ab92707cfe Multiple LoD levels of MP Aircraft 2018-06-05 22:11:22 +01:00
Stuart Buchanan
9f9ea1cf8e Rendering options to set preferred MP model
GUI and default property for /sim/multiplay/use-detailed-models
to indicated if we prefer to use detailed models from Aircraft (true)
or simpler models from AI (false).
2018-05-28 20:56:28 +01:00
Richard Harrison
088ad8db3d MP lag adjustment.
Preparation for work on the synchronisation and lag prediction filters that jano has underway
2018-02-16 19:37:03 +01:00
Florent Rougon
96a5f8a8e3 Update comment in defaults.xml 2018-02-12 17:47:18 +01:00
Richard Harrison
8380519a46 Multiplay/Emesary: revised defaults for new properties for 2018.1
The multiplayer "transmit filter" defaulted to off, with the flag that indicates if this should be available on the MP dialgo to also be set to off
2018-02-04 17:12:44 +01:00
Thorsten Renk
d9e55dc2e5 Improvements to Earthview: enable changing cloud density, fix aurora z-ordering issue, let moonlight give a relief effect to clouds 2018-01-29 09:25:38 +02:00
Richard Harrison
5ca84cbfdf Revised classic theme to make it use better fonts and colours. 2017-09-18 00:48:20 +02:00
Bertrand Coconnier
b201b2ab51 Added the default values for the AI wake feature.
The feature is disabled by default. And when enabled the AI wake interaction is computed for aircraft closer than 5 nautical miles to the user aircraft.
2017-06-11 00:57:18 +02:00
Florent Rougon
6dd9f6e8d9 Remove /sim/navdb/localizers/auto-align and /sim/navdb/localizers/auto-align-threshold-deg from defaults.xml
/sim/navdb/localizers/auto-align and
/sim/navdb/localizers/auto-align-threshold-deg have no effect anymore,
remove them from defaults.xml.

FG doesn't use these properties anymore, since alignLocaliserWithRunway() was
removed. This follows the discussions at
<https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/87tw7sm5uw.fsf%40frougon.crabdance.com/#msg35673402>
and
<https://sourceforge.net/p/flightgear/flightgear/merge-requests/76/>https://sourceforge.net/p/flightgear/flightgear/merge-requests/76/>.
2017-06-07 14:09:38 +02:00
Thorsten Renk
8f7ab7e725 Volumetric grass effect for ALS utilizing a geomerty shader, based on work by Fernando Garcia Linan 2017-05-24 15:16:30 +03:00
Thorsten Renk
48768ee9d2 Earthview 2.1 - parallax mapping for cloud layer, lightning at night, Rayleigh scattering in atmosphere and minor bugfixes 2017-04-05 16:50:31 +03:00
Richard Harrison
e133785632 MP2017 protocol support.
Added defaults for new protocol
Modified multiplayer dialog to allow protocol selection.
2017-04-02 18:32:44 +02:00
Thorsten Renk
5181edd8cf ALS road shader: Allow to reverse traffic direction 2017-03-09 14:07:20 +02:00
Torsten Dreyer
66b4cd12b7 terrasync server should not be autosaved 2017-03-07 10:45:58 +01:00
Thorsten Renk
58ef0ce998 ALS road shader development 2017-03-06 12:21:54 +02:00
Thorsten Renk
662d782f98 Groundwork for ALS g-force blackout filter, WIP 2017-03-03 19:50:13 +02:00
Thorsten Renk
e1dcd3f38c Run urban shader in lightmap-only mode when either random or OMS buildings are enabled 2017-02-23 10:13:22 +02:00
James Turner
ea76305e42 Disable localizer auto-align for 2017.1 2017-02-18 08:08:45 -08:00
Stuart Buchanan
4fb25741a5 Enable FLite TTS by default, add UI to set. 2017-02-14 19:48:04 +00:00
Stuart Buchanan
b6e90b6976 Updated Rendering dialog, add scenery-path-suffix 2017-01-21 21:44:05 +00:00
James Turner
0565eaab10 Rename preferences.xml to ‘defaults’
This will hopefully make it clearer from now on what this file
actually does, and that it’s not supposed to be normally modified.

Requires a corresponding FG change of course,
2017-01-12 09:43:41 +00:00
Renamed from preferences.xml (Browse further)