Skip to content

test(render): preserve clipped dashed Trips interpolation - #10646

Merged
chrisgervang merged 5 commits into
masterfrom
codex/path-style-trips-dash-baseline
Nov 24, 2026
Merged

chrisgervang merged 5 commits into
masterfrom
codex/path-style-trips-dash-baseline

Conversation

@chrisgervang

@chrisgervang chrisgervang commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

Follow up of #10644

Background

With dashes on, TripsLayer interpolates timestamps along the source segment even where camera clipping shortens the visible geometry. Nothing tests this, and #10647 changes the coordinate it reads.

Change List

  • Add path-dash-trips-clipped-interpolation render case (billboarded TripsLayer in OrbitView)
  • New golden: red and blue active spans meet near the center of the gray rows
  • Uses segment dashing; path mode exceeds the 16 WebGL attribute locations
  • Merge master; resolve GlobeView import conflict

Verified with yarn lint and the WebGL path-dash and trips-layer render suites.

@coveralls

coveralls commented Sep 3, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 82.427% (-0.01%) from 82.437% — codex/path-style-trips-dash-baseline into master

@greptile-apps

greptile-apps Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This test-only PR appears safe to merge.

Summary

Adds a visual baseline for TripsLayer timestamp interpolation when dashing and camera clipping are active.

  • A render test checks trip cutoffs across camera clipping and dashing.

Reviews (5) · Last reviewed commit: "test(render): label the expected image f..." · Reviewed by Greptile

Base automatically changed from codex/path-style-shader-cleanup to master September 29, 2026 15:15
@chrisgervang
chrisgervang force-pushed the codex/path-style-trips-dash-baseline branch from 7de8c8b to 8804f8f Compare September 29, 2026 15:15
@chrisgervang chrisgervang added this to the v9.4 patch releases milestone Oct 10, 2026
@chrisgervang
chrisgervang requested a review from ibgreen November 6, 2026 06:34
# Conflicts:
#	test/render/test-cases/path-dash.spec.ts
@chrisgervang chrisgervang modified the milestones: v9.4 patch releases, v10 Nov 7, 2026

@athomct athomct left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is a useful guard for the refactor that follows. I checked locally that the new golden fails (99.56% match against the 99.8% threshold) when TripsLayer progress is computed from the clipped geometric coordinate, so it catches the intended regression.

Two small notes:

  • The branch now conflicts with master in path-dash.spec.ts, only on the import line: master imports GlobeView directly instead of _GlobeView as GlobeView.
  • Optional: both segments are clipped at their first vertex, so the case covers sourcePathRange.x > 0 but not a clipped end vertex. Reversing the vertex order of one path (keeping its timestamps) would cover both ends.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@ibgreen ibgreen added the test label Nov 21, 2026
@chrisgervang
chrisgervang added this pull request to the merge queue Nov 24, 2026
Merged via the queue into master with commit 6654299 Nov 24, 2026
9 checks passed
@chrisgervang
chrisgervang deleted the codex/path-style-trips-dash-baseline branch November 24, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants