setting for field of view

pull/21/head
scrawl 13 years ago
parent 5f2a674d93
commit 39ee9e9ab8

@ -23,7 +23,7 @@ namespace MWRender {
RenderingManager::RenderingManager (OEngine::Render::OgreRenderer& _rend, const boost::filesystem::path& resDir, OEngine::Physic::PhysicEngine* engine, MWWorld::Environment& environment)
:mRendering(_rend), mObjects(mRendering), mActors(mRendering, environment), mAmbientMode(0)
{
mRendering.createScene("PlayerCam", 55, 5);
mRendering.createScene("PlayerCam", Settings::Manager::getFloat("fieldofview", "General"), 5);
mTerrainManager = new TerrainManager(mRendering.getScene(),
environment);

@ -1,5 +1,8 @@
[HUD]
[General]
# Camera field of view
fieldofview = 55
[HUD]
# FPS counter
# 0: not visible
# 1: basic FPS display
@ -7,7 +10,6 @@
fps = 0
[Objects]
shaders = true
# Max. number of lights that affect objects. Setting to 1 will only reflect sunlight
@ -18,7 +20,6 @@ num lights = 8
use static geometry = true
[Viewing distance]
# Limit the rendering distance of small objects
limit small object distance = false
@ -38,6 +39,5 @@ fog start factor = 0.5
fog end factor = 1.0
[Terrain]
# Max. number of lights that affect the terrain. Setting to 1 will only reflect sunlight
num lights = 8

Loading…
Cancel
Save