osgearth icon indicating copy to clipboard operation
osgearth copied to clipboard

Performance issue with XYZImageLayer

Open wuvalue opened this issue 1 year ago • 1 comments

image when I use google image ,the load speed is slow ,if i not set osgearth cache in osgearth 3.

wuvalue avatar Aug 20 '22 07:08 wuvalue

A couple things you can try when you first create your MapNode... You can try adding more tile loading threads:

mapNode->getTerrainOptions().setConcurrency(16);

You could also try progressive mode, which forces the tiles to load in resolution order:

mapNode->getTerrainOptions().setProgressive(true);

You can also try running osgearth_imgui and opening the Network Monitor to see if you are network-limited. Good luck.

gwaldron avatar Aug 22 '22 19:08 gwaldron