1
0
Fork 0
Commit graph

10383 commits

Author SHA1 Message Date
scttgs0
38ccff0900 [gui] PNG compression and iCCP removal 2023-04-17 14:46:35 -05:00
scttgs0
35e4efc09d Merge branch 'next' of git://git.code.sf.net/p/flightgear/fgdata into next 2023-04-17 14:33:54 -05:00
scttgs0
e65bc0e3ec [Models] PNG compression and iCCP removal 2023-04-17 14:30:48 -05:00
TheFGFSEagle
4c398de46c More robust rotation center handling 2023-04-17 15:13:18 +01:00
TheFGFSEagle
e5f4915e89 canvas.gui.widgets PropertyWidgets: Add functionality to temporarily disable property syncedness for property-synced widgets
This is needed for example to prevent writing to the bound property while adding items to a PropertyComboBox
2023-04-17 15:13:17 +01:00
TheFGFSEagle
ad266eb743 canvas.gui.widgets.ComboBox: Bug fixes, implement findByValue and findByText methods, add placeholders for missing artwork 2023-04-17 15:13:17 +01:00
TheFGFSEagle
51e16819be aircraft.data: Enable method chaining and add method to remove properties from the catalog 2023-04-17 15:13:17 +01:00
TheFGFSEagle
d70d073a22 Added property-synced dial and slider 2023-04-17 15:13:17 +01:00
TheFGFSEagle
638b6182d6 Implemented dial with optional value display, ticks and wrapping 2023-04-17 15:13:17 +01:00
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