xiaol_deng 发表于 2013-7-15 09:17:59

使用osgearth+vpb遇到的难题!

想使用vpb工具切片并建立金字塔,可是使用的过程中遇到了一些困难希望论坛里的大虾们帮着解决一下!
我的earth文件如下:
<!--
osgEarth Sample

Overlay a local imagery file on top of an existing VirtualPlanBuilder database.
Zoom in to the city of Boston (east coast of the US) to see the inset.
-->

<map name="Virtual Planet Builder inset" type="geocentric" version="2">

    <image name="imagery layer 0" driver="vpb">
      <url>E:\vs2010Progam Files\osgVR74\osgVR74\world.ive</url>
      <primary_split_level>5</primary_split_level>
      <secondary_split_level>11</secondary_split_level>
    </image>
       
    <image name="vpb hires inset" driver="gdal">          
<url>E:\vs2010Progam Files\osgVR74\osgVR74\world.tif</url>
    </image>
       
    <options>
      <lighting>false</lighting>
    </options>
   
</map>
其实就是照着例子来的。可是出现下面的问题:


不知道什么原因导致!而且我使用cmd命令行时也报错:

球各位大神解答啊!在线等

xiaol_deng 发表于 2013-7-15 09:18:58

人工置顶!

xiaol_deng 发表于 2013-7-15 09:19:40

:hug::hug::hug:

buaalb 发表于 2013-8-24 09:19:57

xiaol_deng 发表于 2013-7-15 09:19 static/image/common/back.gif


<map name="Virtual Planet Builder model" type="geocentric" version="2">

    <image name="imagery layer 0" driver="vpb">
      <url>D:/vpb/output.ive</url>
      <primary_split_level>1</primary_split_level>
    </image>

    <heightfield name="dem" driver="vpb">
      <url>D:/vpb/output.ive</url>
         <primary_split_level>1</primary_split_level>
    </heightfield>
        <dem>
        </dem>
   
    <options>
      <lighting>false</lighting>
    </options>

</map>

buaalb 发表于 2013-8-24 09:21:07

xiaol_deng 发表于 2013-7-15 09:19 static/image/common/back.gif


你按照这个试试,earth例子里面有这个的写法,专门加载.ive的静态地球,数据库的分层按照你原来的写
页: [1]
查看完整版本: 使用osgearth+vpb遇到的难题!