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
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.
Restore tracked files to 91bb53f07a, immediately before the batch, at the maintainer request. Preserve the existing history and earlier work, including PR #38. Revert the 50 reviewed PR merges and the version bump in 441092c. The published 0.1.2 release is unchanged.
Upstream's ResourceBytes and decode limits kept; decode keeps the linear flag, and the
decoded-image memo is now keyed by (content hash, linear) so sRGB and data reads of the
same file don't collide.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
decode() sRGB-decoded every 8/16-bit color bitmap, so an RGB normal map
(0.5, 0.5, 1) became (0.214, 0.214, 1). decode now takes a linear flag. The
Bitmap node gets a Color space choice (sRGB by default, so existing files cook
the same) and graph input preview images can be bound as linear data maps
(graph.input.bind linear: true, stored in input_images_linear).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resources carry a content hash (ResourceBytes); the decoder memo is keyed on it and pruned.
Graphs that use themselves, directly or through other instanced graphs, give an explicit error.
Exposed inputs bound to parameters of another type (a float input on an
int parameter) were silently ignored: coerce_json now converts a typed
value's payload. cook/export/render take --set <input>=<value>.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parameters can be driven by function graphs evaluated against graph inputs
(graph.node.function); graphs store input presets (graph.preset.*). Graph
inputs and graph-instance parameters share one editor for floats, ints,
bools, enums and colors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A clean-room, pure-Rust foundation for MaterialCraft's node-based material
authoring: the package/graph/node model, float image planes, the node
library (atomic nodes, tileable noises, patterns, filters, PBR utilities,
function graphs for the pixel processor), a content-addressed cooking cache,
.mcraft packages and texture export, and the command-driven session with
snapshot undo. Infrastructure (xtask, CI, packaging) copied from TextureCraft.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>