Commit Graph
55 Commits
Author SHA1 Message Date
chasse20 7efd951ee3 Store normalized inputs before half-precision sharpening on parameter-sized paths 2026-11-27 13:14:10 -05:00
chasse20 2a8f4ec8fa Store integer inputs at half precision on parameter-sized Levels paths 2026-11-27 12:36:03 -05:00
chasse20 0cb32afbeb Inherit pattern dimensions and precision from the background 2026-11-27 12:01:13 -05:00
chasse20 3072b7e9d0 Resolve child image dimensions against each connected input 2026-11-27 10:58:16 -05:00
chasse20 19970f2e1e Retain sampling levels for edited image stamps 2026-11-27 10:02:55 -05:00
chasse20 d30917484c Preserve bound image resources on SBS input bridges 2026-11-27 06:32:21 -05:00
chasse20 a4c792859c Preserve assigned integer storage across pattern seed properties 2026-11-27 05:31:49 -05:00
chasse20 0f01b25cb2 Match pattern background sampling to the resized axes 2026-11-26 17:45:56 -05:00
chasse20 134017ba2c Carry active filter controls and pixel functions into connected quadrant draws 2026-11-25 13:01:06 -05:00
chasse20 fb8279ae51 Carry live drawing properties through image connections 2026-11-25 12:08:44 -05:00
chasse20 4851705016 Resolve writable quadrant floats from their drawing inputs 2026-11-25 11:36:50 -05:00
chasse20 bb7e21d265 Preserve sampling properties on each graph image connection 2026-11-23 17:39:34 -05:00
chasse20 2d7c668104 Preserve and evaluate computed graph seeds across SBS saves 2026-11-23 12:42:03 -05:00
chasse20 6a47943842 Preserve authored precision and caller textures in nested filters 2026-11-23 10:54:26 -05:00
chasse20 4e445b1722 Respect typed arguments on graph instance input bridges 2026-11-23 07:42:21 -05:00
chasse20 3ac2f1b61f Render package font outlines in the shared Text primitive 2026-11-23 07:14:50 -05:00
chasse20 c6a0ed9630 Share the final two-axis filter for connected graph inputs 2026-11-23 03:50:22 -05:00
chasse20 a63532827f Convert floating Switch colors when opacity reads a graph parameter 2026-11-23 03:01:46 -05:00
chasse20 a96696b1e0 Preserve caller textures for value and pattern sampling inside graph instances 2026-11-21 16:46:26 -05:00
chasse20 82d5fcaa3f Match selected texture sampling levels and tile background quantization 2026-11-21 14:20:01 -05:00
chasse20 50883356b8 Match half storage for parameter-sized pattern backgrounds 2026-11-21 12:51:54 -05:00
chasse20 32e1beb1db Preserve the base level when filtering resized bitmap inputs 2026-11-21 11:30:03 -05:00
chasse20 fff40a89b6 Preserve source precision when resizing odd grayscale bitmaps 2026-11-21 03:12:27 -05:00
chasse20 7cdacdc30b Resize grayscale bitmap resources through stored levels 2026-11-21 02:48:09 -05:00
chasse20 f5fc386f0a Store grayscale gradient stops and preserve scalar level precision 2026-11-19 17:15:58 -05:00
chasse20 6c94cfe839 Apply signed pixel sizes to box blur on each axis 2026-11-19 16:42:39 -05:00
chasse20 2bd6e4facb Sample gradient warps from one-sided differences at stored precision 2026-11-19 15:57:40 -05:00
chasse20 df92c750cf Filter stored inputs and average grayscale Levels controls 2026-11-19 14:36:43 -05:00
chasse20 aebb4813ae Preserve folded scalar integer semantics through graph instances 2026-11-19 13:44:08 -05:00
chasse20 f003a0848c Honor directional warp tiling and resample unequal inputs in stored levels 2026-11-19 08:23:39 -05:00
chasse20 25ddf9ef5a Retain the sampling depth of bound integer bitmaps 2026-11-19 04:35:46 -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 2cd58b6f11 Filter non-power-of-two external float images at their stored precision 2026-11-19 02:32:04 -05:00
chasse20 11e4774f1e Apply physical pixel size to one-sided emboss lighting 2026-11-19 01:53:15 -05:00
chasse20 d98d3fc921 Preserve half blend precision across output size expressions 2026-11-18 21:21:15 -05:00
chasse20 00d8a9d188 Honor distance output channels, axis wrapping and strict source cutoffs 2026-11-18 19:09:42 -05:00
chasse20 2e883315b9 Preserve signed size exponents through one-texel reductions 2026-11-18 16:35:19 -05:00
chasse20 83516a4bfa Normalize integer Levels endpoints and preserve scalar channel alpha 2026-11-18 12:54:05 -05:00
chasse20 0407d8c5bf Sample value functions at full texture coordinate precision 2026-11-18 07:42:32 -05:00
chasse20 1f771f5989 Sample wired graph textures at their original resolution 2026-11-18 06:05:41 -05:00
chasse20 df9c43dda4 Filter bound inputs at their source storage precision 2026-11-18 05:35:30 -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
dotCooCoo 2ee4537c65 Merge main into feat/image-craft-texture 2026-11-16 16:45:08 -08:00
chasse20 04d1b3889f Fix atomic filters, channel selection and backgrounds 2026-11-16 03:32:03 -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
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
chasse20 2318d25a3a Improve clean-room SBS evaluation parity 2026-11-13 11:46:15 -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