Repository navigation
docs: plan a Raster rendering method next to Path Traced - #289
Merged
Merged
Conversation
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>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Small thing before this merges: the PR description and
The doc's table row ("10 MB installed, 4.5 MB to download") also rounds one figure and not the other. I can't read |
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.
A plan, not code: how ThreeRT can grow a second rendering method without becoming two products.
WebGPURendererrunning natively:navigator.gpuover wgpu inside the engine's JavaScript guest. Neither is "lite"; the name stays ThreeRT.threert-runtime(guest, window, input, audio, net, assets, PocketJS UI host),threert-rasterandthreert-path(today's renderer).path → runtime ← raster. A Raster build links no path-tracer code.threert build --render raster|path.@threert/sceneshould also render through Raster.Docs only (
docs/RENDERING-METHODS.md); the README stays as is until Raster code lands. The document gives the README change for that time.🤖 Generated with Claude Code
Note
Low Risk
Documentation-only edits; no code, build, or runtime behavior changes.
Overview
Updates
docs/RENDERING-METHODS.mdto reflect current renderer status, not new architecture.The comparison table’s
webgpucolumn title now says WebGPU rasterization on macOS and Linux instead of the shorter WebGPU — macOS & Linux wording.In Open questions, the JIT guest item no longer treats Linux as blocked: it states that Linux already uses JavaScriptCore via WebKitGTK, and only Windows still needs a JIT-capable guest for per-frame
WebGPURendererJavaScript work (QuickJS is no longer implied as the Linux path).Reviewed by Cursor Bugbot for commit 98bad2a. Bugbot is set up for automated code reviews on this repo. Configure here.