CesiumGS / CesiumGS/cesium

Camera tilts globe up instead of down

Open
#2,877 3 comments 0 reactions 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

The first middle mouse drag after clicking the home button tilts the globe up instead of down.
It seems like it might be dependent on the screen aspect ratio somehow?

It happens every time in a window like this (width > height):
![image](https://cloud.githubusercontent.com/assets/3451886/8605344/b57d63a0-2652-11e5-9e8c-dc997845b47b.png)

But none of the time in a window like this:
![image](https://cloud.githubusercontent.com/assets/3451886/8605350/bcf93276-2652-11e5-8b06-9cabcfdca013.png)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reproducing the first middle-mouse drag after clicking Home in both wide and tall window shapes, then trace the globe camera and aspect-ratio handling. Done means the first drag tilts in the expected direction regardless of window shape.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, web-dev
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.