Bump craft-ui to craft-libs 1b34eba and add craft-keymap, craft-dialogs,
craft-quit, craft-menu (macOS) and craft-window.
File dialogs no longer block the event loop. Shortcuts dispatch through
craft-keymap and match exactly their modifiers. On macOS, Quit asks about
unsaved work and the app quits through the platform. On a Wayland desktop
that leaves the frame to the app, the menu bar is the title bar.
Add Help > Check for updates... (ui.help.checkForUpdates), a check at
startup, the update prompt and result dialog from craft-update, and the
Windows update helper entry point.
A copy of the app downloaded directly was never told about a new version.
Runs driven by --control or MATERIALCRAFT_NO_PREFS skip the startup check.
Shortcuts wait while the prompt or a modal result dialog is open. The
update code builds on desktop only; the web build is unchanged.
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.
Without a usable GPU, driver or desktop, no graphics backend can create a
window and MaterialCraft exited with code 1 and nothing on screen.
The reason now goes to the log and to an error dialog, as FilmCraft does
since 0.14.0 (which unstuck it on WinGet).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The app wrote its control token to the temp folder with default permissions from a
hash-based generator, compared it with ==, spawned unlimited threads and let an
unauthenticated client hold a connection for 10 minutes. The shared token file was opened
with create+truncate, which follows a planted symlink.
- Token files are created new (remove, then O_EXCL) with mode 0600; clients only read a
regular, owner-only, non-symlink file.
- The app's control server uses the shared security module: OS-random token, constant-time
compare, bounded lines, at most 16 connections, one auth attempt within 10 s, close on
malformed JSON before auth.
- serve --port and the app bind before writing the token file.
Ported from TextureCraft 5a065c1 and 836e3f2.
Meshes are normalized to the unit sphere, keep their normals and UVs (box
projection when they have none) and get MikkTSpace tangents. Scene > Load
mesh in the 3D view, view.3d.loadMesh for agents, file drops and the browser
picker; headless renders use the mesh too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A visual editor for pixel and value processor functions (operations by
category, wiring, inline values, result node), opened from Properties or by
double-clicking the processor. A home screen with rendered sample materials and
recent packages. Open, save, import and export in the browser (file picker and
downloads), and file drops on every platform. Every custom widget now carries
an accessible name and role; the offscreen snapshot test enforces it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README in the Crafting Apps frame with real screenshots and renders made
by MaterialCraft, the agent guide with the asset and clean-room rules, the
attribution list, the parity assessment, gaps, roadmap, architecture,
control protocol, localization and file format docs. Adds the browser build
(trunk), the .ico/.icns icons and centers the 3D camera on the mesh bounds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The egui front end in its own crate: docked explorer, library with live node
previews, the node graph editor (thumbnails, typed ports, wiring, box select,
frames, comments, pins, node search, library drag and drop), properties with
curve and gradient editors, 2D view and a CPU PBR 3D preview with parallax
and image-based lighting. Every edit is an engine command; the control channel
adds synthetic mouse/keyboard input for agents. Adds the MCP server, the
JSON-lines RPC, the headless CLI (render, cook, export, run, batch, mcp, serve),
the desktop app, an original placeholder icon and an offscreen snapshot test.
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>