1
0
Fork 0
Commit graph

10452 commits

Author SHA1 Message Date
Fernando García Liñán
cb56d1ef45 HDR: Fix missing parameters in text Effect 2024-01-22 01:21:24 +01:00
Fernando García Liñán
7fc735b1de HDR: Add support for osgText 2024-01-19 18:33:14 +01:00
Fernando García Liñán
e8c75e7599 HDR: Fix texture animations 2024-01-19 17:51:33 +01:00
Gijs de Rooy
e61faa738b Canvas tooltips: respect position from node
Previous (faulty) behavior was to always set x and y to 1 when non-nil
2024-01-19 17:25:52 +01:00
Roman Ludwicki
12469f2966 Update Polish translation for Qt 2024-01-19 14:00:43 +01:00
Roman Ludwicki
faf2400623 Update Qt translations files 2024-01-19 13:50:18 +01:00
Gijs de Rooy
f57e3b5ea9 Add link to more user-oriented wiki article in local weather readme
Address issue #2754
2024-01-19 09:24:55 +01:00
Gijs de Rooy
9ec15380aa AI scenario dialog: add headers and equalize column length 2024-01-18 09:28:52 +01:00
Roman Ludwicki
865c5cfe92 Fix typo in description of scenery version 2024-01-15 00:50:55 +01:00
TheFGFSEagle
1b13c1cc43 Make dialog close button actually close the dialog 2024-01-11 14:11:53 +00:00
TheFGFSEagle
ac4b64a01d Add global canvas menu bar 2024-01-11 14:11:53 +00:00
TheFGFSEagle
edf4077402 Add compositor flashlight to the walker to replace the ALS one from Effects/model-combined
See: https://sourceforge.net/p/flightgear/codetickets/2853/

Squashed commit of the following:

commit 28d4891e613f0ec14e13da2db3a1dd294ef0d922
Author: hbeni <beni@hallinger.org>
Date:   Tue Jan 9 08:03:40 2024 +0100

    Walker menu item label changed

    fix #2655
    see: https://sourceforge.net/p/flightgear/codetickets/2655/

commit 61adecd3b7d706ef13462e855ba9c141a8d0995b
Author: hbeni <beni@hallinger.org>
Date:   Mon Jan 8 08:43:36 2024 +0100

    Walker flashlight moved to own XML file and renamed colour-attributes to color

commit ef7c6119506368abc02d9ee0c239d6fa6b0ad6af
Author: hbeni <beni@hallinger.org>
Date:   Sun Jan 7 16:53:11 2024 +0100

    Walker/Flashlight: add CTRL+F as default keybind to toggle modes

commit 55d62498e5a86aa83d0447cce99ff054c0596076
Author: hbeni <beni@hallinger.org>
Date:   Sun Jan 7 16:25:45 2024 +0100

    Dimmed walker flashlight, so it better corresponds to the old c172 one

commit 0c8bc8a6c1c6c07308ddfb4d73ca6cf92fe40cae
Author: hbeni <beni@hallinger.org>
Date:   Sun Jan 7 14:46:47 2024 +0100

    Walker: Add a flashlight

    This adds a compositor based flashlight to the walker model.
    The flashlight currently has three modes: off/white/red.
    It can be toggled using the walker menu entry.
2024-01-09 22:24:09 +01:00
Fernando García Liñán
aa213b1c46 HDR: Separate fog from aerosols 2024-01-08 19:08:16 +01:00
Fernando García Liñán
497f73de80 HDR: Fix incorrect constants 2024-01-08 18:33:17 +01:00
Fernando García Liñán
6041eed8f7 HDR: Improve the parametrization of the atmosphere 2024-01-08 18:26:24 +01:00
Fernando García Liñán
7b0211031a HDR: Improve stars rendering
Previously we did not take into account the atmospheric transmittance
to render the stars, leading to stars being incorrectly rendered in
low visibility conditions.

Also place the stars in the correct render bin.
2024-01-07 16:18:55 +01:00
Stuart Buchanan
00b4275ee8 Updated translations to include WS3.0 launcher txt 2023-12-29 14:08:30 +00:00
Stuart Buchanan
4238bec6fd Update documentation of LINEAR_FEATURE_LIST 2023-12-29 13:09:22 +00:00
Gijs de Rooy
9dc128b9c6 About dialog: update year 2023-12-19 10:49:07 +01:00
Benedikt Wolf
57388cc3b2 Materials: Improve Svalbard islands appearance 2023-12-13 17:42:44 +01:00
Benedikt Wolf
7f6681da5e GPSMap196: Fix path error 2023-12-13 17:42:44 +01:00
Benedikt Wolf
476a7bccb5 Nasal hitch.nas: Update by D-NXKT and Bea Wolf 2023-12-13 17:42:44 +01:00
Gijs de Rooy
9e9c0252f7 Update German map tile URLs 2023-12-11 11:49:20 +01:00
TheFGFSEagle
724fad6701 Fix placements not being removed when destroying a canvas
Canvas placements are being added / removed through a listener on "placement" node adds / removals on the canvas's node.
Previously, when the canvas's del method was called, the canvas's node was removed, but not its "placement" subnodes.
This caused the canvas to be destroyed without the placements being removed.
This in turn causes problems when setting up a canvas with the same placement(s).
This is fixed by this commit by removing the "placement" nodes separately before destroying the canvas.
2023-12-09 18:08:55 +00:00
TheFGFSEagle
de7a49a456 Fix both left and right keys being shown when repr'ing a KeyBinding's function (Shift, Ctrl, Alt) keys 2023-12-09 04:04:16 +01:00
Stuart Buchanan
ba10103ccd Support multiple directories in OverlaySelector
Previously only a single directory of logos etc. were
supported by OverlaySelector.  Now multiple directories
may be passed in.

