8000 SurfaceShape does not handle dateline crossing, causing long-path rendering and texture errors · Issue #93 · WorldWindEarth/WorldWindKotlin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
SurfaceShape does not handle dateline crossing, causing long-path rendering and texture errors #93
Open
@L0NG1NG

Description

@L0NG1NG

Problem Description

Currently, SurfaceShape and related Sector implementations do not normalize longitudes or handle short-path logic when rendering polygons or regions that cross the International Date Line (±180° longitude). This leads to:

  • Shapes rendering along the long path (across the globe) instead of the short one

Steps to Reproduce

  1. Create a SurfaceShape (e.g., Polygon, Path, etc.) with a longitude range from 179°E to -179°W (an actual span of just 2°)
  2. The rendered shape will follow the long way around the globe

Expected Result

  • SurfaceShape and Sector should automatically detect and handle dateline crossing, mapping all vertices and regions to the same longitude domain and rendering along the short path
  • Texture fill and clipping should also work correctly in these cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0