Repository navigation
Description
Scope
Implement R3 of #620 on top of R1 #650 and R2 #667: an original integrated Render workspace, a product-scene extraction contract and runtime GPU viewport capability registration. Keep those dependency PRs separate.
- Extract visible evaluated bodies in established world/occurrence placement, reusing mesh Arcs and existing body/component/face/imported appearance precedence and opacity. Product scenes contain no grid, edges, sketches, section cuts, selection highlights, active-component fading or construction objects. Refuse stale geometry at extraction; explicit scene inspection follows the normal authoritative evaluation path.
- Add a read-only
render.scenecommand with bounded metadata, and an explicit saved-camera application command preserving the existing Camera representation, mm/radians and up axis. - Register the integrated GPU viewport executor only from the successfully installed host device and its limits. Headless sessions continue to describe the existing CPU image path. Keep device types in L5, metadata outside document/history, and capabilities correct across new/open/document switches.
- Enable Render through the workspace selector. Reuse the installed renderer and device, with separate product scene buffers and no changes to the modelling viewport's drawing policy. Add saved setup, camera framing/projection and background controls through engine commands. Keep unknown backend/final-mode intent intact and report unsupported requests rather than silently substituting another profile.
- Preserve Design camera/view state when returning, and isolate Render selection across documents. A host without a GPU reports that viewport preview is unavailable rather than showing an opaque approximation as correct transparency. Existing CPU snapshots retain their current semantics.
- Existing transparency is raster alpha blending, not refraction. No HDRI/PBR, exposure processing, jobs/export, gallery, Bevy or second-engine selector in this slice.
Completion gates
Regression tests for scene independence from selection/section/active-component state; transformed repeated components; existing appearance/opacity precedence and mesh identity; stale model handling; host capability registration and lifecycle; real clicked workspace/settings flows, undo and multiple documents. Preserve existing modelling/snapshot tests. Run cargo xtask features and cargo xtask ci, reporting the independently reproduced upstream #665 failure without weakening that test. Include genuine SolidCraft screenshots from an original procedural scene and document actual GPU/platform limitations.
Feedback on scene boundaries, capability ownership and the initial controls is welcome. This is the integrated raster foundation, not a claim of physically based or final-quality rendering.
Activity
selun3 commentedon Oct 13, 2026
Starting R3 on codex/render-workspace, based on current upstream plus the separate R1/R2 dependencies. First implementing and testing the product-scene boundary, then runtime GPU registration and the integrated workspace. The independently reproduced upstream failure remains tracked in #665.
selun3 commentedon Oct 13, 2026
R3 implementation evidence from the native Windows app (Vulkan, MSAA 4×), using the original procedural fixture in examples/render-studio.json. Design and Render share the same model; Render removes modelling overlays and displays the committed appearances. Clear surfaces use raster alpha blending, not refraction or HDRI. Full validation and the PR will follow.
Design:

Render:

selun3 commentedon Oct 13, 2026
R3 is implemented in draft PR #706, with genuine Design/Render screenshots, the original procedural fixture and the contracts/limits documented. R1 #650 is merged; R2 #667 remains a dependency.
Integrated upstream through 2bb24d1 and resolved the R1 overlaps while preserving the R2/R3 additions. Render setup persistence moves to format 18 because upstream #700 now owns format 17; migration tests preserve both upstream-17 documents and existing R2 draft setups.
Latest full local gate: 2,379 passed / 1 failed / 49 ignored, 34 binaries. The Render regressions, all 480 UI tests, 371 kernel tests, sampled action matrix, Clippy, assets/licences/layers, doc tests and wasm checks pass. The remaining failure is the existing seed-16 circular-pattern case in #665; no test was weakened. The previous published head passed all remote CI; the latest integration is submitted for fresh checks. These distinct results and the necessary format deviation are recorded in the PR.
The separate non-deterministic hole is already tracked by the maintainer in #707 (also independently reported in #711). Our clean-upstream reproduction will be added there, avoiding another duplicate issue. Next work is R4a from #620, in a separate contribution; this issue remains open until its PR is merged.
Render: integrated workspace, preview image jobs and opaque PBR (#1046)
selun3 commentedon Oct 14, 2026
Completed through the consolidated #1046, merged as a261aaa. This includes the R3 workspace/product scene from #706, now closed as superseded. The integrated head c369d7a passed all enabled remote checks. Original screenshots/reproductions retain their source pins in the PR history; no fresh capture is claimed here. HDRI, texture mapping and final rendering remain separate work in #813/#620.