Skip to content

GroundPolylineGeometry glitches on mobile (and others clamp to ground geometries doesn't display at all) #7377

@Spec1alFx

Description

@Spec1alFx

Original forum post with screenshot here.

I encountered graphical glitches with GroundPolylineGeometry on mobile when camera is quite near / far of this kind of polyline;
the problem it's consistent on every modern smartphone I tried on (Galaxy Note 9, Huawei P9 Lite, Wikio UFeel; iPhone 6), meanwhile on a Note 3 polyline is drawn under the terrain - but it's an old device, I don't think it's a big concern (*).

I'm able to reproduce the problem on every Sandcastle demo I tried;
with this one:

https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Clamp%20to%20Terrain.html

I encountered another problem: a lot of geometries are not displayed at all on modern mobile devices. But there is already an open issue (#7273).

Please consider this two bugs related because today I can't use corridors as fallback on mobile.

*: I suppose that with a flag like Cesium.Entity.supportsPolylinesOnTerrain I can make things work also on older device switching to corridors if GroundPolylineGeometry are not supported;
it's a paradox but on my old Note 3 corridors are correctly rendered!

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions