1. 程式人生 > >osgEarth的Rex引擎原理分析(十)earth檔案中都有哪些options

osgEarth的Rex引擎原理分析(十)earth檔案中都有哪些options

目標:(九)中問題9

通過在earth檔案中搜索options,發現主要有這麼幾種:

<options>
        <profile>
            <srs>+proj=aeqd +lat_0=90 +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs</srs>
            <xmin>-17500000</xmin>
            <xmax> 17500000</xmax>
            <ymin>-17500000</ymin>
            <ymax> 17500000</ymax>
        </profile>
        <terrain driver="rex" color="#ffffff00" tile_size="17"/>
</options>
<options>
        <profile>plate-carre</profile>
</options>
<options>
        <lighting>false</lighting>
</options>
<options lighting="false" name="Boston Demo" type="geocentric">
    <terrain first_lod="1" high_resolution_first="true" skirt_ratio="0.2" tile_size="17" />
    <cache path="../../SXEarth4.0.0/data/cache_dir" type="filesystem" />
</options>
<options elevation_tile_size="8">
		<profile srs="+proj=utm +zone=19 +ellps=GRS80 +units=m +no_defs"
		         xmin="291343" xmax="367343"
				 ymin="4653876" ymax="4722276"
                 num_tiles_wide_at_lod_0="1"
				 num_tiles_high_at_lod_0="1"/>
		<overlay_blending>false</overlay_blending>
</options>
<options>
        <terrain normal_maps="true"/>
</options>
<options>
        <profile srs="+proj=longlat +ellps=clrk66 +datum=NAD27 +no_defs"/>
</options> 
<options>
        <lighting>false</lighting>
        <overlay_blending>false</overlay_blending>
        <terrain min_lod="8"/>
</options>
<options>
        <terrain vertical_scale="3"/>
</options>
<options>
        <terrain attenuation_distance="6000000"/>
</options>
<options>
        <lighting>false</lighting>
        <terrain>
            <min_tile_range_factor>8</min_tile_range_factor>
        </terrain>
</options>
<options>
        <terrain>
            <cluster_culling>false</cluster_culling>
            <skirt_ratio>0.0</skirt_ratio>
        </terrain>
</options>
<options>        
        <terrain driver                = "rex"
                 tile_size             = "17"
                 merges_per_frame      = "4"
                 morph_terrain         = "true"
                 morph_imagery         = "true"
                 high_resolution_first = "true"
                 progressive           = "false"
                 skirt_ratio           = "0.0"
                 normal_maps           = "true">
        </terrain>
</options>
<options>        
        <terrain driver="mp">
        </terrain>
</options>
<options>
        <profile>
            <srs>epsg:4326</srs>
            <vdatum>egm96</vdatum>
        </profile>
        <terrain>
            <lighting>false</lighting>
        </terrain>
</options>

待繼續分析列表:

1、osg是如何根據副檔名尋找需要載入的動態連結庫外掛的((一)中問題)

2、載入動態庫外掛的過程是什麼((一)中問題)

3、osgDB::Registry的作用是什麼((一)中問題)

4、.earth檔案如何解析成Config((一)中問題)

5、地圖map圖層的構建過程((一)中問題)

6、地圖節點MapNode的構建過程((一)中問題)

7、osgDB::Registry和osgEarth::Registry的關係((四)中問題)

8、TerrainLayer和ElevationLayer的關係((七)中問題)

9、earth檔案中都有哪些options((九)中問題)

10、如何根據earth檔案options建立不同的地理資訊引擎節點((九)中問題)

11、rex地理資訊引擎的四樑八柱((九)中問題)