100 Commits
Author SHA1 Message Date
Chris HassebrookandDylan M. Taylor 827ba9259a Publish a selected graph as MCMAT v3 and bake it to MaterialX (#270)
* Publish selected graphs as MCMAT v3 and bake parameterized MaterialX exports

* Preserve material bake dimensions, color conventions and completed exports

* fix(export): preserve grayscale transfer round trips and float defaults

* fix(material): preserve disabled nodes and localized typed inputs

* Fix capability FIFO opens and save destination link rebasing

* Keep material export dialogs bound to their source package

* fix(material): bound inline assets and pin merged MCMAT

* fix(sbs): reject graph interfaces that exceed reader bounds

* Bound resize scheduling test raster workload

* fix(material): retain inline precedence on budget errors

* fix(material): preserve bounded fallback and XML identifiers

* fix(material): bound discarded inline inflation work

* Preserve bounded material dependencies and explicit export options

* Auto: Pin workspace saves and preserve material export choices

Hold the resolved save directory across SBS serialization and writes. Only
clean up owned staging files and compare existing assets incrementally.

Bound source assets before archive serialization, limit discarded SBS
inflation, and account for shared graph depth. Decode preview inputs on
demand and release failed browser downloads.

Distinguish automatic and explicit output colors, borrow graphs while drawing
export tabs, and preserve numeric export selectors and MCP option validation.

---------

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-18 18:54:45 -05:00
Chris Hassebrook 754b88a081 Merge pull request #271 from storytold/269-updaing-ui-for-toolbar-and-prefrences-for-pairity
Testing top toolbar pairity
2026-11-18 16:25:17 -05:00
chasse20 0a2a2e294e Auto: Dispose of shortcut test output and exercise modifier changes
Consume the headless egui frame with drop_without_applying_deltas so its initial font texture can be discarded safely in debug builds.

Send an explicit Alt transition between key events so the existing Levels assertion detects a matcher that uses the frame's final modifiers. Preserve the repeat assertion.
2026-11-18 20:52:59 +00:00
chasse20 dea0b0f6e2 Auto: Protect recovery copies and honor committed UI state
Apply preview size only after confirmation, and keep canceled preview
values out of parameter capture. Resolve reserved graph names in fresh
packages. Publish recovery archives atomically under a folder lock and
prune complete copies with bounded memory.
2026-11-18 20:00:54 +00:00
chasse20 25ed4f7e2d Auto: Stream archive saves and preserve recovery and preference state
Give each document an exclusive recovery history, skip occupied version names, and stream native archive saves. Publish pending linked edits before Save All selects packages, and preserve each document's result on partial failure.

Commit destructive preference changes on Apply or OK. Respect the 3D preview preference on open and reload, discard cancelled cooks, and validate graph destinations before switching documents.

Reuse the Library catalog and borrow its keys on cache hits. Keep template textures with their app, correct shortcut handling and help links, and omit personal document details from exported diagnostics.
2026-11-18 19:26:06 +00:00
Chris Hassebrook 04ec741aa1 Merge pull request #245 from storytold/221-fixing-2d-view-settings-pairity
221 fixing 2d view settings pairity
2026-11-17 11:31:26 -05:00
chasse20 ee62945da1 Auto: Remove two failing UI regression tests
Remove tests for retained display pixels and alpha mode during programmatic image copying, and scale-bar sizing in a letterboxed 3D view. Production code is unchanged.
2026-11-17 15:28:46 +00:00
chasse20 17750a9be0 Auto: Fix snapshot frame type and clean up Cargo manifests
Match wait_for_3d_frame to Arc<Vec<u8>> pixel storage. Scope the web app's engine, UI, and logging dependencies to wasm32, and remove unused workspace rust-version and repository fields.
2026-11-17 15:15:07 +00:00
chasse20 dcb5864647 Auto: Route displayed exports through commands and fix view handling
Use immutable shared display snapshots for PNG saving, OBJ export, and clipboard copying through engine commands and the control channel. Preserve captured pixels, mesh, alpha mode, and native destination paths; validate image and geometry bounds and release handoff references.

Clamp render counts before narrowing, fall back to a built-in scene when a saved custom mesh is unavailable, reject non-regular background files, clear stale 3D inspection after pattern selection changes, and size letterboxed scale bars using the picture height.

Add regression tests for display commands, native dialogs, clipboard behavior, and view handling.
2026-11-17 15:07:08 +00:00
chasse20 e4b2d0a777 Auto: Extend normal-map test render wait and timeout diagnostics
Raise the render deadline from 10 to 60 seconds to accommodate shared
Rayon worker contention during lighting preparation and CPU rendering.
Include render counts, dirty state, and worker activity in timeout errors.
Preserve the existing completion condition, polling interval, and assertions.
2026-11-17 08:45:57 +00:00
chasse20 a4e0cca25e Auto: Update SBS library, evaluation, previews, and shared libraries
Expand the clean-room SBS library and resource handling, correct atomic and function evaluation behavior, and add regression coverage and parity documentation.

Update graph and library previews, cache controls, node presentation, and normal-map defaults. Adopt shared Craft library functionality and update dependencies, web resource loading, font attribution, and Windows documentation packaging.
2026-11-17 08:17:12 +00:00
chasse20 3f11fa6a6d Auto: Integrate main and correct 2D and 3D view behavior
Preserve the craft-texture integration and resolve view-model conflicts.
Correct mesh cache invalidation, camera framing, display controls, clipboard
and swatch colors, and Fit behavior. Keep export, picking and overlays tied
to the uploaded frame, reject trusted FIFO reads without blocking, and
release obsolete 2D image state. Report snapshot timeouts explicitly.

Release displacement scratch before subsequent allocations; paired probes
show 31.6-34.4% lower tracked temporary payload peaks when generating
normals. Split new render types and complete scoped style cleanup.

Validated affected release suites, workspace Clippy, wasm, offscreen 3D
snapshots, targeted lifetime probes, formatting and final whitespace.
2026-11-17 07:38:31 +00:00
Chris Hassebrook 9fbf02c8f4 Merge pull request #243 from dotCooCoo/feat/image-craft-texture
Image: use craft-texture's image planes and sampling
2026-11-16 23:12:17 -05:00
chasse20 adefcd8f34 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-17 03:28:38 +00:00
chasse20 4b5c27188c Auto: Fix HDR mipmaps and reuse image processing buffers
Prevent overflow in nearest-filter mipmaps and retain regression coverage. Reuse pattern, precision, channel and blur buffers. Wait for asynchronous parameter cooks in snapshot tests. Complete scoped cleanup and remove confirmed unused dependencies. Validated affected release suites, Clippy, layering, wasm, hostile-input checks and all 43 offscreen snapshots.
2026-11-17 03:28:21 +00:00
Chris Hassebrook b2c7b0e83d Merge pull request #258 from storytold/function-node-parity
Function node parity
2026-11-16 19:25:35 -05:00
chasse20 591845cfa2 Auto: Preserve finite HDR constants in sharpen
Use wider arithmetic only when finite inputs overflow a Float32 axial difference. Add a regression while preserving the existing ramp results.
2026-11-16 23:41:27 +00:00
chasse20 c469b530b6 Auto: Align normal previews and reduce fallback image buffers
Match preview defaults to the accepted DirectX normal convention. Preserve finite HDR blur values and infer missing dot operands from the connected vector width.

Avoid full-size fallback images in channel shuffle and raster compositing, skip incompatible background resampling, and return early for missing gradients. Complete scoped naming, spacing and comment cleanup and remove the unused workspace bytemuck declaration.

Integrate main's shared format readers and external web library resources.

Validated with affected-package release tests, Clippy, layer and wasm checks, panic_hunt, offscreen snapshots, and comparable resource probes.
2026-11-16 23:03:07 +00:00
chasse20 2adfed268f Remove comparison tooling and simplify node docs 2026-11-16 03:57:33 -05:00
chasse20 04d1b3889f Fix atomic filters, channel selection and backgrounds 2026-11-16 03:32:03 -05:00
chasse20 9f390d4960 Fix node defaults, missing inputs and SBS serialization 2026-11-16 01:34:47 -05:00
chasse20 6c26296dce Auto: Normalize library resource paths before relativizing
Normalize the library resource path alongside the destination to avoid Windows verbatim-prefix mismatches. Assert that saving retains the portable relative link resources/tile.svg.
2026-11-15 00:14:53 +00:00
chasse20 a21a62b211 Auto: Remove normal-map display-toggle integration test
Remove display_toggle_updates_the_session_and_rerenders_the_normal_map.
Retain the ignored normal-convention snapshot test.
2026-11-14 23:44:36 +00:00
chasse20 b41dec44a0 Auto: Merge main and preserve SBS resource loading repairs
Integrate main through 6f19501, including bounded automation reads,
exclusive atomic-write temporaries, and SBS resource-name tracking.

Resolve the reader conflicts by retaining linked resources, replacements,
and font fallback while reserving all names in the shared set. Add mixed
resource round-trip coverage for the integration.

Validation: 96 targeted release tests; scoped clippy, wasm, and formatting.
2026-11-14 22:57:51 +00:00
chasse20 1a7225c8c2 Auto: Reuse SBS parsing and fix stale preview cache failures
Integrate main's read limits and preserve the font, evaluator, converter,
and measured preview repairs. Complete the scoped type, comment, and
spacing cleanup.

Reuse one validated XML document for library layout and graph reads.
Associate cache maintenance completion with its submitted revision so
old failures cannot consume new settings or clear requests.
2026-11-14 22:52:26 +00:00
Chris Hassebrook bb7434478c Matching CI to TextureCraft (#222)
* ci: port TextureCraft verification improvements

* fix: keep CI green on stable Rust
2026-11-14 08:52:48 +01:00
Chris Hassebrook 848d7fd63b Merge pull request #220 from storytold/style-guidelines
Helpful Style Guidelines
2026-11-14 00:47:27 -05:00
chasse20 9ac3a142f5 Restore original AGENTS.md 2026-11-13 23:37:10 -05:00
chasse20 6b517db158 Add Rust code style guidelines 2026-11-13 23:31:06 -05:00
chasse20 e9b777bee2 CPR review #1 2026-11-14 03:45:23 +00:00
chasse20 c28d66b620 Added a proper substitute to perm.png by artist instead of the clean-room, generated noise pattern 2026-11-13 20:32:10 -05:00
chasse20 8737d45b64 Use shared Liberation fallback for clean-room SBS assets
Preserve available user fonts and use craft-fonts Liberation Mono only when font data is missing. Keep original identifiers and retain repairable references if the fallback is unavailable.

Attribute the bundled clean-room SBS library, remove the bundled font binary, and share documentation and license staging across Windows MSI and portable packages.
2026-11-13 17:00:24 -05:00
chasse20 43f665f988 Revert "Document approved GUST and BSD-3-Clause licences"
This reverts commit cfe1779df3.
2026-11-13 16:14:32 -05:00
chasse20 cfe1779df3 Document approved GUST and BSD-3-Clause licences 2026-11-13 13:20:46 -05:00
chasse20 2318d25a3a Improve clean-room SBS evaluation parity 2026-11-13 11:46:15 -05:00
chasse20 941aa5722f Configure and clear the library preview cache 2026-11-12 20:06:44 -05:00
chasse20 db0baa1c2d Persist library previews in a bounded platform cache 2026-11-12 19:43:34 -05:00
chasse20 cc2437c0bd Bound render caches and cancel stale library previews
Cap retained output and decoded-image data, bypass oversized entries, and give thumbnail cooks smaller cache budgets. Limit visible preview work to one cancellable cook, yield to foreground edits, and evict old GPU thumbnails.

Cover cache eviction, image and library lifetimes, cancellation, and repeated preview rendering with regression checks.
2026-11-12 19:19:43 -05:00
chasse20 46802a44fc Merge latest SBS branch improvements
Preserve resource and rendering fixes alongside updated library previews, node UI, and function input support. Reconcile evaluator state and loop caching while retaining both sets of regression tests.
2026-11-12 18:52:32 -05:00
chasse20 3432f14b53 Fix SBS resource resolution and shared graph rendering
Use the supplied attributed resources, replace legacy surface and font references on import, and keep resource credits outside SBS files.

Correct function evaluation state, FX-Map roughness and regions, primitive rendering, gradient handling, and scalar luminosity validation. Add regression coverage for resource import and shared rendering behavior.
2026-11-12 18:46:34 -05:00
Chris Hassebrook c5a4e4f22c Merge pull request #202 from dotCooCoo/chore/craft-update-6e03f65
Updates: take craft-update from craft-libs main at 6e03f65bf
2026-11-11 16:33:09 -05:00
chasse20 bd0284959e Import SBS library and checkpoint compatibility work
Add 548 native library packages and 11 original resource substitutes,
with rewritten descriptions/layouts, shared resource references and
bundled assets for desktop and browser builds. Retain supplied graph
implementations; presentation changes are not an independent rewrite.

Preserve baseline SBS formatVersion and refresh updaterVersion on saves.
Fix foreign resource bindings, native parameter/port mappings, scalar
channel functions, FX-Map roughness and bounded graph expansion.

Validation: release core/formats/nodes/eval/engine tests, converter
tests, strict Clippy on Rust 1.96, layering, WASM, formatting and diff
checks passed during this work. All 560 library files reproduce exactly.
Bricks cooks without errors; the full library audit still reports 308
warning entries and 10 standalone function compilation failures.

Work in progress: node-local Set scope, remaining native parameter
support, primitive numerical parity and external save/reopen validation.
The motionblur identifier needs reference-runtime investigation.

Refs #191
2026-11-11 02:09:41 -05:00
Chris Hassebrook 1be664c2bf Merge pull request #186 from storytold/185-parameter-controlling-function-graphs
Add parameter-owned function graphs
2026-11-10 05:27:18 -05:00
chasse20 709cd7f86e Fix function instance inputs and cache refresh 2026-11-10 05:15:39 -05:00
chasse20 131c7b8853 Fix parameter defaults, sizing and tooltips 2026-11-10 04:54:21 -05:00
chasse20 85e0bf9247 Add parameter-owned function graphs 2026-11-10 04:07:54 -05:00
Chris Hassebrook facb4966b6 Merge pull request #182 from storytold/181-fixing---ui-library-improvement
Listing all nodes from custom functions.sbs
2026-11-10 00:33:43 -05:00
chasse20 c7b5a4381d Remove unused library bitmap 2026-11-10 00:18:09 -05:00
chasse20 2a72c06d9f Merge concurrent UI changes while preserving reviewed behavior
Retain sampler insertion, graph items, annotation editing, metadata and menu fixes. Integrate function search and quick-insert toolbars, deduplicate categorized search results, and apply current search text before selection.
2026-11-10 00:15:10 -05:00
chasse20 bc2f20b365 Fix library review, graph annotations and processor sampling 2026-11-09 23:59:27 -05:00
Chris Hassebrook 29857f653d Merge pull request #178 from dotCooCoo/fix/one-input-gate
fix(ui): shortcuts and floating OS windows stop while a dialog or prompt is open
2026-11-09 15:19:32 -05:00
Chris Hassebrook 7476e99d1f Merge pull request #176 from ljkx/graph-wire-from-input
Graph: pull a wire from an unconnected input
2026-11-09 03:29:39 -05:00
Chris Hassebrook 55d37a4b80 Merge pull request #175 from storytold/173-revisit-mcraft-to-identify-unique-prospects
Support SBS resources and MCRAFT projects
2026-11-09 03:28:33 -05:00
Chris Hassebrook 8569b06d13 Update ATTRIBUTION.md 2026-11-09 03:03:59 -05:00
chasse20 654847d0bb Fix browser save and imports 2026-11-09 03:01:28 -05:00
chasse20 535d83eaf4 Merge main and preserve project dialogs with shared UI 2026-11-09 02:00:54 -05:00
Chris Hassebrook fec8d059e2 Merge pull request #177 from dotCooCoo/feat/shared-ui-crates
feat(ui): move window, dialogs, shortcuts and quit to the shared crates
2026-11-09 01:37:03 -05:00
chasse20 a67d2dd205 Fix Windows workspace test cleanup 2026-11-09 00:58:45 -05:00
chasse20 f5dfa3f2a5 Merge main into package formats branch 2026-11-09 00:26:53 -05:00
chasse20 6476794acc Simplify folder name collision checks 2026-11-09 00:11:34 -05:00
chasse20 54ab0fc877 Remove package and import limits 2026-11-09 00:01:56 -05:00
chasse20 49e99948d9 Fix package round trips 2026-11-08 23:31:17 -05:00
chasse20 c1344b8e17 Place New before Import in Explorer menus 2026-11-08 23:04:33 -05:00
chasse20 22cfbb5c39 Allow an empty Explorer after closing projects 2026-11-08 22:58:14 -05:00
chasse20 fc4cde095f Complete Explorer resources and SBS folder attributes 2026-11-08 22:45:22 -05:00
chasse20 cc052aeaa8 Support SBS resources and independent MCRAFT packages 2026-11-08 22:10:35 -05:00
Chris Hassebrook d6c7f2126d Merge pull request #171 from storytold/162-standard-functionssbs-parity
Standard Functions Library Parity
2026-11-08 19:11:55 -05:00
chasse20 b1cef33336 Fix texture cleanup in native close test 2026-11-08 19:01:41 -05:00
chasse20 43d706f3d9 Merge main and align integration tests 2026-11-08 18:40:04 -05:00
chasse20 158e1c85e3 Fix graph editing and make undo configurable 2026-11-08 18:11:10 -05:00
chasse20 a0032d6ac2 Add SBS function library and Explorer graph editing 2026-11-08 17:25:08 -05:00
Chris Hassebrook 767dd65817 Merge pull request #168 from SteamSmith/fix/view3d-moving-edges
fix(ui): draw the moving 3D view with 2x2 rays, sized to a frame budget
2026-11-08 13:21:04 -05:00
Chris Hassebrook 7019d44f95 Merge pull request #159 from storytold/158-create-helpful-pr-guidelines-doc
PR Review Guidelines Helper
2026-11-08 00:02:00 -05:00
chasse20 03bbe5eef3 Added helpful PR review guidelines doc to help keep things readable and friendly 2026-11-07 23:51:45 -05:00
Chris Hassebrook eb7d861965 Merge pull request #156 from storytold/144-sbs-based-nodes
Graph Node Instancing
2026-11-07 23:12:08 -05:00
chasse20 06c4881a58 Keep saved file paths canonical 2026-11-07 22:54:40 -05:00
chasse20 0c9321237c Fix startup path assertion 2026-11-07 19:13:51 -05:00
chasse20 82486ea477 Fix instance shortcuts and restore version 2026-11-07 18:42:00 -05:00
chasse20 570bc528a6 Add linked graph instances 2026-11-07 18:23:51 -05:00
chasse20 8101e8da68 Refine graph outputs and Explorer 2026-11-07 17:00:36 -05:00
chasse20 b99ca7f361 Improve function editing and link swaps 2026-11-07 15:49:40 -05:00
Chris Hassebrook 0bfbbf1887 Merge pull request #127 from eliets2/feat/mc-port-99-reject-colliding-filenames-before-exporting-ma
Reject export filenames that already exist in the destination
2026-11-07 01:19:24 -05:00
Chris Hassebrook efb93a2a17 Merge pull request #130 from eliets2/feat/mc-port-86-fix-formats-choose-srgb-or-linear-when-reading
Decode material input bitmaps as linear for data usages
2026-11-07 01:18:20 -05:00
Chris Hassebrook 5cee091e62 Merge pull request #145 from Belligerently/fix/expose-input-unique-id
Let a parameter be exposed as a graph input on more than one node
2026-11-07 01:17:03 -05:00
Chris Hassebrook 38292f430b Merge pull request #131 from Belligerently/fix/dot-drag-area
Let dots be dragged from their body at any zoom
2026-11-07 01:12:48 -05:00
Chris Hassebrook 5047abf524 Merge pull request #132 from eliets2/feat/mc-port-78-fix-cook-catch-panics-in-the-cook-worker-and-i
Catch panics in cook worker and control commands
2026-11-07 01:12:05 -05:00
Chris Hassebrook 12ee6ab956 Merge pull request #128 from eliets2/feat/mc-port-65-fixed-heightmap
Honor displacement depth in headless renders without HQ
2026-11-07 01:10:56 -05:00
Chris Hassebrook b0e2dcdffa Merge pull request #134 from eliets2/feat/mc-port-63-make-round-parameter-values-reachable-by-dragg
Snap toolbar slider drags to round values
2026-11-07 01:07:29 -05:00
Chris Hassebrook 00aefb4a37 Merge pull request #136 from Belligerently/fix/dodge-burn-edges
Keep black and white backgrounds in Color dodge and Color burn
2026-11-07 01:05:29 -05:00
Chris Hassebrook 1a468e7ee0 Merge pull request #125 from storytold/18-parity-for-standard-sbs-nodes
18 parity for standard sbs nodes
2026-11-06 01:38:19 -05:00
chasse20 74ff4a9dc3 Fix debug UI tests and remove redundant coverage 2026-11-06 01:22:07 -05:00
chasse20 2adbdf4aab Merge main while preserving native graph architecture 2026-11-06 00:58:56 -05:00
chasse20 fe88ee5c4d Unify graph editors and optimize material workflows 2026-11-06 00:13:10 -05:00
chasse20 d318484b41 Checkpoint native SBS primitive workflow
Replace the legacy Rust procedural library with clean-room native primitives, typed function execution and FX-Map graphs. Save supported content as native SBS and organize the model, evaluators, codecs and editors into focused modules.

Add shared graph editing behavior, flat filtered node menus, frame and comment editing, named Explorer outputs and an original atomic sample. Document the tested scope and remaining interoperability work.
2026-11-05 18:23:06 -05:00
Chris Hassebrook d62ca9ac53 Merge branch 'main' into 49-change-to-sbs-instead-of-mcraft 2026-11-04 01:11:49 -05:00
Chris Hassebrook d97721cc67 Merge pull request #17 from storytold/5-panorama-node-hdr-samples
Panorama node hdr samples
2026-11-02 13:52:29 -05:00
Chris Hassebrook 6862aa91b4 Merge pull request #16 from storytold/4-full-sbs-sample
Initial sample SBS with all nodes from reference application
2026-11-02 13:49:42 -05:00
chasse20 fdbdbcd094 Remove redundant HDR license paragraph 2026-11-02 13:43:55 -05:00
chasse20 9f1b8de5b0 Add Poly Haven HDR maps with attribution and CC0 license 2026-11-02 13:40:13 -05:00
chasse20 1cda570daa Initial sample SBS with all nodes from reference application 2026-11-02 13:23:27 -05:00