diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-10-04 21:08:54 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-04 20:44:02 +0100 |
commit | 782a943b385b7011186f3b22d5d4a48b4556813e (patch) | |
tree | 21a7d9640f42d5fac049c4d9457656fe40e31738 /src/tools/vmap4_assembler/VMapAssembler.cpp | |
parent | d58d0e895c6e22bcf40be5c38ff828c98a7600e6 (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.
(cherry picked from commit b6e205f7ef32f7b82644043d82a808e67cc9acb2)
Diffstat (limited to 'src/tools/vmap4_assembler/VMapAssembler.cpp')
0 files changed, 0 insertions, 0 deletions