CesiumGS / CesiumGS/cesium

Polylines normal to the earth's surface disappear in 2D

Open
#94 6 comments 0 reactions 0 assignees View on GitHub
category - 2d / columbus view category - graphics type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

It's pretty simple, if a line is normal to the earth, it disappears in 2D. Ideally, we would use the width and outline of the line to turn it into a point in 2D mode. We have some code in DynamicScene that creates points on the fly using billboards, we might be able to adapt/refactor that out for this use case as well. I have an example CZML that shows the issue if anyone wants to look at this.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the example CZML and inspect DynamicScene's billboard-based point creation. Determine how a polyline normal to the earth's surface is handled in 2D mode; done means its width and outline still produce a visible point-like rendering.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.