Repository navigation
fix(examples): use bundled Scenegraph flight snapshot - #10476
Merged
Merged
Conversation
This was referenced Jul 23, 2026
ibgreen-openai
marked this pull request as ready for review
July 23, 2026 22:12
ibgreen-openai
force-pushed
the
codex/scenegraph-example-local-data
branch
from
July 27, 2026 20:22
ba6afdf to
44751f7
Compare
ibgreen
force-pushed
the
codex/scenegraph-example-local-data
branch
from
August 1, 2026 18:04
80b959e to
5bac2f5
Compare
Collaborator
Pessimistress
force-pushed
the
codex/scenegraph-example-local-data
branch
from
August 20, 2026 18:41
5bac2f5 to
49a46ff
Compare
Greptile SummaryThe PR makes the Scenegraph flight example render from a bundled snapshot before attempting one live OpenSky request, while also adding the ScenegraphLayer WebGPU rendering path.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| examples/website/scenegraph/app.tsx | Initializes the example from cloned bundled data, attempts one abortable live request, and retains the snapshot on failure. |
| modules/mesh-layers/src/scenegraph-layer/scenegraph-layer.ts | Selects backend-specific shaders and materials, configures WebGPU pipeline parameters, and supplies numeric cross-backend uniforms. |
| modules/mesh-layers/src/scenegraph-layer/scenegraph-layer.wgsl.ts | Implements the WebGPU vertex and fragment paths for transforms, materials, picking, and highlighting. |
| modules/mesh-layers/src/scenegraph-layer/scenegraph-pbr-material.ts | Adapts the luma.gl PBR WGSL module to deck.gl projection inputs. |
| test/render/test-cases/scenegraph-layer.spec.ts | Extends ScenegraphLayer rendering coverage for the newly supported WebGPU backend. |
| website/src/examples/scenegraph-layer.js | Renames the example and updates its website-facing description to reflect snapshot fallback behavior. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Scenegraph example mounts] --> B[Normalize bundled flight snapshot]
B --> C[Render snapshot immediately]
C --> D[Attempt one OpenSky request]
D -->|Success| E[Normalize and render live data]
D -->|Failure or CORS rejection| F[Retain bundled snapshot]
C --> G[ScenegraphLayer]
E --> G
F --> G
G --> H{Graphics backend}
H -->|WebGL| I[GLSL scenegraph shaders]
H -->|WebGPU| J[WGSL scenegraph shaders]
Reviews (5): Last reviewed commit: "enable webgpu render tests" | Re-trigger Greptile
ibgreen
force-pushed
the
codex/scenegraph-example-local-data
branch
from
August 20, 2026 19:00
49a46ff to
e88336e
Compare
Pessimistress
force-pushed
the
codex/scenegraph-example-local-data
branch
from
August 20, 2026 21:37
e88336e to
ea01425
Compare
Pessimistress
approved these changes
Aug 20, 2026
Pessimistress
force-pushed
the
codex/scenegraph-example-local-data
branch
from
August 20, 2026 21:44
ea01425 to
2b81a1a
Compare
Pessimistress
force-pushed
the
codex/scenegraph-example-local-data
branch
from
August 20, 2026 22:16
2b81a1a to
a429334
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Goal
opensky URLs now seem to fail due to CORS restructions.
Make the Scenegraph website example load reliably even when the OpenSky browser API is unavailable.
Changes
all.jsonflight snapshot so the example renders immediately.This PR intentionally contains only example/data-source behavior. The ScenegraphLayer WebGPU port is split into a separate stacked PR.
Validation
yarn lint(passes with existing repository warnings only)yarn test-website