1
0
Fork 0
Commit graph

118 commits

Author SHA1 Message Date
Stuart Buchanan
e6d6813ba8 WS30: Add property to control separate water mesh 2022-02-01 17:10:08 +00:00
James Turner
d1ff92fe54 Add POIs checkbox to map 2022-01-10 11:14:06 +00:00
Julian Smith
0395b916c9 defaults.xml: added sim/replay/record-continuous-compression 2021-12-09 23:19:53 +00:00
Julian Smith
f2a724adcb defaults.xml: added sim/time/simple-time/enabled. 2021-12-09 23:19:53 +00:00
Julian Smith
05f7b034d0 Added user interface for video encoding.
Translations/default/menu.xml
defaults.xml
    Added /sim/video/ items.
gui/dialogs/video.xml
    New, allows one to select the video container, codec, quality, speed and
    bitrate to be used when encoding videos. Radio buttons are provided for
    common containers and codecs.
gui/menubar.xml
    File menu now has 'video start' and 'video stop' items, plus an item that
    opens new 'video control' dialogue. [We use menu items for video start/stop
    to minimise the visual affect at the beginning and end of the generated
    video.]
2021-12-09 23:19:53 +00:00
Stuart Buchanan
e934445f91 WS30: Remove WS30 LoD range factor
Better handled by camera controls.
2021-10-12 21:48:12 +01:00
James Hogan
43305c09b3
defaults: Add VR visibility-mask property
Add VR visibility-mask property to defaults.xml so it initialises early
and so it is automatically saved.
2021-09-22 10:54:11 +01:00
James Hogan
3aa8691963
defaults: Add VR mirror properties
Add important VR mirror properties to defaults.xml so that they
initialise early and so that they are automatically saved.
2021-09-11 23:43:55 +01:00
b'Fernando Garc\xc3\xada Li\xc3\xb1\xc3\xa1n
25068efaee Merge /u/amalon/fgdata/ branch vr_1 into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/238/
2021-09-03 22:23:20 +00:00
Fernando García Liñán
96a6e6c9bf HDR: Implement GTAO (Ground Truth Ambient Occlusion) 2021-09-01 04:26:03 +02:00
Fernando García Liñán
9f39644199 HDR: Optimize the G-Buffer and do not separate the occlusion texture
- The G-Buffer layout has been redesigned to be 96 bits per pixel. There are 24
unused bits that can be used for extra material parameters later (like
clearcoat).
- Add better debug views for the G-Buffer.
- Use octahedron normal encoding. This yields the same results as the previous
method but uses 16 bits less.
- Use rg11fb10f for the environment mapping cubemaps.
- Tweak the shadow mapping parameters and add a colored debug mode.
- Only render shadow maps for objects that inherit from model-default.eff or
model-pbr.eff instead of having a fallback Effect. Now transparent objects
should be ignored (if they are marked as such with model-transparent or
similar).
- Remove the separate occlusion texture. Now the PBR Effect expects a single
texture where R=occlusion, G=roughness and B=metallic.
2021-08-27 00:03:43 +02:00
Fernando García Liñán
a789c24209 HDR: Fix model-combined when not using a normal map 2021-08-25 16:49:08 +02:00
Fernando García Liñán
eea955168e HDR: Organize shadow-related files and add screen space shadows 2021-08-24 23:38:56 +02:00
Michael Danilov
249d5b6fcd defaults.xml: Save "Use Shaders" 2021-08-23 22:29:02 +02:00
James Hogan
7909da4db5
defaults: Add VR properties
Add important VR properties to defaults.xml so that they initialise
early and so that they are automatically saved.
2021-08-23 16:11:40 +01:00
Fernando García Liñán
8662ce0a86 HDR: Add SMAA as the default antialiasing technique 2021-08-23 01:05:41 +02:00
Fernando García Liñán
f16372ac7e HDR: Add property to show debug views of the GBuffer 2021-08-16 21:51:37 +02:00
Julian Smith
23374fb50e defaults.xml: enable CompositeViewer by default.
We set /sim/rendering/composite-viewer-enabled to true.
2021-08-03 09:39:50 +01:00
Fernando García Liñán
467468ef3a HDR: Improve exposure and bloom handling 2021-07-31 19:13:19 +02:00
Julian Smith
4b4410becf Allow control of whether 'b' key also cancels parking brake.
Uses new property /sim/controls/brake-cancels-parking-brake.

Default is true; it is expected that some aircraft (e.g. p51d) will set this to
false so they can implement their own brake/parking-brake interaction.

