Repository navigation
S16: canvas labels for the remaining comparison examples (part of #63, depends on #109) - #112
Open
DennisSmolek wants to merge 3 commits into
Open
DennisSmolek wants to merge 3 commits into
DennisSmolek wants to merge 3 commits into
Conversation
…not in the image) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ced on open/close and resize) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Part of #63. Depends on #109 (this branch is cut from it; merge #109 first, or retarget after it lands).
Uses
canvasLabelsfrom #109 on the remaining examples where a label helps the comparison or mode, in the catalog briefs' own words. Labels name what is drawing: for pages that rebuild a kernel or scene, the label changes when the rebuild lands, not when the control moves.Mode: Full (diffuse + GGX)/ Lambert / FlatScheduler: Megakernel/Scheduler: Wavefront, refill batch, sort materialNode format: Quantized (default)/ f32 / BVH4 / CWBVH8Shadow rays: Exact (reference)etc.Light selection: pbrt (default) · ReSTIR DI on/offSpectral: on/Spectral: off (RGB transport)<document> · Approach: Codegen / Bake(constants documents say so)<view> · Sampler: Blue noise (1 spp per frame)Not labelled, on purpose: Classroom (the hero page already tags its left/right halves), Hello, glTF models, Material explorer, Fog and clouds, Cloud, GPU report: one thing on screen, nothing to compare, and the pane controls already name the mode.
Verified
pnpm typecheck: no new errors (only the known@pmndrs/vdbones in bench).vitest run examples/catalog.test.ts: 24 passed.--gpu, all 9 touched slugs): 9/9 pass. Canvas readback vs the base branch: identical means/std on schedulers, bvh, cutouts, materialx, convergence; shade, spectral, frame and lights differ only in the accumulated frame count at capture time (labels are DOM, outside the canvas).Update:
canvas-labels.tsnow measures the open info panel (.ex-info) and places labels beside it (centred in the visible canvas, or starting at its edge and leaving room for the controls pane); re-placed on open/close and resize. At phone width the panel spans the screen, so labels stay put (they show once it is closed). Re-checked first-visit screenshots and smoke on schedulers, materialx, ao.Dev-GPU load was ~28 during the runs: correctness only, no timings.
🤖 Generated with Claude Code