Polyline Draw Position Inconsistency with Camera Movement

Hello, Support Team

Multiple reports from clients indicate that moving the viewpoint causes the drawing position of Entity polyline and IonSDK gizmos to shift.
This appears to occur on devices with Intel Arc graphics chips.

OS : Windows11
Cesium Version : 1.116 and latest Sandcastle(1.135)
Browser : Chrome,Edge,Firefox

Thank you.

Hi @cccCesium,

Does it only occur on these graphics chips? Could provide a minimal sandcastle example that reproduces the issue?

Thanks,
Matt

Hello,
We are still gathering information, but so far, the only reported cases involve Intel Arc.
The link is as follows. Please check it.

Additional Information:
Entity Polyline: NG
Primitive GeometryInstance: NG
Primitive PolylineCollection: OK

Additional Information about GPU
Displays correctly:

  • NVIDIA GeForce RTX 4060 Ti
  • NVIDIA GeForce RTX 4070 Laptop
  • Intel Iris Xe Graphics

Issues occur with:

  • Intel Arc Graphics
  • Intel Arc 140V

Hi @cccCesium, thanks for the detailed information. I don’t have Intel Arc graphics so I can’t reproduce myself. Can you please clarify: how big is the shift you are seeing?

Could the problem be the same as PolylineEntity - Path Jitters on windows and intel arc · Issue #12879 · CesiumGS/cesium · GitHub? If so, it would be great if you can add your info to that issue.

I am able to reproduce this on my desktop with an Arc A750 GPU. Here’s what the Sandcastle above looks like. I’m just zooming in and out slowly and the line is flapping around.

floundering-line

1 Like

If you don’t need 2D or Columbus view, there’s an easy workaround: construct your Viewer with scene3DOnly=true. Like this:

const viewer = new Cesium.Viewer("cesiumContainer", {
  scene3DOnly: true
});

More to come, but I wanted to get this out quickly in case it’s helpful. Let me know if that does (or does not) work for you.

1 Like

Hello Kevin_Ring Cesium Team

Thank you very much.
Your suggested settings resolved everything.
I appreciate your prompt investigation.

Setting aside the challenges when using the 2D view,
I hope this configuration will be helpful for many users.

Thank you.