1
0
Fork 0

Improve LOD dialog.

Also enable LOD for AI/MP aircraft by default.
This commit is contained in:
ThorstenB 2011-10-03 12:04:53 +02:00
parent 308102a3f2
commit d281490ae1
2 changed files with 36 additions and 15 deletions

View file

@ -33,46 +33,67 @@
<halign>center</halign>
<text>
<row>0</row><col>1</col>
<label>Max. Range (m)</label>
<row>0</row><col>1</col><colspan>3</colspan>
<label>Max. Ranges (m)</label>
</text>
<text>
<row>1</row><col>0</col>
<halign>right</halign>
<row>1</row><col>1</col>
<label>Detailed</label>
</text>
<input>
<row>1</row><col>1</col>
<halign>fill</halign>
<property>/sim/rendering/static-lod/detailed</property>
</input>
<text>
<row>1</row><col>2</col>
<label>Rough</label>
</text>
<text>
<row>1</row><col>3</col>
<label>Bare</label>
</text>
<text>
<row>2</row><col>0</col>
<halign>right</halign>
<label>Rough</label>
<label>Scenery</label>
</text>
<input>
<row>2</row><col>1</col>
<halign>fill</halign>
<property>/sim/rendering/static-lod/detailed</property>
</input>
<input>
<row>2</row><col>2</col>
<halign>fill</halign>
<property>/sim/rendering/static-lod/rough</property>
</input>
<input>
<row>2</row><col>3</col>
<halign>fill</halign>
<property>/sim/rendering/static-lod/bare</property>
</input>
<text>
<row>3</row><col>0</col>
<halign>right</halign>
<label>Bare</label>
<label>AI/MP Aircraft</label>
</text>
<input>
<row>3</row><col>1</col>
<halign>fill</halign>
<property>/sim/rendering/static-lod/bare</property>
<property>/sim/rendering/static-lod/ai-detailed</property>
</input>
<!-- // meaningless for now...
<input>
<row>3</row><col>3</col>
<halign>fill</halign>
<property>/sim/rendering/static-lod/ai-bare</property>
</input>
-->
</group>
<hrule/>

View file

@ -85,13 +85,13 @@ Started September 2000 by David Megginson, david@megginson.com
DrawThreadPerContext
CullDrawThreadPerContext
CullThreadPerCameraDrawThreadPerContext
NOTE: Enabling this option currently breaks the screenshot function.
-->
<static-lod>
<detailed userarchive="y">1500</detailed>
<rough userarchive="y">9000</rough>
<bare userarchive="y">30000</bare>
<ai-detailed userarchive="y">10000</ai-detailed>
<!-- ai-bare userarchive="y">10000</ai-bare -->
</static-lod>
<random-objects type="bool"
userarchive="y">true</random-objects>