I am interested in the current status of Clamp-to-Ground. I know it is a priority and there's been a lot of progress. But I haven't been able to keep straight which types of primitives currently use this feature.
So far, only the BillboardCollection and LabelCollection have the ability to set heightReference: Cesium.HeightReference.CLAMP_TO_GROUND.
We also recently introduced the GroundPrimitive, which can be used for CircleGeometry, CorridorGeometry, EllipseGeometry, PolygonGeometry and RectangleGeometry on terrain.
Neither of these have been implemented in the Entity API, so they cannot be used from CZML yet.
I believe we plan on looking to do ground polylines next, but there is a lot of research that needs to be done first so I’m not sure how soon that will be finished. I’m not sure what the status is for models and other primitive types.
Hi Hannah, has the Cesium dev team discussed Clamp to Ground on polygons any further? It would be really helpful to be able to clamp a CZML polygon to a hillside.
Thanks Hannah, what about polygons with height? Its simple to clamp a cube to terrain with KML in GE but it still seems impossible with Cesium, is that the case as you see it?
There’s no support for polygons with height at this time. It’s a much more complicated graphics problem and we need to do some research to figure out the best way to do this. I think it will need to use a completely different approach than the surface polygons.
Thanks Hannah, that’s what I feared… its really a major impediment to using Cesium for urban modelling if you can’t clamp 3D geometry to terrain. Hopefully its at least being discussed by the team for future implementation.
Great news Hannah. Do you foresee this work including being able to clamp to the ground models that move through time from one point to another? Cheers, Erik
Hey, is there now a possiblity to clamp Cesium3DTileset Models to Ground?
If not, is it possible to use the modelMatrix to move it in hight for all?
Please describe how it would work.