CylonSB / bounded-planet

Test Game Please Ignore
6 stars 1 forks source link

Stream World Terrain #47

Open martindevans opened 3 years ago

martindevans commented 3 years ago

Instead of loading the world mesh at startup time (in the setup_world_mesh_data system) and storing the entire world in memory, stream in tiles as they are needed. Keep an in memory LRU cache of recently used tiles. Also consider storing mesh data in an on-disk cache.