1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-02-11 10:08:27 +00:00
openmw/components/terrain
Bo Svensson 5f1bf89369
improves groundcover view distance (#3219)
This PR aims to solve all issues with `Groundcover` view distance handling in a satisfying way while preserving other optimisations that benefit other features. The main idea here is not to rely on `ViewData` updates for distance culling calculations because we can not accurately determine distance against lazily updated views. Instead, we perform an accurate measurement in a cull callback we can run every frame in `Groundcover` itself. While we do have to add some code to handle this feature, it is quite loosely coupled code that could be useful elsewhere in the future. These changes should address a performance regression @akortunov experienced.
2021-11-08 10:27:42 +01:00
..
buffercache.cpp improves groundcover view distance (#3219) 2021-11-08 10:27:42 +01:00
buffercache.hpp
cellborder.cpp
cellborder.hpp
chunkmanager.cpp improves groundcover view distance (#3219) 2021-11-08 10:27:42 +01:00
chunkmanager.hpp
compositemaprenderer.cpp
compositemaprenderer.hpp
defs.hpp
material.cpp
material.hpp
quadtreenode.cpp improves groundcover view distance (#3219) 2021-11-08 10:27:42 +01:00
quadtreenode.hpp improves groundcover view distance (#3219) 2021-11-08 10:27:42 +01:00
quadtreeworld.cpp improves groundcover view distance (#3219) 2021-11-08 10:27:42 +01:00
quadtreeworld.hpp improves groundcover view distance (#3219) 2021-11-08 10:27:42 +01:00
storage.hpp
terraindrawable.cpp
terraindrawable.hpp
terraingrid.cpp
terraingrid.hpp
texturemanager.cpp
texturemanager.hpp
viewdata.cpp improves groundcover view distance (#3219) 2021-11-08 10:27:42 +01:00
viewdata.hpp improves groundcover view distance (#3219) 2021-11-08 10:27:42 +01:00
world.cpp
world.hpp