Patch from MERSPIELER.
2023-12-07 11:29:34 +00:00
Stuart Buchanan
b0dbba2944 FG1000: Reduce Emesary Notifications
Previously both PeriodicPropertyPublisher and TriggeredPropertyPublisher
published irrespective of the property value.

This change adds an optional epsilon value below which a
notification will not be made.  This significantly reduces the number
of Emesary notifications generated and therefore updates to the
displays.
2023-12-07 11:06:46 +00:00
Stuart Buchanan
1b81bc976b FG1000: Improve framerates by disabling mipmapping 2023-12-07 11:05:54 +00:00
Henning
e83cc5678f canvas:svg: Fix SVG parser to accept rect without optional x,y
In evalCSSNum return if arg is empty.
Set missing x or y in rect to 0.
2023-12-03 11:16:49 +01:00
Roman Ludwicki
a25c607e01 Change notation "CoG vs Mean Aero Chord" to "Center of Gravity %MAC" 2023-11-21 23:10:22 +01:00
Erik Hofman
b1b768c540 Update fog density when the visibility change 2023-11-20 10:31:29 +01:00
Roman Ludwicki
e64e6288bd Fix crash after click help button in Walker animation dialog
The setValue() fuction expect 'path' and 'value' or only 'value', so in these cases, the content was treated as a path and caused "Illegal character in leaf of property path" error
2023-11-14 22:42:54 +01:00
Roman Ludwicki
1fc323ea57 Update Polish translation 2023-11-14 22:13:14 +01:00
Roman Ludwicki
8279e7604e Fix selecting already installed aircraft in Phi 2023-11-14 21:37:53 +01:00
James Turner
53a6e3b8f8 Add CG-MAC to weights dialog
Patch from Huntley Palmer
2023-11-11 14:19:11 +00:00
Roman Ludwicki
9242e133fd Add option to hide the aircraft on the map
As a student, I would like to be able to use the map for reading the flight plan, frequencies for VOR, NDB, ILS, but without giving away the position of my aircraft, so that I can train in IFR navigation using the instruments only in the cockpit.
2023-11-11 13:55:19 +00:00
Erik Hofman
1267e072f3 Tone down fresnel and shininess a bit 2023-11-09 11:17:42 +01:00
Fernando García Liñán
746532f098 HDR: Render the Moon, stars and planets
Moon textures have been adapted from the following webpage:

https://svs.gsfc.nasa.gov/4720
NASA's Scientific Visualization Studio
2023-11-06 14:56:45 +01:00
scttgs0
228ac3d168 latest airports 2023-11-03 17:43:14 -05:00
Stuart Buchanan
41ccf88618 FG1000 - Fix GDU-1045 Autopilot buttons
Previously the GDU-1045 displays autopilot buttons didn't
work because they were missing a required <offset> element
for the FG1000HardKeyPushed command.  This fixes that, as
well as adding a verification script using xmllint and also
fixing a the NAV button which was incorrectly mapped to FD.
2023-11-03 16:57:57 +00:00
Stuart Buchanan
2b47c8ac61 FG1000 - Make transponder more robust, VFR code
Make transponder display more robust, and define
VFR code in the ConfigStore.
2023-11-02 12:38:48 +00:00
Stuart Buchanan
89f980393a FG1000 - Fix broken display
Caused by incorrect animation object reference.
2023-11-02 12:16:48 +00:00
Roman Ludwicki
3f9dc54c85 For PropertyTreeBrowser, set the path in the title as "/" when the node returns an empty string
Set the title in one place (in a separate function).
2023-10-25 17:09:46 +02:00
Roman Ludwicki
0cd24b172e Fix nasal runtime error "non-objects have no members" for PropertyTreeBrowser 2023-10-25 17:02:10 +02:00
Stuart Buchanan
536cd5f4b6 Updated c172p
https://github.com/c172p-team/c172p/releases/tag/version%2F2020.4.1
2023-10-22 22:09:11 +01:00
Stuart Buchanan
30ee9b5734 Ctrl+Alt+Click handle lack of material info
Previously if a user Ctrl+Alt+Click on a piece of scenery
without material information, FG would throw a Nasal error.
This change handles the situation a bit more gracefully by
at least outputting the lat/lon/alt.
2023-10-22 21:13:21 +01:00
scttgs0
f1ef587a50 latest airports 2023-10-14 01:26:23 -05:00
Fernando García Liñán
8b91f660bc HDR: Better handling of time warp when updating the envmap 2023-10-09 05:52:11 +02:00
Fernando García Liñán
b36210e141 HDR: Use properties for shadowmap and envmap sizes 2023-10-09 04:41:25 +02:00
TheFGFSEagle
5f66773605 canvas.Keybinding.parseShortcut: Accept nil and empty strings, returning nil
This can be used to unset the key binding of a Canvas menu item by using item.setShortcut(nil);
2023-10-06 20:17:25 +02:00