1
0
Fork 0
Commit graph

9723 commits

Author SHA1 Message Date
Erik Hofman
69c9f31ab5 Show the name of the region where the clicked material is stored. 2020-11-15 09:32:14 +01:00
Stuart Buchanan
3cace276d2 WS3.0: Add tile_level, tile_width, tile_height
Add Uniforms to WS3.0 fragment shader to provide
LoD information and make sampling of adjacent points
in the landclass texture easier.
2020-11-14 21:04:30 +00:00
Stuart Buchanan
605f0e3c74 WS3.0: Add forest texture to shader
Interm shader update until texture array support available.
2020-11-12 20:47:08 +00:00
Erik Hofman
7f66257bfb Add climate selection options to set the environment and weather based on climate data. Setting the weather is not yet implemented in the code but eventually it will be. 2020-11-09 11:44:08 +01:00
Stuart Buchanan
4aff635cdb WS3.0: Initial commit of WS3.0 rendering 2020-11-08 22:44:34 +00:00
Erik Hofman
35b432f28c Add a Köppen-Geiger climate database 2020-11-03 11:51:27 +01:00
fly
5981539a38 Autopush: Improve handeling on speedup
Signed-off-by: fly <merspieler@airmail.cc>
2020-11-02 12:26:47 +00:00
Julian Smith
ee25322c4a mice.xml: allow elevator control even with left button down. 2020-11-01 09:32:40 +00:00
Julian Smith
390779a8a1 Nasal/controls.nas: improved handling of /autopilot/locks/passive-mode
Use (!passive) instead of (passive == 0), so that passive == nil is treated as
0.

E.g. this allows keyboard control of autopilot target speed, heading and
altitude in harrier-gr3.
2020-11-01 09:32:39 +00:00
Julian Smith
96ab5884f9 Nasal/controls.nas: turn parking brakes off when normal brakes are applied.
Avoids problems with toggling - difficult to reliably turn parking brakes off.
2020-11-01 09:32:39 +00:00
Julian Smith
7647515f52 Huds/Instruments/ladder.xml: fix position of pitch=0 to match horizon.
The fix is to set compression-factor to 11.0; empirically this makes the
pitch=0 line behave correctly.
2020-11-01 09:32:39 +00:00
Julian Smith
dffa547c1c gui/dialogs/radios.xml: added controls of ATIS speech. 2020-11-01 09:32:39 +00:00
Julian Smith
1d4bc4cc1a gui/dialogs/instruments.xml: added control of panel/instrument lighting. 2020-11-01 09:32:39 +00:00
Julian Smith
7151e23231 Preserve main window size between Flightgear sessions.
I.e. mark sim/startup/xsize and ysize as userarchive.
2020-11-01 09:32:39 +00:00
Julian Smith
87d406dc6e Clarified documentation for the --load-tape option. 2020-10-31 23:42:03 +00:00
Stuart Buchanan
a60f5fd3fe Checklist: Improve robustness 2020-10-31 20:35:33 +00:00
Stuart Buchanan
9e2ee8b969 Checklist/Tutorial: Auto view direction to marker
This change automatically changes the view direction to look
at a <marker> if any is defined for a checklist item or tutorial
step.

Both the tutorial and checklist features support a <marker> element
which can be used by an aircraft developer to display a magenta
circle around an item of interest (typically a control in the
cockpit).

Previously aircraft developers had to add a <view> element to move
the viewpoint to look at the marker, while users of checklists had
to look for the marker manually.

Now:
- For checklists, pressing the "?" button on a checklist will pan the viewpoint
to the marker.
- For tutorials, if there is not a <view> element defined for a
tutorial step, the view will automatically pan to the marker.
2020-10-31 16:00:51 +00:00
Erik Hofman
99ecc9a563 Some final tweaks to the iceland scenery 2020-10-30 12:32:52 +01:00
Erik Hofman
b82963c540 Complete overhaul of the Iceland materials file 2020-10-29 23:55:36 +01:00
Stuart Buchanan
88dd4468e5 Remember checklist page across close/open of dlg
Path from Michael DANILOV
2020-10-28 22:34:43 +00:00
Erik Hofman
5b01752fb0 Some final tweaks for a more consistent look and feel 2020-10-28 10:00:33 +01:00
Erik Hofman
e2b200cd27 Greatly improve the Brazilian cerradio areas (near SBMQ) 2020-10-27 12:45:31 +01:00
legoboyvdlp R
850b6910b0 Switch live WXR layer to new API after wunderground API was taken down 2020-10-26 09:55:16 +00:00
Automatic Release Builder
85b5c817b0 Nasal: use ‘quiet’ flag when loading jetways.xml
Avoid console spam from probing for jetways files every ten seconds
2020-10-25 19:56:40 +00:00
Yves Tolosa-Joas
126a849368 Added Traffic and Liveries for AeroUnion Mexico 2020-10-25 19:55:50 +00:00
Richard Harrison
bcd59f8370 Nasal PartitionProcessor added time limiter
the partition processor can now either process a certain number of items per frame, or spend a certain amount of time processing items.

