1
0
Fork 0
Commit graph

10424 commits

Author SHA1 Message Date
TheFGFSEagle
4fb22e821a Fix menus popping back up when clicking on a menu bar item / combo box with the respective menu open 2023-04-17 15:13:17 +01:00
Fernando García Liñán
10cd3fb8c4 HDR: Normal mapping without precomputed tangents
Also tidy up model and terrain shaders. Inputs and outputs to vertex and
fragment shaders are now interface blocks.
2023-04-17 05:09:24 +02:00
Fernando García Liñán
82d415cbd4 HDR: Add remaining aerosol types
Now the properties of the atmospheric medium can be changed through the
property tree.
2023-04-16 07:19:22 +02:00
scttgs0
b0cfcd4a62 Ticket #2441: Remove Aircraft Center (Experimental) 2023-04-15 23:53:48 -05:00
Erik Hofman
9e0211312e Follow the new shader guide style 2023-04-13 08:25:07 +02:00
Fernando García Liñán
e77e5bad9c HDR: Fix aerial perspective banding 2023-04-13 05:57:01 +02:00
Fernando García Liñán
f53a170539 HDR: Better bloom effect
We also now pre-expose our lighting before writing to the HDR buffers.
This solves some precision issues and prevents the Sun from producing
infinite values.
2023-04-13 00:30:02 +02:00
Stuart Buchanan
ce24a3f05f HDR: WS30 basic terrain shader 2023-04-12 18:11:41 +01:00
Fernando García Liñán
23b4e6e26f Fix typo 2023-04-11 17:59:44 +02:00
Fernando García Liñán
8af67bfb2f HDR: Complete refactoring of shader style and naming
See https://wiki.flightgear.org/Shader_Style_Guide.
2023-04-11 15:53:47 +02:00
Erik Hofman
c64130fc4c Remove all wave features from water textures. let shaders handle it. 2023-04-09 14:20:50 +02:00
Fernando García Liñán
c4d19877cf HDR: Significant update
- New atmosphering rendering technique based on my own work.
- Attempt to fix some remaining transparency issues.
- Use a luminance histogram for auto exposure.
- Add support for clustered shading.
- Add WS 2.0 shaders.
- Add 3D cloud shaders.
- Add orthoscenery support.
2023-04-06 00:18:29 +02:00
Fernando García Liñán
85771b2863 Use different vertex attribute for orthoscenery
See related SimGear commit e8ffe461

Now the orthophoto texture coordinates are contained in gl_TexCoord[2],
so no need to pass any custom vertex attributes to Effects that use
photoscenery.
2023-04-05 23:13:51 +02:00
Benedikt Wolf
eb9508ed56 ILEC-SC7: Correct size, various small model improvements 2023-03-13 11:22:05 +01:00
Erik Hofman
534c859cdb Revert to 8e3ef0d2e4 as Nasal OOP doesn't work 2023-03-10 09:21:54 +01:00
Erik Hofman
c9dda8b418 Reinstate a line which was commented out for debugging purposes 2023-03-08 15:15:18 +01:00
Erik Hofman
6357b7b629 Do not show the canvas display at startup 2023-03-08 12:55:17 +01:00
Erik Hofman
93f974de1e Make cDefaultGroup a class member 2023-03-08 11:29:46 +01:00
Erik Hofman
61664836a4 Fold used shaders into the main shader 2023-03-08 11:27:55 +01:00
Erik Hofman
cfef45c93b Introduce a view-matrix for ShaderVG 2023-03-04 14:11:18 +01:00
Benedikt Wolf
a90b331ce1 Fix some instrument installation instructions to prevent spamming MP properties 2023-03-02 15:47:41 +01:00
Erik Hofman
8e3ef0d2e4 Add some descriptive labels to the test pattern 2023-02-28 14:19:10 +01:00
TheFGFSEagle
921df08a61 Check for each key passed to Shortcut.match whether it is contained in the shortcut's keys, instead of comparing the first argument key to the first member key, the second to the second, etc. 2023-02-28 12:47:00 +00:00
TheFGFSEagle
372d68a775 Canvas slider widget:
Added value display
Add ticks, round mouse dragging result to nearest multiple of step size,
implement scroll handler
Add keybindings for adjusting slider value
2023-02-28 12:47:00 +00:00
TheFGFSEagle
be80d67754 Added option to make tabs closeable 2023-02-28 12:47:00 +00:00
Erik Hofman
a18808fae6 Add a Canvas test pattern dialog 2023-02-28 13:31:23 +01:00
Stuart Buchanan
71bdd9e99b WS30 - Improved coastline shader
Make the coastline shader consistent between
the coastline texture and the underlying landclass
texture, irrespective of materials.
2023-02-27 22:02:34 +00:00
Roman Ludwicki
bc2f4b4c80 Update Polish translation 2023-02-27 01:05:25 +01:00
Roman Ludwicki
b6b8e10d69 Update Polish translations 2023-02-27 00:42:34 +01:00
Erik Hofman
50b3f3913e Move the shaders from ShaderVG to fgdata 2023-02-26 10:30:07 +01:00
Erik Hofman
03a898faf9 Switch to the Noto font for authors 2023-02-22 15:59:14 +01:00
Erik Hofman
3b282843eb Remove unused DDS texture files. They'll get moved to the FGAddon attic. 2023-02-21 09:58:01 +01:00
Erik Hofman
21a5d6de00 Remove a stale README file about DDS textures which where replaced with the DDS cache 2023-02-21 09:37:49 +01:00
Erik Hofman
16d277e5c4 Add the Noto font:
https://en.wikipedia.org/wiki/Noto_fonts

