Billboards rendering partially in 2D at particular zoom level
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 15.8k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
What happened?
While in 2D mode, some billboards' billboard fragment depths lose to terrain fragment depths between two frustums. You can observe it in a really specific position of camera, terrain and billboard. It is easier to produce with a device you can do smoother zoom (touch-pad etc.)
https://github.com/CesiumGS/cesium/assets/27568710/ae274b39-e03e-47cb-870d-647e459a7968
Reproduction steps
- Add a TerrainProvider
- Add Billboards
- Switch to 2D mode
- Zoom out slowly until you produce it.
Sandcastle example
Environment
Browser: Chrome 123.0.6312.123 (Official Build) (64-bit)
CesiumJS Version: 1.116
Operating System: Windows 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Sandcastle example and reproduce the artifact by adding terrain and billboards, switching to 2D, and slowly zooming out. Trace the terrain and billboard depth handling around the transition between frustums. Done means billboards render completely at the reported zoom level without losing to terrain.
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
- Mostly clear
- Newbie friendliness
- 35/100