Polygon lighting issue
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description

`````` javascript
[
{
"id": "document",
"name": "TopicID=33",
"version": "1.0"
},
{
"id": "aPolygon",
"polygon": {
"positions": {
"cartographicDegrees": [
0.0, 0.0, 100000.0,
0.0, 10.0, 500000.0,
10.0, 10.0, 100000.0,
10.0, 0.0, 500000.0 ]
},
"perPositionHeight": true
}
},
{
"id": "LowerLeft",
"position": {
"cartographicDegrees": [ 0.0, 0.0, 100000.0 ]
},
"point": {
"color": {
"rgba": [ 30, 144, 255, 255 ]
},
"pixelSize": 10
}
},
{
"id": "UpperLeft",
"position": {
"cartographicDegrees": [ 0.0, 10.0, 500000.0 ]
},
"point": {
"color": {
"rgba": [ 30, 144, 255, 255 ]
},
"pixelSize": 10
}
},
{
"id": "UpperRight",
"position": {
"cartographicDegrees": [ 10.0, 10.0, 100000.0 ]
},
"point": {
"color": {
"rgba": [ 30, 144, 255, 255 ]
},
"pixelSize": 10
}
},
{
"id": "LowerRight",
"position": {
"cartographicDegrees": [ 10.0, 0.0, 500000.0 ]
},
"point": {
"color": {
"rgba": [ 30, 144, 255, 255 ]
},
"pixelSize": 10
}
}
]```
``````
Contributor guide
Research direction
Start by loading the supplied CZML polygon example and reproducing the lighting shown in the attached image. Inspect the polygon rendering and lighting paths to determine why the varying-height polygon is shaded incorrectly; the issue does not state the expected result or name a test, so completion criteria need clarification.
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
- 25/100