osg基础知识总结


osg

virtualplanetbuilder 最后版本 0.9.12  freesouth


osg版本 稳定版本3.4.0  在研版本 3.5.1



osgdem 命令

-t是纹理,你可以指定多个纹理,当指定多个纹理是后台osgTerrain::DataSet会根据纹理坐标进行拼接。

http://www.osgchina.org/index.php?option=com_content&view=article&id=129:osgdems&catid=100&Itemid=489

Usage of VPB source file

把osgdem的命令信息输入到source文件中,这样可以可视化编辑,避免敲着不方便。

// Create the build.source file
osgdem --bluemarble-west -t ../land_shallow_topo_west.tif \
           --bluemarble-east -t ../land_shallow_topo_east.tif \
           --geocentric \
           -o earth/earth.ive \
           --so build.source

// run the build
osgdem -s build.source

// have a look at the file - it's just an extended form of a .osg file
cat build.source

// override the number of levels
osgdem -s build.source -l 4

// run build adding your extra imagery
osgdem -s build.source -t MyOrthoImage.tif
坐标系统

WKT 坐标系统定义清晰,应用广泛,但是字符串太复杂,人类难以自己手写。而PROJ4就方便多了……,不管如何,拿到的影像和高程尽量是已经有坐标系统的,如果没有坐标系统就需要使用GlobalMapper或者Erdas进行校正,可以上网查一下相关教程。最终osgdem都是使用GDAL处理的。如果非要手工指定,可以使用--cs来指定。下面是例子。




  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值