Skip to content

Kyle/globe reprojector#578

Draft
kylebarron wants to merge 6 commits into
mainfrom
kyle/globe-reprojector
Draft

Kyle/globe reprojector#578
kylebarron wants to merge 6 commits into
mainfrom
kyle/globe-reprojector

Conversation

@kylebarron
Copy link
Copy Markdown
Member

Design for replacing the throwaway uniform-grid globe mesh with a
GlobeReprojector subclass that adds a curvature (sag) term to Delatin's
refinement metric. Lives in deck.gl-raster; raster-reproject gains
behavior-preserving extensibility seams only.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

kylebarron and others added 6 commits May 27, 2026 15:30
Design for replacing the throwaway uniform-grid globe mesh with a
GlobeReprojector subclass that adds a curvature (sag) term to Delatin's
refinement metric. Lives in deck.gl-raster; raster-reproject gains
behavior-preserving extensibility seams only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
#574 extracted _seed(InitialTriangulation) but keeps it eager in the
constructor. Update the spec to keep eager seeding and absorb the
init-order hazard in the GlobeReprojector subclass (renderPositions ??=
guard + run()'s _reevaluate), shrinking base changes to three protected
edits. Drop the run() options-object refactor: the globe overrides the
existing run(maxError, { maxIterations }) compatibly by adding
sagTolerance to the options bag.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Routes the per-sample reprojection error through a protected _sampleError
hook (default returns the pixel error, so behavior is unchanged) and makes
_addPoint protected. Foundation for GlobeReprojector's sag metric.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Protected hook that clears the priority queue and re-runs the scoring seam
over every triangle. For subclasses whose _sampleError depends on run-time
inputs (GlobeReprojector's tolerances); the base never calls it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant