GroundPrimitive 批量加载 geometryInstances 不同颜色会出现重叠现象


1、原因

不清楚

2、解决办法

如果是多个geometryInstance 可以一个GroundPrimitive 加载一个geometryInstance

  
      let instance \= new Cesium.GeometryInstance({
        ........
        });

    let  primitive \= new Cesium.GroundPrimitive({
          show: true,
          allowPicking: true,
          releaseGeometryInstances: false,
          geometryInstances: instance ,
          classificationType: Cesium.ClassificationType.TERRAIN,
    });    

如果有更好得办法 欢迎留言

本文转自 ,如有侵权,请联系删除。