首页 / 浏览问题 / 三维GIS / 问题详情
Cesium中Primitive如何贴超图s3m格式的倾斜摄影?
256EXP 2021年03月26日
如题,Cesium中Primitive如何贴超图s3m格式的倾斜摄影?

1个回答

您好,请问您问的是开源的S3M吗,s3mb格式的话已经开源,您可到github上查看:https://github.com/SuperMap/s3m-spec

WebGL的话,目前用entity只能参考小品的例子添加一个s3m文件:
http://support.supermap.com.cn:8090/webgl/examples/webgl/editor.html#addSymbols
倾斜目前还是用普通的addS3MTilesLayerByScp或者scene.open来加载。

jjz
4,720EXP 2021年03月26日
?,我问的不是如何加载倾斜摄影哦。。。

而是多边形对象primitive,如何贴合在倾斜摄影上面。

http://support.supermap.com.cn:8090/webgl/docs/Documentation/PolygonGraphics.html
有个属性clampToS3M。这个是Entity Polygon,您可以试下。

...