Should address bug 2589.
2021-05-26 22:37:38 +01:00
Fernando García Liñán
6950670086 Do not save the graphics preset for now
There aren't any mechanisms in the C++ side to handle custom settings yet, so don't use graphics presets unless the user enables them explicitly through a command line option.
2021-05-07 13:10:09 +02:00
Stuart Buchanan
c87798c610 WS30i: Initial coastlines 2021-05-03 15:47:13 +01:00
Erik Hofman
f4edb0e362 Keep the rendering quality settings between sessions 2021-05-02 12:56:36 +02:00
James Turner
dd9507a6ef Error reporting UI tweaks 2021-04-30 13:44:08 +01:00
James Turner
9100a36b66 Flip reporting back off for some UI adjustments :)
Keep things quiet while I add a Canvas popup for non-critical cases.
2021-04-21 12:48:17 +01:00
Richard Harrison
26e1e056f7 Added limits and default for tower altitude
There are a lot of towers that are at the same altitude as the airport; this is clearly a lack of data. Also there are some towers that are ludicrously high (e.g. KLSV). This commit defines a reasonable minimum and maximum values for tower altitude; together with a default altitude which will be added to the airport elevation when the tower altitude is outside of these ranges (above airpot altitude).
2021-04-19 17:59:20 +02:00
jano
efcc43b6ba give an initial value to:
/sim/time/frame-time-offset-ms
and set it to non archivable.
this prop is used to delay the time we start a fg loop if we are using the throttle frame rate,
this allow a better master-slave relation as the slave can be run a little after the master.
linked to a28bf28ee089e53a1790d222c02dd2963a76dd85 and 7dfbcf091880ab9d9ed24917f50e1b1920c6a811 in flightgear.
2021-04-09 18:51:15 +02:00
Fernando García Liñán
5716117e9c Add quality-level to defaults.xml to keep backwards compatibility with custom shaders 2021-04-07 00:01:37 +02:00
Stuart Buchanan
4e38061fff WS30: LoD settings for water bodies. 2021-04-04 16:36:06 +01:00
Fernando García Liñán
2d4f8cdbdd Remove unused properties from /sim/rendering 2021-04-02 04:31:03 +02:00
Fernando García Liñán
4f6edde3e9 Add anti-aliasing controls to the rendering dialog 2021-04-02 04:07:36 +02:00
James Turner
78c06f63b9 Enable error-reporting for some testing. 2021-04-01 12:25:11 +01:00
Fernando García Liñán
04f2ccc16b Support choosing the number of lights being displayed 2021-04-01 03:16:08 +02:00
Fernando García Liñán
69387f09f4 Reduce shader complexity and implement graphics presets
- All non-ALS Effects have been removed (except generic ones from model-default and terrain-default).
- The rendering dialog has been reworked to accomodate the changes.
- All necessary properties have been added to graphics-properties.xml
- Five graphics presets have been added: Minimal, Low, Medium, High and Ultra.
- Some unused properties have been removed from defaults.xml
2021-03-31 04:05:34 +02:00
James Turner
9e5f5501bf Map dialog: make settings persistent (auto-saved)
A forum user suggested making these auto-saved, also relocated them
under /sim/gui which probably makes more sense since no other gui
properties live at the root.
2021-03-26 10:45:47 +00:00
Lars Toenning
b8b2c296c8 Fix spelling mistake 2021-03-12 10:25:42 +00:00
James Turner
8ede81e4bd Error-reporting strings, MP enable UI
Add a checkbox to the MP dialog to control reporting of errors
relating to MP pilots
2021-03-07 13:16:02 +00:00
Stuart Buchanan
40603267fb WS30 : Line feature rendering control by LoD
Add properties to control the minimum width of line
features that will be rendered for a given LoD level.
2021-03-06 17:22:22 +00:00
Julian Smith
beee534b09 With Continuous recording, control whether to record the user aircraft.
E.g. for recording a group flight, significantly reduces recording size because
user aircraft signals info is very detailed compared to multiplayer packets.
2021-03-06 10:50:55 +00:00
Julian Smith
17d0472376 Updated flightrecorder properties and disabled recovery snapshot by default.
Has been causing confusion when fgtape dir is not writable.
2021-02-27 11:55:41 +00:00
Stuart Buchanan
721f7cef00 WS30 Line Features
Move some WS3.0 LoD settings to the static-lod dialog.
2021-02-24 21:57:48 +00:00
Julian Smith
411ac4a0a8 Added control of property/window/view record/replay with Continuous recordings.
This supports new record/replay of properties and windows/views in recent
flightgear commit.
2021-02-13 12:15:51 +00:00
Stuart Buchanan
355a75b6a1 WS30: Random vegetation LOD control
Control the LOD level that random vegetation is
generated for WS3.0.
2021-02-09 18:17:29 +00:00
Guillaume Deshors
5025cc3ae1 allow stereoscopic gui to update new property to autoadjust aspect ratio when stereo osg view is split 2021-02-03 09:40:11 +00:00
Stuart Buchanan
c9428e0beb OSM2City: Add Details and Trees directories
Update defaults.xml and Rendering dialog to include
Details and Trees directories, for use by osm2city
2021-02-02 15:56:07 +00:00
Stuart Buchanan
9c556e5425 WS30: Add WS30 controls to rendering dialog 2021-02-02 15:20:58 +00:00
Julian Smith
4db50617ca Added 'Still View', a new core view, number 8.
This view is like Helicopter View except that it does not change the view
heading to match the aircraft, which makes it work much better for vertical
flight, e.g. with the shuttle.

The new view is disabled by default.

Nasal/view.nas
    contains the new view config.
defaults.xml:
    Added view 8 to list of views for which we default to Helicopter view's
    target offsets (so that they look at the centre of the aircraft).
2021-01-29 16:56:29 +00:00
Stuart Buchanan
dd80c82747 WS30: Property configuration VPB
Configure the VPB elevation mesh via properties:
/scenery/elevation-mesh/sample-ratio controls the elevation
mesh sampling, allowing reduction in mesh size

/scenery/elevation-mesh/vertical-scale is just for fun and
scales the mesh vertically making mountains taller.

/scenery/elevation-mesh/constraint-gap-m controls how much below
airports etc. elevation vertices are forced to be.
2021-01-27 20:05:49 +00:00
Erik Hofman
9872ac5c55 Always enable ALS and remove the texture selection option in the rendering menu: the only one left is regioanal texturing. 2021-01-18 09:05:05 +01:00
Stuart Buchanan
76dace359a Remove terrain simplifier - now redundant 2021-01-17 14:28:54 +00:00