查看了osgeath 的最新版本, 發現它支持cesium ion 上的3DTiles 。先上圖吧。
高興啊。 我們 OSGEARTH 的用戶也能用上cesium 。上的功能了, 不得不說, cesium 現在要比 osgearth火很多。 下載了。 osg3.6.5 and osgearth-master . 花了兩天時間編譯, 結果發現
新版本編譯不過, 找不到 GL_DYNAMIC_STORAGE_BIT 的定義。 解決方法是在網上收到這個宏的定義, 直接改過來。 好不容易都編譯通過, 希望見證這個奇跡,
很沮喪的發現:
C:\3rdpart\osgearth-master-build\bin\Debug>osgearth_annotationd.exe ..\tests\cesium_ion.earth
[osgEarth]* [B3DMReader] GLTF ERROR: accessor[0] invalid bufferView
崩潰了, 希望明天能解決。
-----------------------------------------------------------------------
問題已解決。