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.
This commit is contained in:
parent
580c375d4b
commit
dd80c82747
2 changed files with 74 additions and 1 deletions
|
@ -1325,6 +1325,11 @@ Started September 2000 by David Megginson, david@megginson.com
|
||||||
<share-events type="bool" userarchive="y">false</share-events>
|
<share-events type="bool" userarchive="y">false</share-events>
|
||||||
<events type="string"/>
|
<events type="string"/>
|
||||||
<use-vpb type="bool">false</use-vpb>
|
<use-vpb type="bool">false</use-vpb>
|
||||||
|
<elevation-mesh>
|
||||||
|
<sample-ratio type="float" userarchive="y">1.0</sample-ratio>
|
||||||
|
<vertical-scale type="float" userarchive="y">1.0</vertical-scale>
|
||||||
|
<constraint-gap-m type="float" userarchive="y">1.0</constraint-gap-m>
|
||||||
|
</elevation-mesh>
|
||||||
</scenery>
|
</scenery>
|
||||||
<earthview>
|
<earthview>
|
||||||
<cloudsphere-flag type="bool" userarchive="y">true</cloudsphere-flag>
|
<cloudsphere-flag type="bool" userarchive="y">true</cloudsphere-flag>
|
||||||
|
|
|
@ -181,7 +181,7 @@
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<text>
|
<text>
|
||||||
<label>Maximum number of aircraft and scenery tiles</label>
|
<label>Maximum number of aircraft and scenery tiles cached</label>
|
||||||
</text>
|
</text>
|
||||||
<slider>
|
<slider>
|
||||||
<name>max-plod</name>
|
<name>max-plod</name>
|
||||||
|
@ -218,6 +218,72 @@
|
||||||
</visible>
|
</visible>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>right</halign>
|
||||||
|
<visible>
|
||||||
|
<equals>
|
||||||
|
<property>/scenery/use-vpb</property>
|
||||||
|
<value>true</value>
|
||||||
|
</equals>
|
||||||
|
</visible>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Elevation mesh sampling ratio</label>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>elev-sample</name>
|
||||||
|
<min>0.05</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.05</step>
|
||||||
|
<fraction>0.17</fraction>
|
||||||
|
<property>/scenery/elevation-mesh/sample-ratio</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>elev-sample</object-name>
|
||||||
|
</binding>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/scenery/elevation-mesh/sample-ratio</property>
|
||||||
|
</text>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>right</halign>
|
||||||
|
<visible>
|
||||||
|
<equals>
|
||||||
|
<property>/scenery/use-vpb</property>
|
||||||
|
<value>true</value>
|
||||||
|
</equals>
|
||||||
|
</visible>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Elevation delta below airports</label>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>elev-delta</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>20.0</max>
|
||||||
|
<step>1.0</step>
|
||||||
|
<fraction>0.17</fraction>
|
||||||
|
<property>/scenery/elevation-mesh/constraint-gap-m</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>elev-delta</object-name>
|
||||||
|
</binding>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%2dm</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/scenery/elevation-mesh/constraint-gap-m</property>
|
||||||
|
</text>
|
||||||
|
</group>
|
||||||
|
|
||||||
<empty>
|
<empty>
|
||||||
<stretch>1</stretch>
|
<stretch>1</stretch>
|
||||||
</empty>
|
</empty>
|
||||||
|
@ -1091,6 +1157,8 @@
|
||||||
"/sim/rendering/vegetation-density",
|
"/sim/rendering/vegetation-density",
|
||||||
"/sim/rendering/clouds3d-enable",
|
"/sim/rendering/clouds3d-enable",
|
||||||
"/sim/rendering/clouds3d-density",
|
"/sim/rendering/clouds3d-density",
|
||||||
|
"/scenery/elevation-mesh/sample-ratio",
|
||||||
|
"/scenery/elevation-mesh/constraint-gap-m",
|
||||||
"/sim/rendering/scenery-path-suffix[0]/enabled",
|
"/sim/rendering/scenery-path-suffix[0]/enabled",
|
||||||
"/sim/rendering/scenery-path-suffix[1]/enabled",
|
"/sim/rendering/scenery-path-suffix[1]/enabled",
|
||||||
"/sim/rendering/scenery-path-suffix[2]/enabled",
|
"/sim/rendering/scenery-path-suffix[2]/enabled",
|
||||||
|
|
Loading…
Add table
Reference in a new issue