4 thoughts to “Cesium实战(三十九)绘制虚线圆”

  1. 按照这样使用报错,错误如下:
    Cesium.js:23 An error occurred while rendering. Rendering has stopped.
    undefined
    RuntimeError: Program failed to link. Link log: FRAGMENT varying v_polylineAngle does not match any VERTEX varying
    Error
    at new RuntimeError (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:50806)
    at createAndLinkProgram (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:1035721)
    at initialize$1 (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:1038001)
    at ShaderProgram.get (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:1034142)
    at validateShaderMatching (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:1143912)
    at createShaderProgram (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:1159124)
    at Primitive.update (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:1165494)
    at PrimitiveCollection.update (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:2190350)
    at updateAndRenderPrimitives (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:3213051)
    at executeCommandsInViewport (http://localhost:10330/cesium{ac3c4da2cd0600a7fb5dd7ece3d30a0eed29da11cf2830143610191d982c65a1}201.67/Cesium.js:23:3211633)

  2. 使用报错了
    CesiumWidget.js:690 An error occurred while rendering. Rendering has stopped.
    DeveloperError: Appearance/Geometry mismatch. The appearance requires vertex shader attribute input ‘prevPosition2DHigh’, which was not computed as part of the Geometry. Use the appearance’s vertexFormat property when constructing the geometry.