CesiumGS / CesiumGS/cesium

Make Camera up align with ellipsoid::geodeticSurfaceNormal below defined height (or Fixed Frame to East North Up Frame)

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

Description

When moving the Camera close to the surface of the Globe it becomes apparent that the camera controls are applied in the Fixed Frame. This results in camera rotation that looks as if a roll is applied with respect to the horizon. In our use case it would be desirable to have the camera controls behave in the East North Up Frame. Perhaps a fixedFrameToEastNorthUpControlsHeight property could be set on the Camera that immediately or gradually changed between the two modes when the camera moves below that height.

Or is it simple to achieve this control scheme in another way?

Contributor guide

Open the contributing guide

Research direction

Start by examining the Camera controls and how the Fixed Frame is used near the Globe surface. Compare that behavior with the requested East North Up Frame mode, including whether switching should be immediate or gradual below a defined height. Done means the desired near-surface horizon alignment and a clear transition rule are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.