Commit Graph
39 Commits
Author SHA1 Message Date
Dylan M. Taylor 5cf55f805c Keep shared XML lockfile entry in Cargo order 2026-11-15 11:44:04 -05:00
Dylan M. Taylor fd0f4bd4c1 Reuse shared XML escaping for SBS attributes 2026-11-15 11:08:29 -05:00
Dylan M. Taylor 5d7dcd8029 Pin merged shared material format 2026-11-15 13:08:27 +00:00
Dylan M. Taylor 01f0c70648 Use bounded portable material detection 2026-11-15 11:39:50 +00:00
Dylan M. Taylor f4e079b49d Use shared portable material archive 2026-11-15 11:36:22 +00:00
Chris Hassebrook c5a4e4f22c Merge pull request #202 from dotCooCoo/chore/craft-update-6e03f65
Updates: take craft-update from craft-libs main at 6e03f65bf
2026-11-11 16:33:09 -05:00
Dylan M. Taylor c0a5a70d4a chore: bump version to 0.4.1 for the Flatpak update fix (#207) 2026-11-11 14:55:58 -05:00
Dylan M. Taylor 49bc10d11f Updates: take craft-update from craft-libs main at 6e03f65bf 2026-11-11 12:44:46 -05:00
dotCooCoo d6a1ff0bc7 Updates: take craft-update from craft-libs main at 6e03f65bf 2026-11-11 09:18:39 -08:00
FredApps a3167cc6ec Release: MaterialCraft v0.4.0 (#199)
* Release: MaterialCraft v0.4.0

* Release: the bundled function library's export metadata names 0.4.0
2026-11-11 16:35:45 +01:00
chasse20 85e0bf9247 Add parameter-owned function graphs 2026-11-10 04:07:54 -05:00
chasse20 535d83eaf4 Merge main and preserve project dialogs with shared UI 2026-11-09 02:00:54 -05:00
dotCooCoo 472d73eb87 feat(ui): move window, dialogs, shortcuts and quit to the shared crates
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.
2026-11-08 21:41:59 -08:00
chasse20 f5dfa3f2a5 Merge main into package formats branch 2026-11-09 00:26:53 -05:00
dotCooCoo d23d6c76f1 feat(ui): check for new releases and update the app from inside it
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.
2026-11-08 20:25:11 -08:00
chasse20 cc052aeaa8 Support SBS resources and independent MCRAFT packages 2026-11-08 22:10:35 -05:00
chasse20 2adbdf4aab Merge main while preserving native graph architecture 2026-11-06 00:58:56 -05:00
chasse20 fe88ee5c4d Unify graph editors and optimize material workflows 2026-11-06 00:13:10 -05:00
chasse20 d318484b41 Checkpoint native SBS primitive workflow
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.
2026-11-05 18:23:06 -05:00
FredApps 56407b9470 Revert the batch rollback and restore prior main 2026-11-05 22:04:58 +01:00
Rafael Mendes a7b9194820 Revert reviewed PR batch and cancel 0.1.3 preparation
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.
2026-11-05 17:48:14 -03:00
Rafael Mendes 441092c8bc Release MaterialCraft 0.1.3 2026-11-05 16:21:09 -03:00
Rafael Mendes a5f298299d Merge pull request #50 from smittie2000/fix/no-desktop-start
fix(windows): a window that can't start says why instead of the app exiting silently
2026-11-05 12:01:47 -03:00
Rafael Mendes f5b3fe73de Merge remote-tracking branch 'origin/main' into review/pr-42 2026-11-05 10:37:52 -03:00
FredApps 4ce6d19362 ui-egui: rustfmt the Arabic catalog; enable web-sys Navigator for the browser language 2026-11-05 04:25:17 +01:00
Dylan M. Taylor 2939420ef3 Update the lock file for MaterialCraft 0.1.2 2026-11-04 18:38:48 -05:00
Dylan M. Taylor 62bf83cf6b Fix the MaterialCraft 0.1.2 lock file 2026-11-04 18:34:24 -05:00
Dylan M. Taylor 36d20fc194 Restore Cargo.lock for the MaterialCraft 0.1.2 release 2026-11-04 18:29:39 -05:00
Dylan M. Taylor 31b13349e6 Release MaterialCraft 0.1.2 2026-11-04 18:22:06 -05:00
Dylan M. Taylor 57c06be62a Release MaterialCraft 0.1.1 2026-11-04 12:34:09 -05:00
PiJellyPin 6310230ecd Load sbs files
save, load etc.. for sbs files
2026-11-04 07:03:54 +01:00
smittie2000andClaude Opus 5.5 c9e3a9ea83 fix(windows): a start that never opens a window says why instead of exiting silently
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>
2026-11-03 23:11:04 +02:00
Simon Hull 2bd4fd35b8 Control channel: harden the token file and the app's control server
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.
2026-11-03 13:17:16 -06:00
bflatasticandClaude Opus 5.5 53ab0f2d6a Cross-app materials: .mcmat portable materials for TextureCraft
- formats: .mcmat (zip: material.json manifest, maps/<usage>.png, source.mcraft) with
  read/write and caps; color usages 8-bit sRGB, data maps 16-bit linear
- engine: file.exportMaterial {path, size?, values?, inputs?}, file.sendToTextureCraft
  (TextureCraft's library folder), graph.input.bind/unbind; file.open reads .mcmat
- core/eval: Graph::input_images preview images for input nodes (mesh maps from
  TextureCraft); caller images win; grayscale inputs convert to gray
- ui: File > Export material..., File > Send to TextureCraft, Open accepts .mcmat,
  input previews in the graph properties
- docs: control protocol (portable materials), file formats, gaps, parity ≈ 67%,
  roadmap, architecture, AGENTS convention for shared formats

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:06:09 +07:00
bflatasticandClaude Opus 5.5 39f9d65621 Load OBJ, glTF and GLB meshes into the 3D view
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>
2026-11-02 04:35:43 +07:00
bflatasticandClaude Opus 5.5 0b688a3e9c Function graph editor, home screen, browser file I/O, accessible names
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>
2026-11-02 04:24:17 +07:00
bflatasticandClaude Opus 5.5 54fc5b9571 README, AGENTS, ATTRIBUTION, roadmap and docs; web app; icons
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>
2026-11-02 04:04:13 +07:00
bflatasticandClaude Opus 5.5 2648fd0334 UI shell, 3D preview renderer, automation, CLI and desktop app
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>
2026-11-02 03:54:08 +07:00
bflatasticandClaude Opus 5.5 6e952a9a10 Node engine: document model, image buffers, 120 nodes, cached graph cooking, packages, session and commands
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>
2026-11-02 02:58:46 +07:00