Amerio.Stephane Posted December 6, 2021 Posted December 6, 2021 Hello, Landscape is absolutely wonderful as a terrain surface, giving us a lot of high quality details... in front of the player. But as soon as you make a quick turn-around, then it can take a whole second or more before all layers are loaded. This can be bad, especially when your scenario involves frequent and rapid 180° turn (think fire-forget-evade maneuvers in battle). Could Landscape be enhanced to load and cache not just what is in front of the player, but all around it (maybe degrading the actual LOD distance to conserve memory). If this settings already exists and I missed it, or some easy code can implement this, all the better! Thanks!
silent Posted December 7, 2021 Posted December 7, 2021 Hi Stephane, Described use-case is quite straightforward, however due to the nature of the LandscapeTerrain (it's always streaming something) it may be hard to achieve the desired results (especially if you are using multiple viewports on the same engine instance at once). First of all, we do recommend to take a look at the documentation article about LT settings and optimizations hints: https://developer.unigine.com/en/docs/2.14.1/objects/objects/terrain/landscape_terrain/settings The most obvious way would be to increase cache size and lifetime (that would mean higher VRAM / RAM) usage, that should in theory help to cache already streamed tiles and therefore increase it's streaming speed in case of rapid movements. Alternative solution is to reduce overall details quality and amount of data needs to be streamed per frame. Also enabling terrain compression (in case of a good compression ratio) should increase streaming speed as well. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts