Primitives grayed out when panning over the Pacific in 2D
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
## Description
Primitives grayed out when panning over the Pacific in 2D.
## Images of error


## Code
```typescript
addCircle() {
var instance = new Cesium.GeometryInstance({
geometry : new Cesium.CircleGeometry({
center : this.circle.center,
radius: this.circle.radius
}),
});
var circlePrimitive = this.viewer.scene.primitives.add(new Cesium.Primitive({
geometryInstances : instance,
appearance : new Cesium.EllipsoidSurfaceAppearance({
material : new Cesium.Material({
fabric : {
type : 'Color',
uniforms : {
color : this.color
}
}
})
}),
asynchronous: false
}));
return circlePrimitive
}
```
Contributor guide
Research direction
Start by reproducing the 2D Pacific panning case with the shown addCircle code and the CircleGeometry, Primitive, and EllipsoidSurfaceAppearance entry points. Investigate why the primitive becomes grayed out while crossing the Pacific; done means the circle remains correctly rendered during 2D panning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100