mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
setting for field of view
This commit is contained in:
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…
x
Reference in New Issue
Block a user