1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00

Merge the 'debug chunks' and 'object paging debug batches' settings into a single one

This commit is contained in:
Cédric Mocquillon 2021-09-08 19:59:53 +02:00
parent 4b7d0bba53
commit 080c909c28
2 changed files with 5 additions and 11 deletions

View File

@ -390,7 +390,7 @@ namespace MWRender
, mRefTrackerLocked(false)
{
mActiveGrid = Settings::Manager::getBool("object paging active grid", "Terrain");
mDebugBatches = Settings::Manager::getBool("object paging debug batches", "Terrain");
mDebugBatches = Settings::Manager::getBool("debug chunks", "Terrain");
mMergeFactor = Settings::Manager::getFloat("object paging merge factor", "Terrain");
mMinSize = Settings::Manager::getFloat("object paging min size", "Terrain");
mMinSizeMergeFactor = Settings::Manager::getFloat("object paging min size merge factor", "Terrain");

View File

@ -107,7 +107,10 @@ debug chunks
:Range: True/False
:Default: False
This debug setting allows you to see the borders of each chunks of the world by drawing lines arround them (as with toggleborder).
This debug setting allows you to see the borders of each chunks of the world by drawing lines arround them (as with toggleborder).
If object paging is set to true then this debug setting will allows you to see what objects have been merged in the scene
by making them colored randomly.
object paging
-------------
@ -203,12 +206,3 @@ object paging min size cost multiplier
This setting adjusts the calculated cost of merging an object used in the mentioned functionality.
The larger this value is, the less expensive objects can be before they are discarded.
See the formula above to figure out the math.
object paging debug batches
---------------------------
:Type: boolean
:Range: True/False
:Default: False
This debug setting allows you to see what objects have been merged in the scene
by making them colored randomly.