1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-06 09:39:49 +00:00
elsid 05b54cbfb8
Cull navmesh objects by scene bounds
If object is too big iteration over all tiles covering it can take too much
time. Limit bounds to a square around a player position to cover only tiles
that will be present in navmesh based on max tiles number option.

Each object is associated with a set of tiles its present in. Culling can
reduce this set but it has to be update when bounds change position. Do this
in TileCachedRecastMeshManager::setBounds updating the set and adding/removing
objects to the corresponding CachedRecastMeshManagers.
2022-02-03 22:09:37 +01:00
..
2017-04-13 22:33:13 +09:00
2019-02-19 18:40:33 +03:00
2013-04-28 14:59:15 +02:00
2019-02-23 08:02:12 +04:00
2019-02-19 18:40:33 +03:00
2021-10-20 23:02:15 +02:00
2022-01-23 17:30:25 +01:00
2022-01-23 17:30:25 +01:00
2021-10-11 13:46:21 +02:00
2019-08-25 15:21:00 +02:00
2022-01-23 17:30:25 +01:00
2021-04-30 20:49:22 +02:00
2022-01-23 17:30:25 +01:00
2021-10-25 09:08:50 +02:00
2021-11-04 17:48:21 -04:00
2022-02-03 22:09:37 +01:00
2015-03-06 21:36:42 +13:00
2022-01-23 17:30:25 +01:00