cajun, The terrain is a quadtree of tiles, with 2 tiles at the root level (for a round whole-earth terrain). Theses are tile keys (0/0/0) and (0/1/0). As you move the camera closer, a tile subdivides into 4 smaller tiles (its children), each with twice the resolution of the parent tile. Each tile has a range (i.e. distance from the camera) at which it will disappear and be replaced by its higher-resolution children. When you zoom out, similarly, the tile will revert back to its lower-resolution parent.
There is an osgEarth-specific forum you can peruse as well: http://forum.osgearth.org Hope this helps. Glenn Waldron / @glennwaldron / osgEarth.org On Mon, Dec 10, 2012 at 11:51 PM, caijun <caijun2002...@126.com> wrote: > Hello,everyone! > > I am studying the osgearth code now.I want to know how the osgearth > judges the terrain's tilekey info,which terrainNode it is going to load! > Can you tell me how it works? > > thanks very much! > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org