Skip to content

Better handle near and far camera values depending on camera position #2049

@jailln

Description

@jailln

The near and far plane are fixed in the GlobeView and the PlanarView.

  1. Make them configurable
  2. Update the far distance dynamically depending on the camera position. The far plane is indeed quite far (10 times the earth diameter for the GlobeView) to allow zooming out pretty far from the globe or the plane. This value is not adapted when zooming in and tilting the camera: it generates unuseful tiles subdivision and external layers querying and manipulation, which has an impact on performance. Ideally, this should be configurable in some way too.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions