Commit Graph
125 Commits
Author SHA1 Message Date
chasse20 85ce6fe24e Match switch interpolation and divide endpoints in color burn and dodge 2026-11-18 10:45:13 -05:00
chasse20 e128fede28 Match the natural exponential and all measured shared-lookup ridged octaves 2026-11-18 10:25:54 -05:00
chasse20 a8afa4c8cf Evaluate general pixel powers through the measured logarithm and exponential 2026-11-18 10:04:27 -05:00
chasse20 ebe35e2ef7 Match runtime pixel logarithms and powers of two across the normalized range 2026-11-18 09:44:30 -05:00
chasse20 f4d83f8730 Use the parent canvas for pixel processors that sample smaller textures 2026-11-18 09:02:41 -05:00
chasse20 de6d4cd3e6 Match uniform angle evaluation and rotated planar projections 2026-11-18 08:44:28 -05:00
chasse20 a9519211dc Verify tile edge masks and normalized spline distances 2026-11-18 08:28:13 -05:00
chasse20 34216c37c9 Match runtime pixel quarter waves and atlas rotation 2026-11-18 08:22:53 -05:00
chasse20 e0d3e2d5f6 Record measured output grids and verify the facet mask root 2026-11-18 07:54:36 -05:00
chasse20 0407d8c5bf Sample value functions at full texture coordinate precision 2026-11-18 07:42:32 -05:00
chasse20 43bf6a0f02 Record measured parity for five color and gradient roots 2026-11-18 07:28:59 -05:00
chasse20 a4ee96c94f Return a typed zero when a function loop skips its body 2026-11-18 07:19:37 -05:00
chasse20 272b12b507 Use measured value processor scope for coordinate roots 2026-11-18 06:59:26 -05:00
chasse20 a5c9b6882e Average filtered color channels in grayscale pixel reads 2026-11-18 06:33:18 -05:00
chasse20 0a3fa085f7 Match measured runtime pixel angles across quadrants 2026-11-18 06:19:17 -05:00
chasse20 1f771f5989 Sample wired graph textures at their original resolution 2026-11-18 06:05:41 -05:00
chasse20 5dd8ba9041 Record measured height, mapping, skew and weave root parity 2026-11-18 05:52:30 -05:00
chasse20 df9c43dda4 Filter bound inputs at their source storage precision 2026-11-18 05:35:30 -05:00
chasse20 1e13f0b78b Store floating pixel results at their measured output precision 2026-11-18 04:58:33 -05:00
chasse20 8ce0d07ffc Match runtime pixel reciprocals and random draw progression 2026-11-18 04:45:48 -05:00
chasse20 a95edb51d7 Match stored-precision filtering and transform matte edges 2026-11-18 04:36:16 -05:00
chasse20 a26a4c8f3a Match normal-copy mask and coverage rounding 2026-11-18 04:28:05 -05:00
chasse20 3e0d3a3b64 Preserve root graph sizes and per-port instance precision 2026-11-18 04:27:51 -05:00
chasse20 ee7efcd4fc Correct quadrant placement and Gaussian falloff in pattern maps 2026-11-18 01:01:14 -05:00
chasse20 1149831797 Verify color conversion and world-unit normal roots across four formats 2026-11-18 01:00:43 -05:00
chasse20 10bd618132 Match pixel product sums at their measured rounding boundary 2026-11-18 00:45:49 -05:00
chasse20 97f2e06ed5 Filter bilinear transforms at the selected mip level
Keep automatic and manual mip settings across SBS round trips and store each filtered reduction at the destination precision. Record the panorama, volume mask and Worley measurements that complete the 3D inventory section.
2026-11-17 23:45:47 -05:00
chasse20 3288f45f1d Record raw 3D render outputs and verify position debug parity 2026-11-17 23:10:13 -05:00
chasse20 62cf397283 Round normalized Pixel Processor filter weights together 2026-11-17 23:00:49 -05:00
chasse20 289d4f50d5 Match runtime arithmetic in Pixel Processor gradients and noise 2026-11-17 22:59:19 -05: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
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
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
PiJellyPin b76915052f 2D view update 2026-11-14 10:33:07 +01: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
chasse20 6b517db158 Add Rust code style guidelines 2026-11-13 23:31:06 -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 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
PiJellyPin e6f19e5e10 Nodes added to categories
nodes still dont display proper textures, or function as intended
2026-11-11 10:21:40 +01:00