Hi,
I imitate the example in the tests folder:wms_jpl_landsat.earth.
The source code:
<!--
osgEarth Sample
This example pulls imagery and dems from an online VirtualPlanetBuilder
generated database.
-->
<map name="Virtual Planet Builder model" type="geocentric" version="2">
<image name="imagery layer 0" driver="vpb">
<url>http://www.openscenegraph.org/data/earth_bayarea/earth.ive</url>
<primary_split_level>5</primary_split_level>
<secondary_split_level>11</secondary_split_level>
</image>
<heightfield name="dem" driver="vpb">
<url>http://www.openscenegraph.org/data/earth_bayarea/earth.ive</url>
</heightfield>
<options>
<lighting>false</lighting>
<cache_policy usage="no_cache"/>
</options>
</map>
My code:
<!--
osgEarth Sample
This example pulls imagery and dems from an online VirtualPlanetBuilder
generated database.
-->
<map name="Virtual Planet Builder model" type="geocentric" version="2">
<image name="imagery layer 0" driver="vpb">
<url>D:/3D/my.ive</url>
<!-- change -->
<primary_split_level>5</primary_split_level>
<secondary_split_level>11</secondary_split_level>
</image>
<heightfield name="dem" driver="vpb">
<url> D:/3D/my.ive </url>
<!-- change -->
</heightfield>
<options>
<lighting>false</lighting>
<cache_policy usage="no_cache"/>
</options>
</map>
Why my ecode is wrong??
thanks!
makn_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org