Commit Graph
161 Commits
Author SHA1 Message Date
chasse20 fdd01fbbd8 Refresh open catalog callers after saving a linked file 2026-11-27 19:02:16 -05:00
chasse20 a822ea3eed Preserve catalog references on in-library saves 2026-11-27 17:25:58 -05:00
chasse20 593c6a713a Preserve explicit package file links on in-place saves 2026-11-27 16:16:24 -05:00
chasse20 299a300d01 Propagate instance precision changes to retained stamp inputs 2026-11-27 10:20:08 -05:00
chasse20 19970f2e1e Retain sampling levels for edited image stamps 2026-11-27 10:02:55 -05:00
chasse20 fc5ad59e02 Use file color interpretation for newly bound images 2026-11-27 06:52:10 -05:00
chasse20 d30917484c Preserve bound image resources on SBS input bridges 2026-11-27 06:32:21 -05:00
chasse20 cbdf641bb0 Use the session color interpretation in headless 2D previews 2026-11-23 16:33:50 -05:00
chasse20 49c794f432 Preserve and evaluate graph output sizes across SBS saves 2026-11-23 13:53:34 -05:00
chasse20 2d7c668104 Preserve and evaluate computed graph seeds across SBS saves 2026-11-23 12:42:03 -05:00
chasse20 b599e62e79 Preserve verified library dependency trees on SBS saves 2026-11-23 11:25:22 -05:00
chasse20 6a47943842 Preserve authored precision and caller textures in nested filters 2026-11-23 10:54:26 -05:00
chasse20 48aee126aa Preserve graph seed inheritance across nested SBS calls 2026-11-23 10:51:02 -05:00
chasse20 7a2dcc8584 Preserve portable graph links when saving a library package from disk 2026-11-23 06:43:15 -05:00
chasse20 dc5b37c68f Keep portable links for unchanged library functions on save 2026-11-21 10:57:43 -05:00
chasse20 4da6f86585 Respect the inherited pixel ratio in rectangular directional blurs 2026-11-21 05:49:45 -05:00
chasse20 96db706116 Read bitmap channels using their file transfer by default 2026-11-21 05:22:56 -05:00
chasse20 4421f7a926 Preserve connectable function arguments across package saves 2026-11-20 03:51:32 -05:00
chasse20 70b949871e Verify scalar Levels expressions through edits and saved packages 2026-11-19 15:04:44 -05:00
chasse20 aebb4813ae Preserve folded scalar integer semantics through graph instances 2026-11-19 13:44:08 -05:00
chasse20 f86b00c542 Exercise pattern input routing with matching grayscale images 2026-11-19 13:44:05 -05:00
chasse20 67da2d0b8b Preserve image socket selection when cooking and saving patterns 2026-11-19 07:34:05 -05:00
chasse20 11ecfe02d5 Preserve PNG sample depth when filtering non-power-of-two graph inputs 2026-11-19 02:50:20 -05:00
chasse20 18ab27631d Check authored integer constants separately from cooked port values 2026-11-19 02:50:08 -05:00
chasse20 14be8d0588 Preserve small graph parents and verify raytrace positions 2026-11-18 21:20:48 -05:00
chasse20 39b8546ad3 Check scalar channel round trips and document open function ports 2026-11-18 16:37:33 -05:00
chasse20 272b12b507 Use measured value processor scope for coordinate roots 2026-11-18 06:59:26 -05:00
chasse20 a95edb51d7 Match stored-precision filtering and transform matte edges 2026-11-18 04:36:16 -05:00
chasse20 3e0d3a3b64 Preserve root graph sizes and per-port instance precision 2026-11-18 04:27:51 -05:00
chasse20 401a45bbe5 Keep recovered resource links relative when saving SBS bytes 2026-11-18 04:27:36 -05: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 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
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
dotCooCoo 2ee4537c65 Merge main into feat/image-craft-texture 2026-11-16 16:45:08 -08: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
dotCooCoo bee8c3feb8 Merge main into feat/image-craft-texture
main's per-axis wrapping, stored sampling and integer-sampling flag now
come from craft-texture (storytold/craft-libs#1709). Every craft-libs
dependency is pinned to that pull request's head, 92fb3fa8.
2026-11-15 10:48:09 -08:00
PiJellyPin 792eb3c4c3 Merge branch 'main' into 221-fixing-2d-view-settings-pairity 2026-11-15 12:37:49 +01:00
PiJellyPin 83b777486c 3D view update 2026-11-15 12:20:56 +01: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
dotCooCoo 9744afda83 Image: use craft-texture's image planes and sampling
Replace the local materialcraft-image crate with craft-texture from
storytold/craft-libs (storytold/craft-libs#1216), with its parallel
feature on. engine re-exports it as `engine::image`. Every craft-libs
dependency moves to the same revision, 29fb8f8e.

The image fields are private in craft-texture. Callers read them through
width(), height(), kind() and data(), and decoders, the pixel processor
and the pattern raster build images with Image::from_data, which rejects
an empty size or a buffer of the wrong length with an error.

This changes some pixels at the edges of the float range:
- a repeated sample far from the origin keeps its phase instead of
  stopping at a clamped texel position
- generate_uv spreads its coordinates over the clamped size
- bilinear samples and box downsampling of values near f32::MAX stay
  finite
- linear_to_srgb(NaN) returns NaN instead of -0.055

The box blur's running sum in nodes/src/ops.rs now uses f64 as well,
so a blur of values near f32::MAX no longer overflows.

#225 fixes the generate_uv fault in the local crate; craft-texture
includes that fix.
2026-11-14 15:59:55 -08: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
Dylan M. Taylor 6f5812f8ef engine: cap linked SBS resources at 256 MiB (#236) 2026-11-14 15:21:29 -05:00
PiJellyPin b76915052f 2D view update 2026-11-14 10:33:07 +01:00
chasse20 e9b777bee2 CPR review #1 2026-11-14 03:45:23 +00: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 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