Repository navigation
feat(runtime,webgpu): the native runtime and the webgpu renderer from doodlewind/ThreeRT-dev - #298
Merged
Merged
Conversation
* docs: plan a Raster rendering method next to Path Traced One engine, two rendering methods chosen per build: Path Traced (today's renderer) and Raster (three.js's own WebGPURenderer running natively on navigator.gpu over wgpu). States the names, the crate layout (threert-runtime / threert-raster / threert-path, dependencies one way), the size gate for Raster builds, what moves from pocket-agents-island and what stays the same for Path Traced users. Plan only; no code moves yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: state the Raster app's measured size in the README line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: the Raster app's current measurements Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs,site: unify ThreeRT branding around path and webgpu renderers --------- Co-authored-by: doodlewind <doodlewind@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… build CLI and CI gates (#2) Co-authored-by: doodlewind <doodlewind@gmail.com>
Co-authored-by: doodlewind <doodlewind@gmail.com>
…nt_dir and silence non-macOS dead_code warnings (#4) Co-authored-by: doodlewind <doodlewind@gmail.com>
…resize_embedded_gpu (#5) Co-authored-by: doodlewind <doodlewind@gmail.com>
…Canvas fallback size (#6) Co-authored-by: doodlewind <doodlewind@gmail.com>
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.
Brings the work merged on the fork
doodlewind/ThreeRT-dev(its PRs #1–#6, plus one unmerged fix) intomeshy-dev/ThreeRT. The seven commits are cherry-picked ontomain(844381b) unchanged; there were no conflicts.8b5b322path,webgpu);docs/RENDERING-METHODS.md(supersedes #289)e0c6ef9runtime/(threert-jsc,threert-rt,threert-canvas2d,threert-net,threert-pocket-host,runtime/js/) andwebgpu/(threert-webgpu, sample,webgpu-shot), extracted from pocket-nexus/pocket-agents-island#28;tools/build.ts --renderer,tools/check-webgpu-gate.ts; CI jobwebgpu(macOS)311cc17tiny-skia/cosmic-text/image); CI jobwebgpu-linux7ceb4caset_font_dirre-entrant lock; non-macOSdead_codewarningsacb38f2pocket-host: fractional HiDPI and tiling-WM resizes viaresize_embedded_gpu4dc8da9net: Linux gsettings proxy;webgpu:WindowGpuCanvasfallback size0d936c2fix/portable-canvas2d-text-aligntextAlign: the JS enum order (start, end, left, right, center) and RTL, as the macOS backend already maps itrenderer/(thepathrenderer) is untouched. PocketJS crates are pinned topocket-nexus/pocketjs72b7d9a(onmain, #775).Not brought over from the fork:
denoise-exposure-reset(its commit says "WIP (not to merge as is)"). Every other fork branch is a topic branch whose PR is already merged here.Validation (macOS, Apple M5)
Run on this branch (
0d936c2):cd runtime && cargo test --release --locked: 10 passed (threert-canvas2d3,threert-net7). The portable-backend tests, including the newtextAlignones, compile only off macOS; thewebgpu-linuxjob runs them.cd webgpu && cargo test --release --locked: 14 passed (13 unit, 1 Metal integration), 1 ignorednode tools/build.ts --renderer webgpu:threert-webgpu-sample2.99 MiB,webgpu-shot2.99 MiB;runtime.js112.5 KiB,sample.js801.2 KiBnode tools/check-webgpu-gate.ts --render: JS layering OK (10 files, 0 forbidden imports);cargo tree89 crates, 0 path-tracer crates; size 2.99 MiB ≤ 4.50 MiB; headless Metal render 640×480, coverage 99.9 %npm run typecheck: OKnpm test: 324 pass, 0 fail, 1 skippedapps/desktopbuilt and tested against this commit (see that repository's repin PR).After merge
doodlewind/ThreeRT-dev@47d81bfto this repository'smain.docs/RENDERING-METHODS.mdhere.🤖 Generated with Claude Code