1
0
Fork 0
Commit graph

9735 commits

Author SHA1 Message Date
Julian Smith
c79f3f0551 gui/dialogs/rendering.xml: added checkbox for shadows.
Has a note saying 'May need restart to take affect' because it seems that
shadows never work unless enabled on startup. Note that the property setting is
persisted.
2020-11-17 20:15:43 +00:00
Stuart Buchanan
6f52d094a5 Document new STG range noun 2020-11-17 20:00:26 +00:00
Fernando García Liñán
7c16104149 Add the possibility to use shadow mapping on model-interior 2020-11-17 17:21:01 +01:00
Fernando García Liñán
d2e5ad9d60 Remove unused fallback Effect 2020-11-17 15:28:01 +01:00
Fernando García Liñán
9b589f8061 Change shadow fallback technique index to -10
Canvas displays stop working with a technique index of 1000. There is no apparent reason for this, but changing it to 0 or a lower value fixes the issue. There doesn't seem to be any negative consequences from doing this.
2020-11-17 15:28:01 +01:00
Richard Harrison
32266ba928 Add comments for props.UpdateManager methods 2020-11-17 11:59:29 +01:00
Fernando García Liñán
ed3cbf96ff Make model-interior use a separate vertex shader
generic-ALS-base.vert uses shadows, while model-interior does not.
2020-11-17 00:57:56 +01:00
Fernando García Liñán
fc33a8d71a Fix non-ALS runway shader not implementing shadows 2020-11-17 00:41:02 +01:00
Fernando García Liñán
d35c160a50 Add a dummy technique with index 7 to model-combined
This keeps backwards compatibility with aircraft that implement technique 7 from Rembrandt.
2020-11-17 00:15:09 +01:00
Fernando García Liñán
a3a8f9123e Make Compositor default
- Remove all Compositor Effects and Shaders.
- Unify the low-spec and ALS pipelines in a single pipeline called 'Classic'.
- Readd shadow mapping.
- Move the WS30 Effect and fragment shader out of the Compositor-specific directories.
2020-11-16 13:46:30 +01:00
Stuart Buchanan
8cb0faef60 FG1000: Enable mipmapping to
Reduces aliasing artifacts.
2020-11-15 19:33:15 +00:00
Erik Hofman
5dde54d43b Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/fgdata into next 2020-11-15 09:32:41 +01:00
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