WS30: Random vegetation LOD control
Control the LOD level that random vegetation is generated for WS3.0.
This commit is contained in:
parent
58944c3aa8
commit
355a75b6a1
2 changed files with 47 additions and 0 deletions
|
@ -121,6 +121,7 @@ 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>
|
||||
|
|
|
@ -282,6 +282,51 @@
|
|||
</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>
|
||||
|
@ -1255,6 +1300,7 @@
|
|||
"/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",
|
||||
|
|
Loading…
Reference in a new issue