1
0
Fork 0
Commit graph

10011 commits

Author SHA1 Message Date
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
Richard Harrison
000a484e8d Carriers: Added Admiral Kuznetsov and Liaoning
3d Models by Uxmanm (found by Domokos Jüttner)

Daniel Overbeck did added the AI scenarios and models.

Richard Harrison optimised the textures and 3d models,
added the dialogs to control the carrires and
made the Jet Blast Deflectors animate smoothly
2021-06-05 16:17:23 +02:00
Richard Harrison
ed89e16bda Multiplayer: Remove protocol compatibility from MP dialog. 2021-06-05 15:17:19 +02:00
Yves Tolosa-Joas
85d6c4599a Updated Traffic and Liveries for Delta Airlines 2021-06-03 12:00:04 +01:00
Yves Tolosa-Joas
45d33ad0b6 Remapped Belly & Updated Existing Textures 2021-06-03 12:00:04 +01:00
Yves Tolosa-Joas
5d1a0f1766 Corrected ICAO for Lauceston YMLT Airport 2021-06-03 12:00:04 +01:00
Julian Smith
768e11d0a6 Nasal/view.nas: Allow view to be changed by setting /sim/current-view/view-number-raw.
This avoids problems when/if new default views numbers (between 0 and 99) are
added.
2021-06-02 17:07:06 +01:00
Julian Smith
4b4410becf Allow control of whether 'b' key also cancels parking brake.
Uses new property /sim/controls/brake-cancels-parking-brake.

Default is true; it is expected that some aircraft (e.g. p51d) will set this to
false so they can implement their own brake/parking-brake interaction.

Should address bug 2589.
2021-05-26 22:37:38 +01:00
Fernando García Liñán
9a9ece5054 Do not let OSG implicitly attach a color renderbuffer to the shadowmap pass 2021-05-24 23:52:02 +02:00
Yves Tolosa-Joas
50ab6df140 Cleanup of Fleets for Tail Number Duplication 2021-05-19 11:07:47 +01:00
Yves Tolosa-Joas
2600739601 Added 737 Max aircrafts 2021-05-19 11:07:47 +01:00
Yves Tolosa-Joas
93fe4cd3bb Updated Flight Levels for SATA Dash8 2021-05-19 11:07:46 +01:00
Yves Tolosa-Joas
c1386a311a Updated Traffic for Vueling 2021-05-19 11:07:46 +01:00
Yves Tolosa-Joas
cb22824e6e Updated Traffic and liveries for United Airlines 2021-05-19 11:07:46 +01:00
Yves Tolosa-Joas
0e434250ae moved misplaced SNJ traffic file 2021-05-19 11:07:46 +01:00
Yves Tolosa-Joas
8b1370d49e Corrected AI Aircraft Radii 2021-05-16 18:47:14 +01:00
Yves Tolosa-Joas
064e8cbe74 Clean Up traffic file for Duplicate Tail Number warnings 2021-05-16 18:47:14 +01:00
Yves Tolosa-Joas
da795a4106 Updated Traffic & Liveries for EasyJet 2021-05-16 18:47:14 +01:00
Fernando García Liñán
49fa42faac Add shaders for osgText 2021-05-14 22:45:36 +02:00
Delta Echo
55b0cf802c S3 Vario: Fix bug where the needle became offsetted when the instruments was switched off while non-zero 2021-05-14 12:26:24 +02:00