CesiumGS / CesiumGS/cesium

"disableDepthTestDistance: Number.POSITIVE_INFINITY" give rise to disappear when drag to some place

Open
#10,451 7 comments 0 reactions 0 assignees View on GitHub
category - labels type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

when i use "disableDepthTestDistance: Number.POSITIVE_INFINITY" in a new entity just like this

`
viewer.entities.add({
position: Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883),
billboard: {
image: "../images/Cesium_Logo_overlay.png",
disableDepthTestDistance: Number.POSITIVE_INFINITY
},
});
`

Then I drag earth and found that billboard twinkled in some place. Then I drag slowly and finally found a place near here that the billboard disappear!
![1](https://user-images.githubusercontent.com/59389280/173277367-57080d96-6277-4658-8ef3-e2ed898c0b76.png)
![2](https://user-images.githubusercontent.com/59389280/173277393-f07961bc-b8ff-4fff-a42c-4e8ed9be2e80.png)

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction in the issue using a billboard with disableDepthTestDistance set to Number.POSITIVE_INFINITY, then drag the globe through the reported area and observe the flickering and disappearance. Trace the billboard rendering and depth-test behavior responsible for that result; done means the billboard remains visible and stable while dragging through the affected location.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.