1
0
Fork 0
Commit graph

10330 commits

Author SHA1 Message Date
Fernando García Liñán
f5bc6df9fb HDR: Use a reversed depth buffer to increase precision and avoid Z-fighting 2021-08-17 20:58:48 +02:00
Yves Tolosa-Joas
8304298146 Added missing <heavy> tags 2021-08-17 09:10:43 +01:00
Fernando García Liñán
f16372ac7e HDR: Add property to show debug views of the GBuffer 2021-08-16 21:51:37 +02:00
Fernando García Liñán
13df616ca6 HDR: Support glTF models 2021-08-16 17:10:01 +02:00
Yves Tolosa-Joas
d1b7bd154f Removed Deprecated LAN & TAM Aircrafts and Liveries now replaced by LATAM 2021-08-16 12:03:19 +01:00
Yves Tolosa-Joas
186beaa644 Conslidated and Updated LATAM traffic to observed traffic for week of 02 AUG 2021 2021-08-16 12:03:18 +01:00
Fahim Imaduddin Dalvi
81af0f37c2 Shader-based scenery lights.
This commit implements shader-based scenery lights with support for
efficient rendering of a large number of lights, animations and
directionality. Detailed commit log can be found at [1]. Detailed
discussions can be found on the mailing list [2][3][4].

[1] https://sourceforge.net/u/fahimdalvi/fgdata/ci/feat/scenery-shader-lights/~/tree/
[2] (Timed animation stops working in certain configurations) https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/4A7AC359-63B3-4D8A-815B-09823BCEFF27%40gmail.com/#msg37095923
[3] (Shader-based scenery lights) https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/63E3C131-7662-4F59-B2E6-03208C78EF96%40gmail.com/#msg37190517
[4] (Shader-based scenery lights Part 2) https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/74F18179-CA34-4901-A44E-15498ECC230A%40gmail.com/#msg37331695
2021-08-07 21:42:20 +03:00
Delta Echo
704ded6d7f FLARM: Improve Startup logic to better handle power outage during startup 2021-08-07 18:24:20 +02:00
Florent Rougon
94b89d9971 i18n: update the French translation
- Take the last FlightGear-Qt.xlf from branch 'release/2020.3'. The
  translation is complete from the point of view of Qt Linguist, but the
  FlightGear-Qt.xlf files need some refreshing from the C++ and QML
  sources.

- Translate remaining strings in FlightGear-nonQt.xlf.
2021-08-05 10:01:04 +02:00
Roman Ludwicki
a70e54fe10 i18n: update the Polish translation (the nonQt part) 2021-08-04 19:12:20 +02:00
Florent Rougon
d67feb5ef1 i18n: refresh the FlightGear-nonQt.xlf files
Propagate changes (walker-related, from the previous commit) in the
default translation to all FlightGear-nonQt.xlf files.
2021-08-04 10:20:04 +02:00
PlayeRom
d16aac9bbc Add "Walker" menu to translations 2021-08-04 10:18:30 +02:00
Florent Rougon
e634f37c82 i18n: refresh the FlightGear-nonQt.xlf files
Propagate changes in the default translation to all FlightGear-nonQt.xlf
files.
2021-08-04 00:05:34 +02:00
Florent Rougon
269c6d0722 i18n: add 3 new translatable strings to Translations/default/menu.xml
Add new translatable strings: earthview, volcanoes, ai-objects.
2021-08-04 00:04:49 +02:00
Florent Rougon
55171d2618 i18n: fix broken file 'Translations/de/FlightGear-nonQt.xlf'
Only one 'target' child per 'trans-unit' element is allowed.
2021-08-04 00:04:13 +02:00
Julian Smith
23374fb50e defaults.xml: enable CompositeViewer by default.
We set /sim/rendering/composite-viewer-enabled to true.
2021-08-03 09:39:50 +01:00
Yves Tolosa-Joas
b04ea75752 Updated American Airlines fleets and traffic to schedule of 05-11 JUL 2021 2021-07-31 23:05:53 +01:00
Fernando García Liñán
e745684c33 HDR: Use a better DFG LUT
The previous one had 8 bit precision, this one has 16 bit precision and is stored on a DDS texture.
2021-07-31 19:13:19 +02:00
Fernando García Liñán
4d34115177 HDR: Increase maximum distance of aerial perspective 2021-07-31 19:13:19 +02:00
Fernando García Liñán
467468ef3a HDR: Improve exposure and bloom handling 2021-07-31 19:13:19 +02:00
Fernando García Liñán
526491790e HDR: Improve envmap pre-filtering 2021-07-31 19:13:19 +02:00
Fernando García Liñán
5c1c28c536 HDR: Improve PBR Effect 2021-07-31 19:13:19 +02:00
Fernando García Liñán
871654c16f HDR: Better handling of the Sun
Add transmittance to the Sun illuminance value to get correct colors at every time of day.
Also improved the Sun disk rendering.
2021-07-31 19:13:19 +02:00
Julian Smith
d1be26df65 gui/dialogs/flight-recorder.xml: added checkbox for continuous compression. 2021-07-31 10:29:45 +01:00
Julian Smith
5a4bc3fc53 Aircraft/Generic/MPCarriers.nas: added support for always tying AI and MP carriers together.
We tie MP and AI carrier together if /sim/mp-carriers/latch-always is true.

