|
vpb编译成功了,运行下面代码
- osgdem -t D:\earthResource\image\zhejiang17.tif -d D:\earthResource\heightfield\ zhejiang17.tif -o out.ive --no-mip-mapping
复制代码
提示如下:
-
- -t D:\earthResource\image\zhejiang17.tif
- ADD: D:\earthResource\image\zhejiang17.tif
- -d D:\earthResource\heightfield\zhejiang17.tif
- ADD: D:\earthResource\heightfield\zhejiang17.tif
- -o out.ive
- Adding terrainTile
- DataSet::_run() 0 0
- Now checking for plug-in osgPlugins-3.4.0/osgdb_nvtt.dll
- DataSet::assignDestinationCoordinateSystem() : assigning first source file as the destination coordinate system
- started DataSet::createDestination(30)
- Time for after_reproject 0.000003
- local_extents = xMin() 120.020142 120.294800
- yMin() 30.124512 30.300293
- AR=1.562500 C1=2 R1=1
- createNewDestinationGraph
- Time for _destinationGraph->computeMaximumSourceResolution() = 0.036620
- Time for createDestinationGraph 0.229234
- Time for after_computeNeighbours 0.035749
- completed DataSet::createDestination(30)
- There are 2 contributing source files:
- D:\earthResource\heightfield\zhejiang17.tif
- D:\earthResource\image\zhejiang17.tif
- mkpath()
- Need to create output task directory = out_root_L0_X0_Y0
- Directory already created
- Task output directory = out_root_L0_X0_Y0\
- started DataSet::writeDestination(out.ive)
- _readRow 1
- reading tile level=0 X=0 Y=0
- imageName = out_L0_X0_Y0.dds
- DestinationTile::readFrom(SetName=, FileName=D:\earthResource\heightfield\zhejiang17.tif)
- DestinationTile::readFrom(SetName=, FileName=D:\earthResource\image\zhejiang17.tif)
- _equalizeRow 1
- equalizing tile level=0 X=0 Y=0
- _writeRow 1
- DestinationTile::createStateSet() - DataSet::NO_MIP_MAPPING
- Compressed image
- called DataSet::decorateWithTerrain()
- getDirectory()=
- writeNodeFile = 0 X=0 Y=0 filename=out.ive
- _writeNodeFile(out.ive)
- Writing out image layer out_L0_X0_Y0.dds, _directory=
- vpb::access(out.ive, W_OK)=-1
- vpb::access(., W_OK)=0
- Caught exception : Warning: Write to "out.ive" not supported.
复制代码
重点是
Caught exception : Warning: Write to "out.ive" not supported
但其中osgdb_ive.dll就在文件夹下。请问怎么破? |
|