CesiumGS / CesiumGS/cesium

Polylines (and other geometry?) created in 2D no longer cull correctly in 3D

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

Description

1. Run the materials demo: http://localhost:8080/Apps/Sandcastle/index.html?src=Materials.html&label=All
2. Switch to 2D.
3. Select Polyline Arrow from the bottom combo box.
4. Switch to 3D
5. The polyline will be drawn even when it is behind the ellipsoid (it does disappear at some point when it's completely on the other side of the center of the earth)

![image](https://user-images.githubusercontent.com/1495196/75699747-effa1480-5c7e-11ea-992b-730cf10e9f8d.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Materials demo using the Polyline Arrow: switch from 2D to 3D and observe its behavior behind the ellipsoid. Trace the geometry culling path for this transition and verify the fix by confirming that hidden polylines no longer render behind the ellipsoid.

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
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.