Fix view distance slider

c++11
scrawl 10 years ago
parent 9a0db5d55a
commit c748ea7363

@ -345,7 +345,7 @@
<UserString key="SettingName" value="viewing distance"/> <UserString key="SettingName" value="viewing distance"/>
<UserString key="SettingValueType" value="Float"/> <UserString key="SettingValueType" value="Float"/>
<UserString key="SettingMin" value="2000"/> <UserString key="SettingMin" value="2000"/>
<UserString key="SettingMax" value="4600"/> <UserString key="SettingMax" value="6666"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="4 178 332 18" align="Left Top"> <Widget type="TextBox" skin="SandText" position="4 178 332 18" align="Left Top">
<Property key="Caption" value="#{sNear}"/> <Property key="Caption" value="#{sNear}"/>

@ -102,10 +102,10 @@ exterior grid size = 3
[Viewing distance] [Viewing distance]
# Viewing distance at normal weather conditions # Viewing distance at normal weather conditions
# The maximum distance with no pop-in will be: (see RenderingManager::configureFog) # The maximum distance with no pop-in will be: (see RenderingManager::configureFog)
# viewing distance / minimum weather fog depth (.69) * view frustum factor <= cell size (8192) - loading threshold (1024) # viewing distance * view frustum factor <= cell size (8192) - loading threshold (1024)
# view frustum factor takes into account that the view frustum end is a plane, so at the edges of the screen you can see further than you should be able to. # view frustum factor takes into account that the view frustum end is a plane, so at the edges of the screen you can see further than you should be able to.
# exact factor would depend on FOV # exact factor would depend on FOV
viewing distance = 4600 viewing distance = 6666
# Culling of objects smaller than a pixel # Culling of objects smaller than a pixel
small feature culling = true small feature culling = true

Loading…
Cancel
Save