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

View file

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