CesiumGS / CesiumGS/cesium

Disorder when setting the eyeoffset

Open
#13,499 2 comments 0 reactions 0 assignees View on GitHub
needs triage type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

### What happened?

When setting the display sequence of icons at the same position through the "eyeOffset" function, a problem of layer disorder occurs. This issue does not appear in version 118, but it does occur in version 139 when viewed from different angles and at different layers.

Image

Image

### Reproduction steps

1.
2.
3.
...

### Sandcastle example

https://sandcastle.cesium.com/#c=xVNRa9tADP4rwk/OcM/p0pLWc8MgeSz0oWNPhnL2yY7Y+c7cycmy0f++s53QlJaxPRWDrZP0fZI+66jtrGP4BNLDGj31LdTOtlBE1Xgqoi+FoSnpURpVSc8aTzkvnjGvMJU1nmFHuEcHd2Bwf2QV30dffOJdW8OSDLoimo3ICSPQMDGhF1Kp+HdhADrrg8ea7MS0lo6DJc1CDG1ssHGIPr5YXovr2+VymcDVXMwXNzeLWTIQlKR1aaVTGYyEANTKBrPQvxDpaPt04n66t419sjt0Wh5EZ5oiSiYIHvChrj1ydj7USytxKJnA+Lq4DJ9ZAmkKCmvZa54oOvqJ+m8kn+OrgWN2LKnIy1LjBjvefkPPG/IsTYXZfIg/h6znQboPFq6WFWnig2ioDmqdTZ1Bb4IZfrKa0H5r9xmw6/GtOP+j7+J9ff9Rr+GJkij3fNC4GkJfj/vdOx2HwRjbTstQNy376geyqLwfgHl6guSKdkDq7p1lhkpL70Ok7rV+pF/hYqzyNOS/gmkrFZnmYVq0IWV7ubqfnEKIPA3Htyi2VpfSnTH+AQ

### Environment

Browser:
CesiumJS Version:139
Operating System:

### AI acknowledgment

- [ ] I used AI to generate this issue report.
- [ ] (If the above is checked) I have reviewed the AI-generated content before submitting.

Contributor guide

Open the contributing guide

Research direction

Start with the linked Sandcastle example and reproduce the layer disorder when setting icon display order through eyeOffset in CesiumJS 139. Compare the result with version 118 while viewing from different angles and layers. Done means identifying and correcting the regression so the icons render in the intended order.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.