* wip(render): reconcile completed material and image pipeline source with 0.20 (#5493) Source-only integration reference for staged review, not a merge-ready aggregate. Donor: 0xlillith/solidcraft@aea20b0115. Upstream:858e5995d6. Retain original CPU/material contracts and explicit GPU donor provenance in docs/render-materials-lab.md (#2067, #2191, #2780, #3306). Preserve released format migrations and current navigation/startup/shell behavior. New saved records use pending descriptors. The physical-card descriptor follows the maintainer's material-engineering-cards naming request, with a legacy-lab format-29 regression. Replace raw new panel hosts with shared containers. Repository checks, complete workspace/all-target Clippy, and the independent physical/resource authoring checks pass for this source. The fresh full local CI invocation has reached test compilation and is not yet complete. Do not transfer donor native output or prior test totals to this integration. Generated review screenshots, video, package ZIP and machine logs remain at the immutable personal evidence pin. Uncommitted geometric displacement is backed up separately, not silently included. No kernel/vendor change, direct main write, release or independent contributor-branch rewrite. Co-authored-by: Christian Svensson <blue@cmd.nu> * test(cli): pin the Compact camera-sample admission diagnostic (#5493) The bounded request still refuses 1024x1024x64 samples before host initialization and writes no output. Update only the stale expected diagnostic to the existing Compact budget wording; production limits and code are unchanged. Exact-tree CLI regression suite: 14 passed, 0 failed. The full repository gate has been invoked separately and is not yet complete. * Normalize UI container violation paths across platforms Report repository-relative paths with forward slashes so diagnostics and the existing nested-package regression assertions agree on Windows and Unix. Keep the container detection rules unchanged. Validation: official ui-containers gate and all seven focused xtask tests passed; rustfmt and diff checks passed. Only xtask/dependencies were compiled; no application build or heavy tests. (cherry picked from commit44b58d8e10) * fix(render): preserve camera contracts and correct acceptance regressions (#5493) Preserve Design view.apply semantics with a separate strict Render camera command. Retain existing translations when English-only aliases collide; add material-axis entries and camera-specific pitch labels. Compare complete validated engineering cards and retain job handles before cancellation. Focused and native acceptance is pinned to treef8a423b21f. Full CI has been invoked separately and is not claimed green. Landing follows the render integration policy in #5493. * fix(render): resolve showcase licence and upstream resource hygiene (#5493) Record SychPL's explicit MIT OR Apache-2.0 grant, retaining source/model bytes and the Ubuntu lettering notice. Remove 80 absent attribution rows, personal fork records, dead delivery attributes and three fork/resource-only workflows. Existing xtask assets now performs bounded offline hash checks and rejects orphan render attribution; no parallel draft CI or package installation. Original authoring reproduction remains explicit. Scoped xtask tests, assets, Clippy, formatting and prepared SELENE validation pass; no application or renderer-wide result is inferred. * fix(render): align saved bounds and progressive sample resolution (#5493) Address review r4364211669/r4364211677/r4364211681/r4364211691/r4364211695. Persisted light/frame domains respect the existing 1e9 document bound; related LED/rectangle/direction cases use the same bound. Workstation primary resolve shares the 4096 admission cap and film counters use checked conversions. Exact candidate: 485 CPU render tests, 21 render document tests and strict scoped Clippy pass, including positive boundary round trips and 2048/4096 end-to-end checkpoints. No released format/migration edits, relaxed test limits or full-stack acceptance claim. * wip(render): isolate optional resources and harden sample handling (#5493) Review work in progress: opt-in encoded render library with reproducible runtime catalog exports; native-only robust dependency through the workspace; checked bloom slices; per-sample point-light diagnostics; independent area-light spatial/film keys. Resource-module binaries in both configurations, generation, Cargo production feature graphs and attribution checks pass. Full engine/render regression and combined acceptance are pending: do not merge this donor as a constituent or treat scoped resource proof as runtime acceptance. * fix(gpu): preserve donor allocations through the scope-safety repair (#5722) Port the native-validated #5723 scope-cleanup correction into the experimental donor, retaining its adaptive, volume, aging, photographic and bloom allocations. Same reverse-drain helper and regression cases; the donor combination still needs its own compile/test gate and is not covered retroactively by render-base results. * claim: #1369 * Reject unknown pending concepts after format folding (#1369) * test(render): close bounded sampling and bloom review regressions (#5493) Validate the optional-resource/lighting/dependency donor at its exact tree. Required Vulkan GPU 127/0/3; CPU renderer 487/0; engine Render 72/0; document render 21/0; lean library 7/0; strict scoped Clippy, assets/layers/lists/containers and lean-engine WASM pass. Preserve original failed controller/typing attempts. This is the draft donor/disposition source, not a replacement for constituent render PRs or final main acceptance. * wip(render): preserve stable aging target validation candidate Exact staged source from prior review work on donor3b892eab5e. This is a recovery/review checkpoint, NOT accepted delivery. An actual command-path regression currently fails because the selected executor refuses ordered surface aging. No assertion, capability or admission limit is weakened. Native/UI/full combination acceptance remains pending. Saved/runtime split adds one pending descriptor and retains original file scope; no main/render branch is changed. * test(render): preserve numeric setup intent at the admitted coordinate bound Follow up jyviko review on #5494 without weakening the corrected saved-coordinate contract. The positive clicked fixture uses 1e9 instead of inadmissible 2e9; explicit out-of-range cases still refuse, and the full saved setup round-trips through JSON and the native container. Exact-source Render workspace 95/0 and strict all-target UI Clippy pass. This does not incorporate the separately failing stable-aging candidate or claim full current-render acceptance. * test(render): use the real GPU executor for saved aging Move successful native cold-reopen Check/Start coverage from the CPU-backed protocol fixture into the production GPU executor tests. Verify capture-index changes preserve the stable target and that enabling aging changes both PNG and raw EXR output. Retain explicit, allocation-free refusal coverage for executors without aging support. Production capabilities and admission checks are unchanged. * fix(render): persist stable identities for targeted aging (#5493) Separate saved RenderBodyTarget identities from captured mesh ordinals. Reject legacy ambiguous targets, resolve Check/Start after visibility changes and preserve native reopening, copies and undo. Unsupported executors still refuse; real AMD Vulkan regression completes saved aging after reordered capture. Source tree6b84c8adpasses document 23, engine Render 75, GPU effects 5 and Render UI 95 with no failures; scoped strict Clippy, WASM and repository gates pass. Fresh CLI/native reopen and clean/aged GPU exports pass with identical physical totals and inspected actual images. Whole current-render integration is separate. * fix(render): reconcile combined CPU/GPU contracts on current upstream Unify captured resources/status and CPU-vs-GPU request schemas after the real two-parent integration; remove obsolete duplicate Vulkan selector and retain combined platform-filter regression. Deduplicate only identical or superseded test definitions, retaining the stronger card metadata and reserved-executor assertions. No assertions, admission limits or feature refusals are weakened. All targets of render dependencies, GPU, engine, UI, CLI and native app pass cargo check with raytrace-cpu and bundled-render-library at treec70d00d1. Native executable tests and full current-source acceptance remain pending. This is a private integration rehearsal for subsequent constituent PRs, not an aggregate official render/main merge. * test(render): retain one complete host lifetime regression set Deduplicate byte-identical DropProbe/task-lifetime tests and retain the adapted environment/texture ownership regressions with every assertion and complete memory estimate. Keep the registered-geometry admission regression once; only struct field order differed. Replace a one-element diagnostic loop with its equivalent block, preserving all wrap/width assertions. Test-only integration repair. Formatting and diff checks pass; refreshed executable validation is required. No production behavior, limits, assertions or ignores changed. * fix(doc): recognize the proven format-29 card descriptor alias Normalize only the historical format-29 physical-material-cards spelling, and only when material-engineering-cards is registered. Admission and migration de-duplication use the same identity. Unknown concepts, wrong versions and incapable readers still refuse before mutation. Six controlled-history Rust regressions and actual CLI migration/no-clobber acceptance pass. No version, released migration or CI changes. Refs #5793, #1369, #5493. * test(render): preserve grounding refusal before explicit instance moves Update the two Render binding fixtures for upstream first-occurrence grounding. Verify grounded movement refuses without changing document/history, then explicitly unground through the public command before the intended move. Retain every target, resource, copy and persistence assertion. Refs #5493. --------- Co-authored-by: Christian Svensson <blue@cmd.nu> Co-authored-by: Victor Santos Oliveira <56417388+Vittuu@users.noreply.github.com> Co-authored-by: cfaulkingham <colin.faulkingham@gmail.com>
15 KiB
SELENE original appearance pack
Forty-eight original appearance recipes are prepared for the current opaque PBR command path. Every recipe has a directly copyable, model-independent baseline and a separate advanced target specification. The pack contains no measured material dataset, external artwork, engineering material properties or runtime implementation.
Files and status
| File | Purpose |
|---|---|
appearance-pack.json |
Editable authority for 48 recipes, their opaque projections and future target requirements. This is authoring data, not a native portable library file. |
appearance-swatches.json |
Prepared command script with 48 labeled box swatches and one neutral support base. It uses the existing file.new, solid.box and appearance.assign command shapes. |
appearance-pack.md |
Contract, use, limitations and recipe index. |
The authoring step checked JSON structure, ID/name uniqueness, catalog and capability references, numeric admission bounds, exact runtime parameter keys, and every swatch assignment against the recipe authority. No SolidCraft runtime was executed and no rendered image was visually reviewed during authoring. The script is a prepared input whose execution and render admission must be verified on the selected build.
Runtime projection contract
Copy items[].baseline_projection.runtime_parameters, then add an existing target selection before calling appearance.assign. The projection includes appearance, color, opacity: 1 and exactly three PBR fields: metallic, roughness and dielectric_ior. Targets are deliberately absent because the improved SELENE source model must be pinned and inspected before binding.
{
"command": "appearance.assign",
"params": {
"bodies": [
"Existing target body"
],
"appearance": "SELENE-AP-001 Neutral matte enclosure",
"color": "#717882",
"opacity": 1.0,
"pbr": {
"metallic": 0.0,
"roughness": 0.68,
"dielectric_ior": 1.5
}
}
}
The body name in this example is a placeholder, not a ready-to-run model binding. The current command also accepts face points and components. An occurrence name supplied as a component target resolves to its component definition; do not assume an independent occurrence override. Face overrides take precedence over broader appearances. Assigning a look replaces it: omitting pbr later restores the scalar response instead of retaining these fields.
Current bounds are metallic 0 to 1, perceptual roughness 0.045 to 1, relative dielectric IOR 1 to 3, and opacity exactly 1 for PBR. Colors are sRGB8 hex values decoded by the existing renderer. All values here are original illustrative authoring choices. The common IOR control of 1.5 is not a measured value; it controls reflection of the nonmetal fraction and does not enable transmission. The metal recipes use metallic 1 and the dielectric recipes use metallic 0; no mechanical or electrical properties follow from either choice.
The pack JSON is not solidcraft-library/1 and cannot be passed directly to library.inspect or library.apply. That scalar library format cannot preserve PBR. Use the prepared script, an explicit appearance overlay, or a native format-21 design. A future catalog importer needs its own versioned admission contract.
Prepared swatch script
The 48 swatches are 12 x 12 x 8 mm boxes in 8 columns and 6 rows with an 18 mm pitch. Their lower corners run from x = -69 mm to 57 mm and y = -51 mm to 39 mm, starting at z = 1 mm. A 144 x 108 x 1 mm base sits below them. IDs ascend along x within each row, then along y. Body names carry the recipe ID and English name; there is no text geometry, font, decal or external asset.
The script contains 99 commands: one new design, 49 boxes, and 49 appearance assignments. Flat boxes intentionally bound tessellation demand; they are an inspection grid, not a complete optical validation target. A curved reference, an angular light sweep, and close-up geometry remain necessary for validating highlights, anisotropy and layered targets when those functions exist.
Prepared commands for a built native CLI, run from the repository root:
mkdir -p target/selene-render
solidcraft-cli run assets/render/selene/materials/appearance-swatches.json --save target/selene-render/appearance-swatches.solidcraft --results --json-out target/selene-render/appearance-swatches-results.json
solidcraft-cli render target/selene-render/appearance-swatches.solidcraft --out target/selene-render/appearance-swatches.png --width 768 --height 576
These commands have been prepared, not executed. The render CLI automatically fits a camera when none is supplied. Existing output is protected unless --overwrite is explicitly provided. Keep local render evidence under ignored target/; this pack does not bundle unreviewed preview exports.
To style a pinned SELENE design, prepare a separate overlay containing only appearance.assign commands with verified target names, then run:
solidcraft-cli run target/selene-render/verified-appearance-overlay.json --in path/to/pinned-selene.solidcraft --save target/selene-render/selene-styled.solidcraft --results
Both input paths above are placeholders until the model and overlay are prepared. The overlay must contain no file.new, geometry edits, physical-material edits, joint edits or pose changes. Native save is the preservation path. timeline.export_script currently omits appearance overrides and refuses component/joint assemblies; it is not an appearance or articulated-model round-trip mechanism. A multi-command script stops at the first error and is not a whole-script transaction, so verify targets before applying it to the review copy.
What the baseline can show
The current Render consumer supports opaque direct-lit responses under three fixed neutral directional lights, with the existing preview tone mapping and PNG export. It does not implement the textured, layered, transmissive or emissive targets described here. Current consumers have no cast shadows, environment illumination, indirect bounces, surface coating, anisotropy, absorption or transmission. Saved nondefault environment/exposure intent is not executable by this baseline. These limits are documented in docs/render-opaque-pbr.md and docs/render-jobs.md.
Advanced targets remain separate authoring data. Their numeric controls are illustrative texture or geometry settings in millimetres, radians or explicitly named dimensionless units. They are not manufacturing recommendations or measurements. Optical spectra, refractive data, layer thicknesses and scattering coefficients remain unspecified where the recipe lists missing inputs. CAP references link to requirements in capabilities.json, not to a claim of implementation.
SELENE-specific fidelity boundaries
- The sample vial, optical window and diffuser recipes are explicitly opaque inspection surrogates (AP-029, AP-030 and AP-039). They do not show glass, refraction or light transmission. Transparent containers need closed wall geometry and correct interior/exterior medium handling before the advanced target can be represented.
- The unpowered LED face (AP-038) emits no light. Active LEDs require a separate emission model; spectrally excited phosphor conversion additionally requires excitation, conversion and emission data. Ordinary RGB emission must not be labelled fluorescence.
- The black and silver anodized recipes (AP-015 and AP-016) are simplified outer-response surrogates. Actual anodizing combines a dielectric or absorbing oxide with a metal substrate; a single metalness value is not that layer model.
- Blanket folds (AP-018 and AP-019), honeycomb walls (AP-040), mesh-wheel openings (AP-044), serrations and threads require geometry. Color or roughness alone cannot provide their silhouettes, empty space or self-shadowing.
- Lunar terrain and deposits (AP-041 to AP-043) are granular surfaces in vacuum. The dust-patch baseline belongs on separate deposit geometry or a deliberately bounded face. Applying it to an entire rover body does not reproduce sparse dust coverage. No terrestrial fog, wetness or aerial perspective is implied.
- Appearance assignments do not define density, stiffness, friction, thermal emissivity, electrical performance, leak tightness, cleanliness, ESD behavior or flight readiness. They must leave the improved model geometry, articulation, joint limits and motion data intact.
- The automotive rubber sidewall (AP-048) is a representative terrestrial material target. Do not substitute it for the SELENE open metal wheel (AP-044) merely because both are wheel-related.
Recipe index
All entries use opacity 1 and the illustrative IOR control 1.5. M is metallic fraction; R is perceptual roughness. The catalog link is semantic traceability to the 600-recipe planning catalog, not an imported texture or measured asset.
| ID | Original recipe | Catalog source | sRGB color | M | R | Baseline role |
|---|---|---|---|---|---|---|
| SELENE-AP-001 | Neutral matte enclosure | MAT-031 | #717882 |
0 | 0.68 | opaque surface |
| SELENE-AP-002 | White thermal-coating preview | MAT-491 | #d9dde0 |
0 | 0.58 | opaque surface |
| SELENE-AP-003 | Matte optical baffle | MAT-468 | #141619 |
0 | 0.94 | opaque surface |
| SELENE-AP-004 | Ceramic gripper contact pad | MAT-574 | #d9d7cf |
0 | 0.32 | opaque surface |
| SELENE-AP-005 | Machined aluminium wheel rim | MAT-561 | #b9c0c7 |
1 | 0.29 | opaque surface |
| SELENE-AP-006 | Serrated metal gripper jaw | MAT-573 | #a6adb5 |
1 | 0.40 | opaque surface |
| SELENE-AP-007 | Linear-brushed stainless housing | MAT-002 | #b8bdc2 |
1 | 0.34 | opaque surface |
| SELENE-AP-008 | Polished stainless sample cup | MAT-593 | #c9ced3 |
1 | 0.16 | opaque surface |
| SELENE-AP-009 | Titanium wrist finish | MAT-572 | #8b9098 |
1 | 0.43 | opaque surface |
| SELENE-AP-010 | Exposed copper conductor | MAT-164 | #b97850 |
1 | 0.27 | opaque surface |
| SELENE-AP-011 | Machined brass printer nozzle | MAT-391 | #b4a06b |
1 | 0.30 | opaque surface |
| SELENE-AP-012 | Solidified solder joint | MAT-165 | #bec3c6 |
1 | 0.25 | opaque surface |
| SELENE-AP-013 | Metal sampling scoop | MAT-575 | #9ba4ad |
1 | 0.44 | opaque surface |
| SELENE-AP-014 | Gold-finished contact pad | MAT-163 | #bf9c49 |
1 | 0.21 | opaque surface |
| SELENE-AP-015 | Black anodized chassis surrogate | MAT-567 | #252a30 |
0 | 0.56 | opaque surface |
| SELENE-AP-016 | Silver anodized cover surrogate | MAT-015 | #abb3ba |
1 | 0.39 | opaque surface |
| SELENE-AP-017 | Composite arm tube surrogate | MAT-571 | #252a2e |
0 | 0.42 | opaque surface |
| SELENE-AP-018 | Aluminized blanket metal face | MAT-501 | #c3c8cd |
1 | 0.18 | opaque surface |
| SELENE-AP-019 | Polyimide-facing blanket surrogate | MAT-502 | #80602e |
0 | 0.30 | opaque surface |
| SELENE-AP-020 | Solar-cell opaque preview | MAT-511 | #172b43 |
0 | 0.24 | opaque surface |
| SELENE-AP-021 | Silicone cable jacket | MAT-333 | #484d56 |
0 | 0.77 | opaque surface |
| SELENE-AP-022 | Polyimide harness wrap | MAT-332 | #9d713d |
0 | 0.46 | opaque surface |
| SELENE-AP-023 | Fluoropolymer sealing ring | MAT-598 | #dbddd7 |
0 | 0.49 | opaque surface |
| SELENE-AP-024 | Elastomer seal candidate | MAT-599 | #26292b |
0 | 0.86 | opaque surface |
| SELENE-AP-025 | Opaque sample cassette body | MAT-595 | #424a54 |
0 | 0.54 | opaque surface |
| SELENE-AP-026 | Textured ABS instrument shell | MAT-042 | #59616b |
0 | 0.64 | opaque surface |
| SELENE-AP-027 | Powder-printed polyamide preview | MAT-175 | #abb0b1 |
0 | 0.87 | opaque surface |
| SELENE-AP-028 | FDM top-skin preview | MAT-171, MAT-361 | #aab5bd |
0 | 0.46 | opaque surface |
| SELENE-AP-029 | Sample vial opaque inspection surrogate | MAT-582 | #91a2ae |
0 | 0.35 | opaque inspection surrogate |
| SELENE-AP-030 | Window opaque inspection surrogate | MAT-583 | #537286 |
0 | 0.24 | opaque inspection surrogate |
| SELENE-AP-031 | Matte ceramic sample insert | MAT-594 | #c9c5bb |
0 | 0.59 | opaque surface |
| SELENE-AP-032 | Threaded metal closure cap | MAT-596 | #b6bcc3 |
1 | 0.31 | opaque surface |
| SELENE-AP-033 | Graphite thermal-sheet preview | MAT-349 | #35383d |
0 | 0.91 | opaque surface |
| SELENE-AP-034 | Solder-mask board face | MAT-161 | #32624b |
0 | 0.42 | opaque surface |
| SELENE-AP-035 | Exposed glass-epoxy board edge | MAT-162 | #9b9270 |
0 | 0.77 | opaque surface |
| SELENE-AP-036 | Molded epoxy component body | MAT-166 | #252727 |
0 | 0.80 | opaque surface |
| SELENE-AP-037 | Battery-can metal preview | MAT-341 | #b3bbc3 |
1 | 0.35 | opaque surface |
| SELENE-AP-038 | Unpowered LED phosphor face | MAT-441 | #d6bd64 |
0 | 0.65 | opaque surface |
| SELENE-AP-039 | Diffuser opaque inspection surrogate | MAT-451 | #dadcdb |
0 | 0.72 | opaque inspection surrogate |
| SELENE-AP-040 | Aluminium honeycomb cut edge | MAT-481 | #a5adb6 |
1 | 0.40 | opaque surface |
| SELENE-AP-041 | Mare-style regolith surface | MAT-531 | #5e5c58 |
0 | 0.96 | opaque surface |
| SELENE-AP-042 | Highland-style regolith surface | MAT-546 | #8b8881 |
0 | 0.96 | opaque surface |
| SELENE-AP-043 | Tool-transferred dust patch | MAT-559 | #7b766d |
0 | 0.98 | opaque deposit geometry response |
| SELENE-AP-044 | Woven-metal wheel mesh | MAT-565 | #999fa7 |
1 | 0.38 | opaque surface |
| SELENE-AP-045 | Oiled oak workshop surface | MAT-111 | #a17a51 |
0 | 0.56 | opaque surface |
| SELENE-AP-046 | Varnished walnut joinery | MAT-113 | #6d4d37 |
0 | 0.30 | opaque surface |
| SELENE-AP-047 | Automotive smooth clearcoat surrogate | MAT-034, MAT-204 | #4e697e |
0 | 0.21 | opaque surface |
| SELENE-AP-048 | Embossed tyre-sidewall preview | MAT-237 | #282a2c |
0 | 0.83 | opaque surface |
Source and contract references
appearance.assignimplementation: named custom colors, body/face/component targeting and exact PBR block admission.- Persistable PBR parameters: appearance-owned optical values and sRGB decoding.
- Opaque product surface contract: current consumers, limits, native preservation and unsupported functions.
- Original opaque studio example: existing
solid.boxand appearance command shapes used for this prepared script. - CLI render workflow and product-image jobs: bounded PNG admission, preflight/start/wait/export and overwrite behavior.
- Script executor and timeline export: replay semantics and export omissions.
- Scalar catalog contract: version-1 scalar-only fields and PBR export refusal.
Original provenance
Author: SolidCraft contributors. License: MIT OR Apache-2.0. The two JSON files are original clean-room resource data and analytic command inputs. No commercial material library, copied shader, third-party artwork, restricted CAD extraction or generated image texture is bundled. Their exact attribution rows belong in the repository root ATTRIBUTION.md; Markdown documentation is exempt from the non-Markdown asset gate.