3DBAG / 3dbag-viewer

https://3dbag.nl
GNU General Public License v3.0
36 stars 11 forks source link

Terrain tiles: limit memory use #25

Open Ylannl opened 4 years ago

Ylannl commented 4 years ago

We should limit the maximum size for the activeTiles variable in TilesRenderer.js. It can get pretty big now if you keep panning in the same matrix level.

Ylannl commented 3 years ago

this seems to be less of an issue since #20 was merged

jliempt commented 2 years ago

Terrain tiles were not being disposed properly. This has been addressed in the feature/colormap branch, and using a Three.js browser-plugin shows that there are now less objects in the scene. But haven't profiled if the whole issue is gone.