This is done by setting /ai/models/carrier[]/ai-latch to the
/ai/models/multiplayer path containing the corresponding Multiplayer
information. C++ code will detect this and copy across the position and
orientation each frame.
2021-07-31 10:29:45 +01:00
Fernando García Liñán
46b1cd62f7 Fix shadows on Mac OS 2021-07-29 15:49:43 +02:00
Fernando García Liñán
a00f7ddfaf HDR: Fix Earth appearing to be "rounder" than normal
We have to compensate for the fact that the sky-view LUT contains the view from the camera, but the skydome remains fixed on the ground.
2021-07-29 11:55:01 +02:00
Fernando García Liñán
af29642423 HDR: miscellaneous changes
- Add an utility linearizeDepth function to help visualize the depth buffer for debug purposes.
- Use 'color0' instead of 'color' for all color attachments.
- Do not write to the HDR buffer if a fragment doesn't need shading (depth = 1).
2021-07-29 08:45:17 +02:00
Fernando García Liñán
760db3ba6d HDR: gracefully handle situations where the viewer is below the ground 2021-07-28 11:37:33 +02:00
Fernando García Liñán
9b9ae5cf38 HDR pipeline: even better atmospheric scattering
Implementation of "A Scalable and Production Ready Sky and Atmosphere Rendering Technique" by Sébastien Hillaire (2020).
2021-07-28 09:40:04 +02:00
Fernando García Liñán
016585e176 HDR pipeline: Use MRT to prefilter the environment map 2021-07-26 17:21:20 +02:00
Fernando García Liñán
873ae6b3d5 Add clear masks to all compositor passes 2021-07-26 17:21:20 +02:00
James.Hester
c6b526f343 Create overlay mixing scales based on texture scale. 2021-07-26 11:13:00 +01:00
Fernando García Liñán
9eaef501c7 HDR pipeline: a lot of improvements to atmospheric scattering 2021-07-26 12:11:37 +02:00
Stuart Buchanan
0a9a0527aa FG1000 - Architecture diagram 2021-07-25 20:43:02 +01:00
Fernando García Liñán
d58ab0d82c Change all Compositor passes implicit attachments
The default implicit attachments are color and depth now.
2021-07-24 19:23:10 +02:00
Fernando García Liñán
1215f1eba2 HDR pipeline: add placeholder shaders for WS 3.0 2021-07-24 13:35:53 +02:00
Fernando García Liñán
784c89dd61 HDR pipeline: do not use the r11g11b10f format
Not every GPU supports it under a compatibility context. This is an optimization to reduce bandwidth anyway, so we should be fine using rgb16f for now.
2021-07-24 07:04:39 +02:00
Fernando García Liñán
96313e7eb0 Initial commit of the HDR pipeline 2021-07-23 07:46:05 +02:00
Stuart Buchanan
1732f1339f FG1000: EIS Battery current display 2021-07-05 17:12:34 +01:00
Stuart Buchanan
3239f8664e FG1000: Add CHT to C182T EIS display 2021-07-05 16:24:59 +01:00
Yves Tolosa-Joas
a7cbaf4f97 Updated Fleet and Traffic for AirBridgeCargo 2021-06-29 10:37:28 +01:00
Yves Tolosa-Joas
47708c7154 Updated Traffic an Liveries for Copa Airlines of Panama 2021-06-27 19:48:39 +01:00
Julian Smith
86402a0c92 gui/dialogs/multiplayer.xml: added mpcarrier-latch-always.
If set, AI carriers are always latched to MP carriers.
2021-06-25 10:59:53 +01:00
Richard Harrison
d9ffc50011 MP Carrier fixes for loading
Generally this change proves that we probably don't need the MPCarrier model on the target system - because by using the fallback model to load the Nasal this will happen without needing the high detail models at all.

To support this :

- Added fallback models for all carriers (defined as AI scenarios)
- Added logic to fallback models so that MP carriers load correctly
- The model will still be the AI model.
- MPCarriers.nas from MPCarrier/systems now in Aircraft/Generic
2021-06-22 23:40:20 +02:00
legoboyvdlp R
a23313176c Add turbojet fan sound by Bjoern K; edited to remove pops/cracks 2021-06-18 12:58:09 +01:00
Fernando García Liñán
d15b61e9b5 Reorganize the shadow mapping functions
- Removed the multiple return statements, as they can be problematic with older GLSL 120 compilers
- Removed debug flags
- Moved code to separate functions for readability
- Reduced the band size to 0.1 to make more use of the higher quality cascades
2021-06-17 18:18:27 +02:00
Julian Smith
de40bf5f94 gui/dialogs/replay.xml: in slider, measure time from start of recording.
This avoids problems in simple-time mode because PUI slider code uses float,
not double, so UTC values don't work properly because resolution is not enough.
2021-06-09 10:44:11 +01:00
Richard Harrison
63debb7d63 Carriers: fix dialog nasal
Prevent nil dereference when empty nodes do not have a valid name node.
2021-06-05 16:18:58 +02:00
Richard Harrison
2b11545fdf Added tests for Nasal frame utils 2021-06-05 16:18:04 +02:00