Viewer Target Framerate Affecting Polylines on entities
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
Hi, I have been using Cesium for quite a while. We are currently on Version 1.58 and are having an issue. We have an entity moving across the globe and it has a polyline attached to it that shows where the entity has been. We recently added a feature to dynamically adjust the target frame rate of the viewer based on pointer events. If pointer events are detected then the frame rate goes up and if no events are detected, the frame rate slowly shifts down. The polyline we have attached to our entity starts to blink as the frame rate goes down and eventually just stops showing up until pointer events are detected again. Is there a way to prevent this from happening so that our polyline stays visible regardless of the frame rate? The entity itself, which is made of a primitive collection, does not display this effect. Other polylines we have on the map also do not display this effect. Only the one that trails our moving entity does this.
Contributor guide
Research direction
No files or tests are named. Start by reproducing the moving entity with its trailing polyline while dynamically lowering the viewer target frame rate, then compare it with the unaffected primitive collection and other polylines. Done means the entity’s polyline remains visible as the target frame rate decreases.
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