1
0
Fork 0

WS30 Line Features

Move some WS3.0 LoD settings to the static-lod dialog.
This commit is contained in:
Stuart Buchanan 2021-02-24 21:57:48 +00:00
parent 6f77bd914f
commit 721f7cef00
3 changed files with 100 additions and 47 deletions

View file

@ -114,6 +114,8 @@ Started September 2000 by David Megginson, david@megginson.com
<aimp-detailed type="double" userarchive="y">400</aimp-detailed>
<aimp-bare type="double" userarchive="y">0</aimp-bare>
<aimp-interior type="double" userarchive="y">200</aimp-interior>
<line-features-lod-level type="int" userarchive="y">5</line-features-lod-level>
<vegetation-lod-level type="int" userarchive="y">6</vegetation-lod-level>
</static-lod>
<random-objects type="bool" userarchive="y">true</random-objects>
<random-vegetation type="bool" userarchive="y">true</random-vegetation>
@ -121,7 +123,6 @@ Started September 2000 by David Megginson, david@megginson.com
<random-vegetation-normals type="bool" userarchive="y">false</random-vegetation-normals>
<random-vegetation-optimize type="bool" userarchive="y">false</random-vegetation-optimize>
<vegetation-density type="double" userarchive="y">1.0</vegetation-density>
<vegetation-lod type="int" userarchive="y">6</vegetation-lod>
<random-buildings type="bool" userarchive="y">false</random-buildings>
<osm-buildings type="bool" userarchive="y">false</osm-buildings>
<building-density type="double" userarchive="y">1.0</building-density>

View file

@ -282,51 +282,6 @@
</text>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<label>Vegetation LoD level</label>
</text>
<slider>
<name>vegetation-lod</name>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<min>1</min>
<max>6</max>
<step>1</step>
<fraction>0.15</fraction>
<property>/sim/rendering/vegetation-lod</property>
<binding>
<command>dialog-apply</command>
<object-name>vegetation-lod</object-name>
</binding>
</slider>
<text>
<label>1234567890</label>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<format>%d</format>
<live>true</live>
<property>/sim/rendering/vegetation-lod</property>
</text>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
@ -1300,7 +1255,6 @@
"/sim/rendering/random-vegetation",
"/sim/rendering/random-vegetation-shadows",
"/sim/rendering/vegetation-density",
"/sim/rendering/vegetation-lod",
"/sim/rendering/clouds3d-enable",
"/sim/rendering/clouds3d-density",
"/scenery/use-vpb",

View file

@ -6,6 +6,8 @@
<![CDATA[
var reload_props = [
"/sim/rendering/static-lod/vegetation-lod-level",
"/sim/rendering/static-lod/line-features-lod-level",
"/sim/rendering/static-lod/rough-delta",
"/sim/rendering/static-lod/bare-delta"];
@ -576,8 +578,104 @@
<live>true</live>
<property>/sim/rendering/static-lod/aimp-interior</property>
</text>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<halign>center</halign>
<text>
<label>WS3.0</label>
</text>
</group>
<group>
<layout>hbox</layout>
<halign>center</halign>
<text>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<label>Line Feature LOD Range</label>
</text>
<slider>
<name>line-lod</name>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<min>1.0</min>
<max>8.0</max>
<step>1.0</step>
<fraction>0.17</fraction>
<property>/sim/rendering/static-lod/line-features-lod-level</property>
<binding>
<command>dialog-apply</command>
<object-name>line-lod</object-name>
</binding>
</slider>
<text>
<label>1234567890</label>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<format>%d</format>
<live>true</live>
<property>/sim/rendering/static-lod/line-features-lod-level</property>
</text>
</group>
<group>
<layout>hbox</layout>
<halign>center</halign>
<text>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<label>Vegetation LOD Range</label>
</text>
<slider>
<name>veg-lod</name>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<min>1.0</min>
<max>8.0</max>
<step>1.0</step>
<fraction>0.17</fraction>
<property>/sim/rendering/static-lod/vegetation-lod-level</property>
<binding>
<command>dialog-apply</command>
<object-name>veg-lod</object-name>
</binding>
</slider>
<text>
<label>1234567890</label>
<enable>
<equals>
<property>/scenery/use-vpb</property>
<value>true</value>
</equals>
</enable>
<format>%d</format>
<live>true</live>
<property>/sim/rendering/static-lod/vegetation-lod-level</property>
</text>
</group>
<hrule/>