Data files for graphics-presets
This commit is contained in:
parent
60de4470cd
commit
3943fcb9cc
5 changed files with 160 additions and 0 deletions
0
Video/custom-preset.xml
Normal file
0
Video/custom-preset.xml
Normal file
35
Video/graphics-properties.xml
Normal file
35
Video/graphics-properties.xml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Declare behaviour of various graphics properties. This captures
|
||||||
|
information common to all the different graphics presets, and
|
||||||
|
avoids hard-coding these lists in C++.
|
||||||
|
|
||||||
|
Various lists need to be defined:
|
||||||
|
|
||||||
|
- the 'scenery reload required' list : properties which do not take effect until
|
||||||
|
the scenery is reloaded
|
||||||
|
- the 'restart required' list : properties which only take ffect upon restarting
|
||||||
|
the simulator.
|
||||||
|
|
||||||
|
In each case, the property paths are treated as prefixes; i.e any concrete property
|
||||||
|
whose full path matches one of these prefixes, will be considered as within that
|
||||||
|
particular list.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<scenery-reload-required>
|
||||||
|
<property></property>
|
||||||
|
</scenery-reload-required>
|
||||||
|
|
||||||
|
<restart-required>
|
||||||
|
<property></property>
|
||||||
|
</restart-required>
|
||||||
|
|
||||||
|
<save-to-file>
|
||||||
|
<property>/sim/rendering/shadows/enabled</property>
|
||||||
|
<property>/sim/rendering/shaders/*</property>
|
||||||
|
<property>/sim/rendering/clouds3d-enable</property>
|
||||||
|
<property>/sim/rendering/shaders/skydome</property>
|
||||||
|
<property>/sim/rendering/particles</property>
|
||||||
|
</save-to-file>
|
||||||
|
</PropertyList>
|
42
Video/high-quality-preset.xml
Normal file
42
Video/high-quality-preset.xml
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
|
||||||
|
<id>high-quality</id>
|
||||||
|
<name>High</name>
|
||||||
|
<description>Adds more vegetation, clouds and weather effects incluing rain and snow.
|
||||||
|
Increases fine detail of water, land and aircraft models.
|
||||||
|
</description>
|
||||||
|
|
||||||
|
|
||||||
|
<settings>
|
||||||
|
<sim>
|
||||||
|
<rendering>
|
||||||
|
<shaders>
|
||||||
|
<custom-settings type="bool">true</custom-settings>
|
||||||
|
<generic type="float">1</generic>
|
||||||
|
<landmass type="float">6</landmass>
|
||||||
|
<model type="float">3</model>
|
||||||
|
<contrails type="float">1</contrails>
|
||||||
|
<crop type="float">1</crop>
|
||||||
|
<skydome type="bool">true</skydome>
|
||||||
|
<transition type="float">6</transition>
|
||||||
|
<urban type="float">4</urban>
|
||||||
|
<water type="float">5</water>
|
||||||
|
<wind-effects type="float">2</wind-effects>
|
||||||
|
<forest type="float">1</forest>
|
||||||
|
<lights type="float">1</lights>
|
||||||
|
<quality-level-internal type="float">1</quality-level-internal>
|
||||||
|
</shaders>
|
||||||
|
<clouds3d-enable type="bool">true</clouds3d-enable>
|
||||||
|
<shadows>
|
||||||
|
<enabled type="bool">true</enabled>
|
||||||
|
</shadows>
|
||||||
|
<foobar type="int">43</foobar>
|
||||||
|
</rendering>
|
||||||
|
</sim>
|
||||||
|
</settings>
|
||||||
|
|
||||||
|
|
||||||
|
</PropertyList>
|
||||||
|
|
40
Video/low-quality-preset.xml
Normal file
40
Video/low-quality-preset.xml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
|
||||||
|
<id>low-quality</id>
|
||||||
|
<name>Low</name>
|
||||||
|
<description>Basic settings for very low-power laptops. Clouds will be
|
||||||
|
shown as simple layers, and distant objects will not be visible.
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<settings>
|
||||||
|
<sim>
|
||||||
|
<rendering>
|
||||||
|
<shaders>
|
||||||
|
<custom-settings type="bool">true</custom-settings>
|
||||||
|
<generic type="float">1</generic>
|
||||||
|
<landmass type="float">6</landmass>
|
||||||
|
<model type="float">3</model>
|
||||||
|
<contrails type="float">1</contrails>
|
||||||
|
<crop type="float">1</crop>
|
||||||
|
<skydome type="bool">true</skydome>
|
||||||
|
<transition type="float">6</transition>
|
||||||
|
<urban type="float">4</urban>
|
||||||
|
<water type="float">5</water>
|
||||||
|
<wind-effects type="float">2</wind-effects>
|
||||||
|
<forest type="float">1</forest>
|
||||||
|
<lights type="float">1</lights>
|
||||||
|
<quality-level-internal type="float">1</quality-level-internal>
|
||||||
|
</shaders>
|
||||||
|
<clouds3d-enable type="bool">true</clouds3d-enable>
|
||||||
|
<shadows >
|
||||||
|
<enabled type="bool">true</enabled>
|
||||||
|
</shadows>
|
||||||
|
</rendering>
|
||||||
|
</sim>
|
||||||
|
</settings>
|
||||||
|
|
||||||
|
|
||||||
|
</PropertyList>
|
||||||
|
|
43
Video/medium-quality-preset.xml
Normal file
43
Video/medium-quality-preset.xml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
|
||||||
|
<id>medium-quality</id>
|
||||||
|
<name>Medium</name>
|
||||||
|
<description>Tradeoff between visual quality and performance: 3D clouds and
|
||||||
|
vegetation are enabled, along with some scenery objects, but the quantity
|
||||||
|
and quality are restricted to work on older computers and laptops.
|
||||||
|
</description>
|
||||||
|
|
||||||
|
|
||||||
|
<settings>
|
||||||
|
<sim>
|
||||||
|
<rendering>
|
||||||
|
<shaders>
|
||||||
|
<custom-settings type="bool">true</custom-settings>
|
||||||
|
<generic type="float">1</generic>
|
||||||
|
<landmass type="float">6</landmass>
|
||||||
|
<model type="float">3</model>
|
||||||
|
<contrails type="float">1</contrails>
|
||||||
|
<crop type="float">1</crop>
|
||||||
|
<skydome type="bool">true</skydome>
|
||||||
|
<transition type="float">6</transition>
|
||||||
|
<urban type="float">4</urban>
|
||||||
|
<water type="float">5</water>
|
||||||
|
<wind-effects type="float">2</wind-effects>
|
||||||
|
<forest type="float">1</forest>
|
||||||
|
<lights type="float">1</lights>
|
||||||
|
<quality-level-internal type="float">1</quality-level-internal>
|
||||||
|
</shaders>
|
||||||
|
<clouds3d-enable type="bool">true</clouds3d-enable>
|
||||||
|
<shadows >
|
||||||
|
<enabled type="bool">true</enabled>
|
||||||
|
</shadows>
|
||||||
|
<foobar type="int">42</foobar>
|
||||||
|
</rendering>
|
||||||
|
</sim>
|
||||||
|
</settings>
|
||||||
|
|
||||||
|
|
||||||
|
</PropertyList>
|
||||||
|
|
Loading…
Reference in a new issue