CesiumGS / CesiumGS/cesium

Unexpected camera rotation with lookAt in 2D mode.

Open
#5,500 1 comment 0 reactions 0 assignees View on GitHub
category - camera type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

The camera rolls 180 degrees after calling lookAt in 2D mode. Is this expected?

Here's a sandcastle example: http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=ce7747d6784fe914c5d8b249a20ed282

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linked Sandcastle example in 2D mode and verify the 180-degree roll after calling lookAt. Then trace the camera lookAt behavior for 2D mode and determine whether the rotation is expected; done means documenting the intended behavior or fixing it with a regression test.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.