CesiumGS / CesiumGS/cesium

Zoom to mouse position significantly inprecise

Open
#2,968 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

In most situations zooming to mouse position is done not in mouse position, but in area near mouse position.
Consider zooming to and from point in Iceland here: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Hello%20World.html&label=Showcases

![test2_compressed](https://cloud.githubusercontent.com/assets/46573/9476555/f9acdd24-4b75-11e5-876a-90a1e574b8f9.gif)

IMO, mouse zooming must have invariant that Earth point under cursor is always preserved while zooming (except cases, when mouse position goes out of Earth).

Contributor guide

Open the contributing guide

Research direction

Reproduce the zoom behavior using the linked Cesium Sandcastle Hello World example, focusing on zooming toward a point in Iceland. Trace the mouse-zoom interaction from that entry point and verify that the Earth point under the cursor remains fixed during zooming, except when it leaves the Earth.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.