查看了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
崩溃了, 希望明天能解决。
osgearth 代码 hack(四) 显示cesium ion 上的 3Dtiles
原文:https://www.cnblogs.com/enigma19971/p/12845804.html