Incorrect fill when drawing simple polygon in 2D.
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
### What happened?
Fill is renders wrong for simple polygons
### Reproduction steps
1. Draw a polygon with fill enabled.
2. See that it doesn't fill the entire polygon.
### Sandcastle example
https://sandcastle.cesium.com/#c=lZNvb9owEMa/ipVXTKLOP5wQlqJ1FG2V2nWCtXuxTJObHGDNsZHtUGUV331OAqVb0TSivIh9v8d3z52TS6EN2jB4BIXOkYBHNAHNqhLft3u9zMnb9UQKQ5kAlTl99KRzEHAjCxjt8fl+B09ur+9u3t/Nf9xfTb9u37zNRCbyNs1aamaY/bSZdrIJVcZ+URHihZLlJSwVgL5Qita9b5lA7XPmRxEmkUdCMox9n0RR3EdnZIDDIIoCb+AliY0m/X/yUYyDYRKFxBt6JIj/wH0ckAEJI98jAz8OSHIyfmo1r/kO/971C3UNU1B8lrxeSmE79tQQgpa255kzg8K2swvZV1dqQXOws2mgXWDUSRBaMVBU5at6dBjBrrySGlCM8uc5TiSXCs+mlzvA6r7U68OcL7o1nn20Q26QrQW3bdHdLcIgjE0BGtOi6B0cvLwI3F4k6+iY4DSXzUHPNv/T24fZdPrpJHdN6U7fSbWpOYz3c33HyrVUBlWK9zB2DZRrbjNq96HKf4LBudaNsEFT96U0LdgGseL8yK+Fck61tpFFxfmc/bJex6lr+VdSLmnBxPJ2A4rTusFW/vi628QYp65dHlcaKfkDVX+d/Bs
### Environment
Browser: Chrome
CesiumJS Version: 1.120
Operating System: Windows 10
Contributor guide
Research direction
Start with the linked Sandcastle example and reproduce the polygon fill failure in CesiumJS 1.120 using Chrome on Windows 10. Trace the 2D polygon rendering path to determine why the entire simple polygon is not filled; done means the reproduction fills the complete polygon with fill enabled.
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