日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

读取OSGB数据的几种方式

發(fā)布時(shí)間:2024/3/13 编程问答 103 豆豆
生活随笔 收集整理的這篇文章主要介紹了 读取OSGB数据的几种方式 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

一、osg自帶的osgviewer讀取osgb數(shù)據(jù)

在接觸osgb的時(shí)候,一般都會(huì)先配osg的環(huán)境,所以先介紹這種方法

1.1 打開單個(gè)osgb數(shù)據(jù)

需要打開cmd,cd到文件夾下

C:\Users\Administrator>f:F:\>cd F:\Data\Data\Data\Tile_+000_+000F:\Data\Data\Data\Tile_+000_+000>osgviewer Tile_+000_+000.osgb

1.2 osgviewer批量打開

cd到該文件夾下,在all.desc中存有所有的名字

F:\>cd F:\Data\大雁塔-OSGB\osgbF:\Data\大雁塔-OSGB\osgb>osgviewer .\Tile_+000_+000\Tile_+000_+000.osgb .\Tile_+000_+001\Tile_+000_+001.osgb .\Tile_+000_+002\Tile_+000_+002.osgb .\Tile_+000_+003\Tile_+000_+003.osgb .\Tile_+000_+004\Tile_+000_+004.osgb .\Tile_+000_+005\Tile_+000_+005.osgb .\Tile_+000_+006\Tile_+000_+006.osgb .\Tile_+000_+007\Tile_+000_+007.osgb .\Tile_+000_+008\Tile_+000_+008.osgb .\Tile_+001_+000\Tile_+001_+000.osgb .\Tile_+001_+001\Tile_+001_+001.osgb .\Tile_+001_+002\Tile_+001_+002.osgb .\Tile_+001_+003\Tile_+001_+003.osgb .\Tile_+001_+004\Tile_+001_+004.osgb .\Tile_+001_+005\Tile_+001_+005.osgb .\Tile_+001_+006\Tile_+001_+006.osgb .\Tile_+001_+007\Tile_+001_+007.osgb .\Tile_+001_+008\Tile_+001_+008.osgb .\Tile_+002_+000\Tile_+002_+000.osgb .\Tile_+002_+001\Tile_+002_+001.osgb .\Tile_+002_+002\Tile_+002_+002.osgb .\Tile_+002_+003\Tile_+002_+003.osgb .\Tile_+002_+004\Tile_+002_+004.osgb .\Tile_+002_+005\Tile_+002_+005.osgb .\Tile_+002_+006\Tile_+002_+006.osgb .\Tile_+002_+007\Tile_+002_+007.osgb .\Tile_+002_+008\Tile_+002_+008.osgb .\Tile_+003_+000\Tile_+003_+000.osgb .\Tile_+003_+001\Tile_+003_+001.osgb .\Tile_+003_+002\Tile_+003_+002.osgb .\Tile_+003_+003\Tile_+003_+003.osgb .\Tile_+003_+004\Tile_+003_+004.osgb .\Tile_+003_+005\Tile_+003_+005.osgb .\Tile_+003_+006\Tile_+003_+006.osgb .\Tile_+003_+007\Tile_+003_+007.osgb .\Tile_+003_+008\Tile_+003_+008.osgb .\Tile_+004_+000\Tile_+004_+000.osgb .\Tile_+004_+001\Tile_+004_+001.osgb .\Tile_+004_+002\Tile_+004_+002.osgb .\Tile_+004_+003\Tile_+004_+003.osgb .\Tile_+004_+004\Tile_+004_+004.osgb .\Tile_+004_+005\Tile_+004_+005.osgb .\Tile_+004_+006\Tile_+004_+006.osgb .\Tile_+004_+007\Tile_+004_+007.osgb .\Tile_+004_+008\Tile_+004_+008.osgb .\Tile_+005_+000\Tile_+005_+000.osgb .\Tile_+005_+001\Tile_+005_+001.osgb .\Tile_+005_+002\Tile_+005_+002.osgb .\Tile_+005_+003\Tile_+005_+003.osgb .\Tile_+005_+004\Tile_+005_+004.osgb .\Tile_+005_+005\Tile_+005_+005.osgb .\Tile_+005_+006\Tile_+005_+006.osgb .\Tile_+005_+007\Tile_+005_+007.osgb .\Tile_+005_+008\Tile_+005_+008.osgb .\Tile_+006_+000\Tile_+006_+000.osgb .\Tile_+006_+001\Tile_+006_+001.osgb .\Tile_+006_+002\Tile_+006_+002.osgb .\Tile_+006_+003\Tile_+006_+003.osgb .\Tile_+006_+004\Tile_+006_+004.osgb .\Tile_+006_+005\Tile_+006_+005.osgb .\Tile_+006_+006\Tile_+006_+006.osgb .\Tile_+006_+007\Tile_+006_+007.osgb .\Tile_+006_+008\Tile_+006_+008.osgb

以空格為分隔

二、使用ContextCapture讀取osgb數(shù)據(jù)

ContextCapture下載可以參考:https://blog.csdn.net/weixin_45275937/article/details/109333906
按照文章中的步驟下載安裝配置就可以正常使用軟件了!

2.1 使用CCViewer查看

在ContextCapture/bin目錄下,找到CCViewer.exe
選擇要打開的osgb文件,打開方式按照剛剛的路徑選擇


目前我只知道打開單個(gè)的方法,如果之后可以批量打開我再來(lái)補(bǔ)充

2.2 CC_S3CComposer.exe打開osgb數(shù)據(jù)

首先你需要有一個(gè).s3c文件,內(nèi)容不重要,只要是這個(gè)文件格式就行

在ContextCapture/bin目錄下,找到CC_S3CComposer.exe
參考:https://blog.csdn.net/qq_43173805/article/details/120486289

三、OSGB轉(zhuǎn)OSG查看解析

F:\>cd F:\Data\other_dataF:\Data\other_data>osgconv Tile_+005_+005_L22_000020t4.osgb 4.osg Data written to '4.osg'.

總結(jié)

以上是生活随笔為你收集整理的读取OSGB数据的几种方式的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。