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,
    });    

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

posted @ 2022-02-09 11:47  小七要走  阅读(513)  评论(0编辑  收藏  举报