CesiumGS / CesiumGS/cesium

SceneTransforms.wgs84ToWindowCoordinates incorrect when tracking entity

Open
#3,247 22 comments 1 reaction 0 assignees View on GitHub
category - camera priority - high type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Reported in the forum
https://groups.google.com/forum/#!topic/cesium-dev/XYAGd93UkmA

He included a really good example in the post.
`SceneTransforms.wgs84ToWindowCoordinates` returns the wrong window coordinates when the tracked entity has a different position from the one being converted to a window coordinate.

Contributor guide

Open the contributing guide

Research direction

Start with SceneTransforms.wgs84ToWindowCoordinates and the linked forum example, then trace how tracked-entity state affects the coordinate conversion. Reproduce the case where the tracked entity and converted position differ, and verify that the returned window coordinates correspond to the position being converted rather than the tracked entity.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.