Advertisement

Rex引擎原理分析与瓦片组织方式

阅读量:

目标:(一二五)中问题212

通过如下确定瓦片的组织方式 ,核心是profile

复制代码
 osgEarth/Map.cpp

    
 void
    
 Map::calculateProfile()
    
 {
    
     // collect the terrain layers; we will need them later
    
     TerrainLayerVector layers;
    
     getLayers(layers);
    
  
    
     // Figure out the map profile:
    
     if ( !_profile.valid() )
    
     {
    
     osg::ref_ptr<const Profile> profile;
    
  
    
     // Do the map options contain a profile? If so, try to use it:
    
     if ( _mapOptions.profil

全部评论 (0)

还没有任何评论哟~