CesiumGS / CesiumGS/cesium

granularity in polylineVolume sometimes doesnot work

Open
#9,890 1 comment 0 reactions 0 assignees View on GitHub
category - polyline type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

I drew a satellite ortbit as a polylineVolume, but obtained what I didnt expected.

Following is a sample code.
https://sandcastle.cesium.com/#c=tVTbjtowEP2VEU+hpSZxLhBu6i6gVaXtRWy7L6VamcQsVk0c+cKKVvx7nYQA29JVHygvHs+cM3OGGWdDJGwYfaIShpDRJxhTxcwa3Zc+Z95IyvtYZJqwjMp5o9mfZwBLkyWaiQwSsc6NpmMmE04dSVJmVBN+FhgATjXkQrECqWyBr9/6VWApJDhFlFmv27fHAPyoMF4PwwO9SlDkJCV9r+090SukxazyO6zZr+GHWig3auXUbjjtbEykthbJ8EkcoFIOr6DMngjl7Os2W3+HKZadgx3tWtquOiTVRmZHmWW0jCX2pmFG089mQYt/qiKc0+07b7zQj+IAt8BaOMZB11pRaG0P17XPM2Mfd3HcgsAPXNf3LS3EOO6E8cs0HEaBLdiCyPc6UTdsQSfoeFHwMsvrxjgOLBhH2PXdgu6GuNvZ06pdqBq/5ob+S+f/RX8lpHoFiGbazoYqRNLU2e9hLviW2+2/F9ysae+4nodB9urRHSavViS30OfPI3LtD7nH/VgTTSUjvHcQLbiQaDadHCCPkmSGE8n0tvfsBcyuJu+uPtw9fJrOHibTm9l0uufsynPXvERb9WAu09f17ZfpJRprtBoDpbecjupkb9k6F1KDkdxBqK3pOudWg2ovTPKdapQoVb/FQfuUOkjZBlg6PPOlg4QTpWxkaTi/Yz/ovDEatC3+DyoX9iOQPX7cUMnJtoCtvNFt5UQIDdr2ep6pheALIn/L/As

In RedTube, two mid points are connected a streight line.
But from same coordinates, BlueTube are drawn by an expected arc.

In addition, when you modifies the coordinates data of a mid point, such as
```
new Cesium.Cartesian3(2564694, 6517685, 747164),
```

streight line behavier will be vanished.
(It is closed to what I expect)

Contributor guide

Open the contributing guide

Research direction

Start by running the linked Sandcastle reproduction and inspect the polylineVolume granularity behavior for the red and blue tubes. Vary the supplied midpoint coordinates as described and compare the resulting straight segments with the expected arc; the issue is done when the reproduction consistently produces the expected arc.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.