How to accelerate the loading or rendering process of map tiles?

classic Classic list List threaded Threaded
2 messages Options
pskpg pskpg
Reply | Threaded
Open this post in threaded view
|

How to accelerate the loading or rendering process of map tiles?

Hi, Glenn!

I'm pskpg.

Now, I'm building a plane flight program with osgearth.  I am constructing an earth with local image tiles and a local elevation tms. This is the earth file:

my_earth.earth

But I found that, the earth can't finish loading or rendering the detail tiles timely when the plane flies by. Even though I drag the mouse away to another point, the earth will keep tearing up the low level (and blurry) tiles and updating high level tiles in almost several seconds!

I've checked google earth and several other earth software, and they can all refresh the image and terrain in very short time.

Could you give me some advice to accelerate it?

Thanks!
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: How to accelerate the loading or rendering process of map tiles?

You will get the fastest load performance by using data in the global-geodetic profile since it is the native rendering profile of osgEarth. Spherical-Mercator tilesets must be mosaiced and cropped for use by osgEarth so that takes more time to load.

Another thing you can try is to use progressive mode, which forces LOD N to load before LOD N+1. You can activate that with

<map>
   <options>
      <terrain progressive="true"/>

Good luck.
Glenn Waldron / Pelican Mapping