diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-10-04 21:08:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 21:08:54 +0200 |
commit | b6e205f7ef32f7b82644043d82a808e67cc9acb2 (patch) | |
tree | 92557d47e14c4f57365f331ccff9d666d184a4a9 /src/common/Logging/Log.cpp | |
parent | 5be7c2ad4f7cd561951e1285227211e03886703f (diff) |
Tools/MMapsGenerator: Add some more input parameters to improve mmaps load performances (#25520)
* Some research about mmaps load performances
* Tools/MMapsGenerator: Add some more input parameters
Add some more input parameters which affect the resulting mmaps:
- --smallOutputSize: sets both walkableSlopeAngle and walkableSlopeAngleNotSteep to 55°, reducing by a lot the .mmtile size and the number of polys. A rcFilterLedgeSpans() call is included too to filter out some polys. Default to false.
- --maxAngle: Restore this parameter removed some commits ago. Specifies the max walkable angle of a Creature when in combat. Default to 85
- --maxAngleNotSteep: Max walkable angle of a Player and of a Creature out of combat. Must be less or equal than --maxAngle. Default to 55.
A performance profiling comparison highlighted that .mmtile load grows exponential with the number of polys. A small server with GridUnload enabled and without preloading all grids on startup will be more affected than a big server with GridUnload disabled and preloading grids on startup.
Diffstat (limited to 'src/common/Logging/Log.cpp')
0 files changed, 0 insertions, 0 deletions