-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
转换成b3dm后使用draco压缩无法显示 #221
Comments
什么对象有个 replace 属性? 好像不是 b3dm 里的内容,感觉像 tileset.json 里的 |
请教下b3dm使用draco压缩的方法?谢谢 |
可以看我的仓库,compress压缩,但是还有bug最近我没时间修改,最好是使用ceiumlab转换的3dtiles,因为我还没对osgb转换做处理 |
感谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用3dtiles转化出的b3dm经过draco压缩后无法进行展示,提示
CesiumWidget.js?1343:688 An error occurred while rendering. Rendering has stopped.
TypeError: Cannot read property 'replace' of undefined
TypeError: Cannot read property 'replace' of undefined
at Object.ModelUtility.modifyShaderForDracoQuantizedAttributes (webpack-internal:///./node_modules/cesium/Source/Scene/ModelUtility.js:706:56)
at modifyShaderForQuantizedAttributes (webpack-internal:///./node_modules/cesium/Source/Scene/Model.js:2469:74)
at createResources (webpack-internal:///./node_modules/cesium/Source/Scene/Model.js:4234:25)
at Model.update (webpack-internal:///./node_modules/cesium/Source/Scene/Model.js:5441:9)
at Batched3DModel3DTileContent.update (webpack-internal:///./node_modules/cesium/Source/Scene/Batched3DModel3DTileContent.js:480:9)
at Cesium3DTile.process (webpack-internal:///./node_modules/cesium/Source/Scene/Cesium3DTile.js:1951:17)
at processTiles (webpack-internal:///./node_modules/cesium/Source/Scene/Cesium3DTileset.js:2335:14)
at Cesium3DTileset.prePassesUpdate (webpack-internal:///./node_modules/cesium/Source/Scene/Cesium3DTileset.js:2197:3)
at PrimitiveCollection.prePassesUpdate (webpack-internal:///./node_modules/cesium/Source/Scene/PrimitiveCollection.js:398:17)
at prePassesUpdate (webpack-internal:///./node_modules/cesium/Source/Scene/Scene.js:3788:14)
使用cesiumlab转换的b3dm可以压缩并且展示,不知道是哪里出了问题
The text was updated successfully, but these errors were encountered: