CesiumGS / CesiumGS/cesium

Billboard and Point have wrong location in 2D vs 3D

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

Description

![point](https://user-images.githubusercontent.com/5085394/67239699-c94ce700-f41d-11e9-9782-67874369b627.gif)

When switching from 2D to 3D, billboards and points that are clamped to ground will move to a different position.

Possibly the same issue as https://github.com/AnalyticalGraphicsInc/cesium/issues/5041

Sandcastle example: https://sandcastle.cesium.com/#c=rVPRbtsgFP0V5Bc7koVTR31YmkbrnGp7aJupyfZkqbqBawcNQwQ4XTb134ft2Es6aZq08gSHe8/hHGAPhuwFPqMh10ThM8nQirqiX1ssClm7zLRyIBSacHSVq1wlCbnhnADZaaFcrjoGisoJJ9BS4Dz6mSvix05bj2lFpj11Bsb5GagJLYyuFlgaRBul45ik41Hct3niKTmStIj4jnIlfuCUXIzj3/gWRbl1j1igQcVwkPl0jtPs7ub+89N6+fTxcfnlYdERvOTq5ZWljZByo8Hwt7JFLxtj9LK3NgiQM3+ighI9FFKatHObFMCEFO5AS1GEJ5YtA9mUpp76rYKIhyQG3wwqNEALeVjr3jdH64SCxvq/XWhM3o2bMTrhX4HiDKyT2ES61lpuwHyondMqCieLMCZFrVijEY36iI5nsgwV0kpz9O/1qL9qsHsP0VV2+3A7WVwNWn9VSv9XKR2UgjiYWXeQOO843otqp40jtZGRv0+H1U6CDynZ1OwbOsqsbdpmSd8042JPBL/Og1c/Lg8Ik2Ct3ylq2X6APJjPEl9/1iY1cKHK5R6NhENTsr2Y33UgpXSW+OWfXa5L5ITxFw

Browser: Google Chrome 78.0.3904.17 (Official Build) dev (64-bit)

Operating System: Windows 10

Contributor guide

Open the contributing guide

Research direction

Run the linked Sandcastle example in Chrome and compare clamped billboards and points while switching between 2D and 3D. Read the related issue #5041 and trace the code paths involved in ground-clamped positioning. Done means the objects retain the same geographic position across the 2D-to-3D switch.

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.