The two options work together - so typically you'd pick a sensible amount of items to process per frame and then maybe also set a maximum amount of time per frame to be sure.

Using the time limit option will take slightly more CPU - but can still be a net benefit
2020-10-25 20:02:41 +01:00
Richard Harrison
4cb857f244 Fallback model improvements C182
- use c182-dpm.xml model for fallback, as the c182-ai.xml model
  is offset upwards and suited for AI usage
- remove range LOD animations
2020-10-23 17:46:42 +02:00
Richard Harrison
7c13462959 Emesary(MP) : Use correct ID for ArmamentNotification 2020-10-23 17:46:40 +02:00
Erik Hofman
21675f903f vnts:
Materials changes version 2 - Iceland and California

1. Keep regional definitions for the new default airport BIKF, and Iceland. Uses
 new grass colours texture airport-grass-summer3.png with custom autumn effect i
n alpha channel, and bare volcanic bare ground layer - to produce patchy grass a
nd blend in with surrounding landclasses. 3d grass overlays have height modulati
on turned on so grass patches are followed. Actual grass cover and colour at BIK
F varies a lot even for the same month in different years going by photos, needs
 autumn effect to depict the range properly. The grass near the terminal areas s
eems to receive a more water while the rest is often quite bare in photos - the
current patchy-ness is a compromise. The texture for low settings is still autum
n-grass-summer2.png.

2. Keep regional definitions for KSFO and California. Switches to grass effect s
o 3d grass is enabled. Grass layer and patchy bare ground layer format with heig
ht modulation for 3d grass. Currently tuned to hints of dry green grass similar
to the old version.
2020-10-22 15:13:04 +02:00
Erik Hofman
a59ca8bd24 DOS line endings to Unix line endings 2020-10-22 15:12:20 +02:00
Erik Hofman
c7c2804191 Move tide calculations from FGLight into it's own subsystem 2020-10-19 14:29:25 +02:00
Richard Harrison
d99b621009 Emesary MP notifications ID added (OPRF) 2020-10-19 10:18:26 +02:00
Nikolai V Chr
7434c50ab9 Make sure notifications don't stay in the outgoing MP emesary property, which could lead pilots just connecting to MP to get a past notification. 2020-10-19 00:40:05 +02:00
Erik Hofman
407350229f Also improve the littoral areas for other regions with the default littoral definition. 2020-10-18 15:30:42 +02:00
Erik Hofman
7583a51b0a Improve littoral areas 2020-10-18 11:27:23 +02:00
Stuart Buchanan
8bafe4087e FG1000: GMC710 AFCS Mode controller.
Model by Mark JOSEPH.
2020-10-16 21:52:43 +01:00
Erik Hofman
ef3b0fffd5 Update the bathymery based on GEBCO 2020 data. Add land river colouring. 2020-10-16 13:44:25 +02:00
Automatic Release Builder
afe6cd3bc0 Set version information 2020-10-13 22:31:39 +01:00
Stuart Buchanan
ccedd4252f FG1000: CHECKLIST MFD Softkey 2020-10-13 19:30:29 +01:00
Erik Hofman
bf9c0f12e1 Materials changes version 1
1. Changed airport_grass_overlay.png to airport_grass_structure_overlay2.png

- africa_rainforest.xml, azores.xml, brazil_amazon_forest.xml, brazil_pampas.xml, brazil.pantanal.xml, california.xml, corse.xml, global-summer.xml, mexico.xml, south_east_asia.xml, southern_europe.xml, tropical_south_america.xml, us_southwest.xml

2. Added old airport_grass_overlay.png as airport_grass_structure_overlay1.png
- jan-mayen.xml, ascension.xml (volcanic island)

3. Changed <overlay_layer_magnification> for files using airport_grass_structure_overlay2.png. Conversion: 8.0 units in structure_overlay1 = 60.0 units in structure_overlay2.

- 60.0: africa_rainforest.xml, azores.xml, brazil_amazon_forest.xml, brazil_pampas.xml (4.0), brazil.pantanal.xml, california.xml (grain_layer), corse.xml (grain_layer), global-summer.xml, jan_mayen.xml, mexico.xml (grain_layer 4.0), south_east_asia.xml, southern_europe.xml (grain_layer 4.0), tropical_south_america.xml (grain_layer), us_southwest.xml (grain_layer)