Noto is a font family comprising over 100 individual fonts, which are together designed to cover all the scripts encoded in the Unicode standard.
2023-02-21 09:17:53 +01:00
Erik Hofman
f92170dcb6 Colin Geniet:
There are 3 relevant render bins for aircraft models:
- 0: default
- 10: depth sorted, automatically selected for transparent objects.
- 111: depth sorted, explicitly set by some transparent effects (hud, glass)

The model-default effect does not set <render-bin> on purpose, to allow
automatic selection of bin 0 or 10. So my second patch which added <render-bin>
to model-default is wrong.
It is only model-transparent which should explicitly set bin 111
to interact well with hud/glass effects.
2023-02-20 09:03:02 +01:00
Erik Hofman
4cb01f0ee7 Demonstrate the new machwave effect 2023-02-20 09:03:02 +01:00
TheFGFSEagle
8277a6d608 LineEdit: selection work
Implemented line edit selection highlighting and Shift+arrow keys,
mouse dragging, and mouse double-clicking text selection
2023-02-13 11:11:42 +00:00
TheFGFSEagle
8b0da63e7c Make list items align to the top properly 2023-02-13 11:05:48 +00:00
TheFGFSEagle
00efa2d01a Make std.algorithm conditions more efficient 2023-02-13 11:05:48 +00:00
TheFGFSEagle
a5f2e19c12 Pass node in the config hash instead of as an argument 2023-02-10 13:01:20 +00:00
TheFGFSEagle
06dc27d631 Added method to find a list item by its data 2023-02-10 13:01:20 +00:00
TheFGFSEagle
305d88f601 Added more property-synced widgets 2023-02-10 13:01:20 +00:00
TheFGFSEagle
da894c87c5 Add popup border, added option to enable popups taking focus (disabled by default) 2023-02-10 13:01:20 +00:00
TheFGFSEagle
0f1ac87cae Added methods to set, get and clear radio button data 2023-02-10 13:01:20 +00:00
TheFGFSEagle
6f5581ac50 Added method to get all tabs of the TabWidget 2023-02-10 13:01:20 +00:00
Benedikt Wolf
51ede47c5a Cleanup some canvas instruments 2023-02-10 10:40:36 +01:00
Benedikt Wolf
1be001a18c Fix wingflex shader to use current effect code. A better way would probably be to just keep the wing flexing part there and then include model-combined, but I couldnt get that to work unfortunately 2023-02-10 10:40:36 +01:00
Benedikt Wolf
13b24e5290 Improve hitch.nas, work in progress 2023-02-10 10:40:35 +01:00
TheFGFSEagle
3e4b6ff9c8 Make combo box menu work 2023-02-03 11:28:29 +00:00
TheFGFSEagle
8a1192c918 Added Switch class, added group-checked-radio-changed signal for radio buttons 2023-02-03 11:28:29 +00:00