design: spherical (wrapping) world topology — equirectangular pole-wrap #233
Labels
No labels
alpha:wave-0
alpha:wave-1
alpha:wave-2
alpha:wave-3
area:assets
area:combat
area:ecology
area:infra
area:render
area:scripting
area:ui
area:world
enhancement
epic
migration
post-alpha
roadmap
tech-debt
type:bug
type:chore
type:design
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
marco/IsoMmo#233
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Requirement
The world is a planet: reaching a map edge comes out the other side. Owner's call: spherical. The editor still shows a rectangle.
Honest geometry
A uniform square grid cannot perfectly tile a sphere (Euler characteristic / curvature) — every rectangle→sphere mapping distorts somewhere. Options:
x → x + W/2). Genuinely spherical topology on one rectangle. Caveat: polar distortion — cells near the poles cover less real area; the extreme rows approach the pole point. (Confirm the trade-off is acceptable, else fall back to polar ice caps.)Decision (pending final confirm of the polar-distortion trade-off)
Equirectangular with pole-crossing wrap.
Affected systems (each gets attention when this is built)
TileMap/CanStep+ movement: a step across the seam wraps; a step over a pole maps to opposite longitude.GridPositiondistance + AoI: shortest wrapped distance (min(|dx|, W-|dx|)E-W; pole logic N/S).Sequencing
Its own critical design review before implementation, alongside the gameplay/rendering phases. Does NOT block the Fase-4 editor work (rectangular editor). Tracking issue only for now.