4. Specified <overlay_layer_magnification> for AirportKeep using a normal texture in the n="14" slot instead of a structure texture without specifying magnification. The reason is the new default structure texture uses a much higher magnification. The old value used was 8.0 from global-summer.xml.
- us_southwest.xml (8.0), california.xml (8.0),

5. Specify <grain_layer_magnification> as 4.0 for jan-mayen.xml. Global-summer.xml didn't specify it so the material got settings from the effect default.

6. Multiply alpha channel of airport_grass_structure_overlay2.png by 0.7 to reduce very subtle tiling to almost zero for worst case (e.g. white areas of southern_europe.xml keep). This is visible only at closer ranges at very specific angles. Change southern_europe.xml grain_layer_magnification to 50.0. Best fixed with grain_alpha uniform.a new

7. Increase <overlay_alpha> to greater than 1.0 in global_summer.xml for structure overlays for keeps to compensate for multiplying strucuture_overlay2.png alpha by 0.7. Target goal was 0.85 - there is some almost imperceptible tiling from very specific angle close up and this can be lowered a bit further if needed.

8. Specify <overlay_alpha> as 1.0 for overlays where airport_grass_structure_overlay2.png is not used, or is used in the n="15" grain layer slot.
- africa_desert.xml,  africa_mediteranean.xml, ascension.xml, brazil-caatinga.xml, corse.xml, california.xml, greenland.xml (new definition), hawaii.xml, iceland.xml (new definition), southern_europe.xml, tropical_south_america.xml

9. Changed name of airport-grass-autumn.png to airport-grass-summer2.png.

10. Use airport-grass-summer2.png (brown-grey-green) grass texture for in greenland.xml as the green one is out of place. D-ECHO is working further on Northern area keep.

11. Changed <texture> reference in california.xml from airport-grass-autumn.png to airport-grass-summer.png.

12 Grass scale for airport-grass-structureoverlay2.png: roughly 60 (roughly guessed by displaying RBG strucuture texture against airport_grass2.png.).

13. Changed california-grass.png to california-grass2.png:
mexico.xml,

14. Added 3d grass to california and iceland grass definitions.

15. Iceland and BIKF for the moment uses the dull brown-grey.green airport-grass-summer2.png. Once a control for specifying grass texture magnification is in it's possible to do a dark volcanic underlying texture with spots of grass/moss.

16. Started a Keep definition in europe.xml so maybe in future a new global grass type can be a bit less yellow than for Europe and mid latitude locations away from the equator.

----
Note:

Possible unresolved minor problem found with colour of 3d grass: AirportKeep effects can specify textures with grass colours in either the base slot or the overlay slot. e.g. us-southwest.xml specifies the grass colour in the overlay slot and the ground underneath in the base layer slot.
The 3d grass shader assumes a magnification of 1.0. When overlay or base layer magnifications are not 1.0 same the grass colours don't quite line up. Some difference between ground underneath and grass is probably desired to make the grass blades more obvious. It's not a big problem in dryer areas as the grass density is low and the dry textures colours are similar looking. Eventual fix: add a <grass_color_layer_magnification>.
2020-10-13 10:38:41 +02:00
Stuart Buchanan
7414c50305 Sort checklist groups alphabetically
Patch from Michael DANILOV
2020-10-11 19:58:44 +01:00
Erik Hofman
e1bc3d6744 Update to match the png version 2020-10-09 09:27:54 +02:00
Erik Hofman
5ee3aa97fc Fix some visible tiling 2020-10-09 09:27:21 +02:00
Stuart Buchanan
5e24ce0684 Remember selected checklist
Bug fix from Michael DANILOV
2020-10-08 19:01:15 +01:00
Erik Hofman
738cd3d963 Fix an issue for deserts introduced by the texture color matching process: too dark spots in the desert 2020-10-08 12:37:21 +02:00
Erik Hofman
8f38c737a2 Improved California regional definition by vnts 2020-10-07 13:35:40 +02:00
Erik Hofman
cf24eb2376 Improved airport grass overlays in coorporation with vnts 2020-10-07 13:35:12 +02:00
Stuart Buchanan
5080ae8c99 FG1000: Fuel Publisher and PanDown bug-fix
Previously the GenericFuelPublisher would barf if tank contents
weren't defined properly with numbers.

Also the XML and .ac files were inconsistent in their use of PANDown
vs PanDown.

Both spotted by Mark JOSEPH (ePilot). Now fixed.
2020-10-06 21:58:18 +01:00
Alessandro Menti
d46ebde0b6
Update the Italian translation 2020-10-06 21:16:12 +02:00
Erik Hofman
687df1abf6 Update the global materials to use the new summer grass airport keep 2020-10-06 10:15:26 +02:00