Hi there,
We upgraded our app from v1.2 to v1.3 and everything is fine except for one issue, it seems that enabling ‘compressVertices’ breaks us, the moment we load a CZML we get this:
An error occurred while rendering. Rendering has stopped.
DeveloperError: Appearance/Geometry mismatch.
The appearance requires vertex shader attribute input ‘compressedAttributes’, which was not computed as part of the Geometry. Use the appearance’s vertexFormat property when constructing the geometry.
Error at new DeveloperError
(http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:1282:19) at validateShaderMatching (http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:76916:27) at Primitive.update (http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:77233:13) at PrimitiveCollection.update (http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:117823:27) at updatePrimitives (http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:123147:27) at render (http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:123200:9) at Scene.render (http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:123241:13) at CesiumWidget.render (http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:132530:25) at render (http://price.ws.noveltis.dev/TechForFire/js/CesiumUnminified/Cesium.js:132012:36)
``
If we change line 76522 of the Cesium.js (unminified) from:
this._compressVertices = defaultValue(options.compressVertices, true);
to
this._compressVertices = false;
everything is fine.
so how should we proceed ? should we be explicity be asking that our CZML geometries are not compressed by the new CzmlDataSource (i.e. is this a new attribute in the CZML?), or should we be setting the appearance of the polygons differently in our CZML?
let me know if i can provide anything further to help reproduce this at your end.
cheers
-ivan