Commit Graph
376 Commits
Author SHA1 Message Date
bflatasticandClaude Opus 5.5 8bca1af9ff Mark the packaging scripts executable
The shared release workflow runs them directly, so without the executable bit the
Linux, macOS and Web release jobs stop with "Permission denied" (v0.1.0 run
41403401506).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 14:09:57 +07:00
Brandon ThomasandClaude Opus 5.5 90e9529d4b Mark the packaging scripts executable
The shared release workflow runs these scripts directly, and they were committed
as 100644, so the first release run failed with Permission denied. env.sh is
sourced, so it stays as it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 02:01:17 -05:00
bflatastic 87beddd424 Merge remote-tracking branch 'origin/main' 2026-11-02 13:26:38 +07:00
bflatasticandClaude Opus 5.5 e34b2b0597 App icon: the owner's engraved rhino on MaterialCraft teal
Vectorised with craftrules vectorize_tile.py at the shared Crafting Apps
settings (512 tile, rx=112, ink/paper/#178a9c), with every PNG, .ico and
.icns regenerated by packaging/icons.sh. The README shows the icon, and
the UI accent and web loader use the new teal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 13:26:14 +07:00
BFlat 484260be20 Merge pull request #1 from storytold/feat/cross-app-materials
Cross-app materials: .mcmat portable materials for TextureCraft
2026-11-02 13:14:15 +07:00
bflatasticandClaude Opus 5.5 4b84f43132 eval: key input images by content, not address
A freed image's memory comes back for the next one, so two different input images
could share a cache key (the Linux CI run hit a stale cook). The key is now the size
plus 4096 strided values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 13:03:36 +07:00
bflatastic 539febca0a Merge remote-tracking branch 'origin/main' into feat/cross-app-materials 2026-11-02 12:49:27 +07:00
bflatasticandClaude Opus 5.5 288e6f22ce Beauty renders and eight new sample materials for the README
- render: an offline hq path (displaced subdivided mesh, ray-traced AO,
  shadowed key light, 3x3 supersampling) on a vignette backdrop; the
  sphere's UVs wrap twice so texels stay square
- CLI/RPC/MCP render: --tiling, --hq and --displacement
- templates: new painted metal plates, lava rock, polished marble and
  wicker weave; reworked brick wall, stone tiles, wood planks and mossy
  ground
- README: new material gallery and refreshed screenshots

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:24:11 +07: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 d2a92adb53 Refresh README screenshots and material renders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 05:11:49 +07:00
bflatasticandClaude Opus 5.5 6e2d3932ab Docs: parity ≈ 66%, re-ranked gaps, new commands and CLI --set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 05:08:27 +07:00
bflatasticandClaude Opus 5.5 bb38fd5a2b Merge branch 'worktree-agent-abe2cbe7f0914fea3'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 05:03:59 +07:00
bflatasticandClaude Opus 5.5 c35c15d6d6 Better stone tiles, rusty metal and stone ground samples
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 05:03:47 +07:00
bflatasticandClaude Opus 5.5 cba0bd440a Add 25 nodes: FX-Map, SVG, Text, tileable 3D noises, weathering and filters
Clean-room implementations, all tileable when they generate:
- fx_map (Atomic): grid / random / random-quadtree instancer of up to three
  patterns with scale, rotation, position and luminance jitter and Max / Add /
  Alpha-over blending, on a shared binned splatting engine.
- svg (Atomic): SVG path data parser (M L H V C S Q T Z, absolute and relative,
  errors instead of panics) with even-odd / non-zero fill (exact horizontal
  coverage on 4 sub-scanlines) and anti-aliased stroke.
- text (Atomic): original single-stroke vector font rendered as capsules,
  with alignment, spacing, multi-line, rotation and edge wrapping.
- perlin_noise_3d, worley_noise_3d (periodic 3D lattice, z scrubs) and
  simplex_noise_3d (4D simplex on a flat torus).
- shape_splatter, paint_strokes, scratches_generator, cracks, rust, moss,
  leaks, edge_damage, tile_random, ambient_occlusion_fast,
  normal_from_height_hq, histogram_select, quantize_color, pixelate_color.

Every new node cooks under 100 ms at 1024x1024 in release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 05:02:19 +07:00
bflatasticandClaude Opus 5.5 416bf8dba8 CLI --set for graph inputs; typed values convert across types
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>
2026-11-02 04:59:20 +07:00
bflatasticandClaude Opus 5.5 377cd8fb08 Keep the 2D view tests last
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 04:55:30 +07:00
bflatasticandClaude Opus 5.5 262b2da48d 2D view histogram overlay (view.2d histogram)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 04:55:17 +07:00
bflatasticandClaude Opus 5.5 80f4977023 Dynamic parameters, graph presets and one shared input editor
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>
2026-11-02 04:51:01 +07:00
bflatastic 30020a9078 Merge branch 'worktree-agent-a5ada44eb1cf7ccfb' 2026-11-02 04:35:43 +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 0fc8a65bc3 Add 79 nodes: flood fill family, noises, patterns, filters, material blending and weathering
Clean-room implementations from public algorithms, all tileable and size-independent:
- Filters/Flood fill: tile-wrapping connected-component labeling into an index map, plus
  random grayscale/color, gradient, bbox size, position and sample-at-center nodes.
- Noises: value, ridged/voronoi/cells fractals, directional, fibers, messy fibers, leather,
  microscope, gaussian spots, crackle, sand dunes, wood grain, marble, stones, ripples,
  concrete, bark (per-axis lattice periods keep stretched noise seamless).
- Patterns: grid lines, dots, diamonds, herringbone, basketweave, chevron, fish scales,
  triangles, spiral, rings, axial/circular gradients, cross, rounded rectangle, ring,
  arc pavement, octagon tiles, planks, tread plate.
- Filters: remap, smoothstep, S-curve, per-channel levels/auto levels/invert/clamp, color
  variation (per flood fill region), lerp and two-input math, median, unsharp mask, Sobel,
  outer glow, inner/drop shadow, curvature from height, outline, whiteout normal combine,
  normal rotate, Sobel normals.
- Material filters: material blend and height blend (renormalized normals), edge wear,
  dirt and dust masks, base color adjust, measured metal base colors.

Tests: flood fill labeling and edge wrap, material blend picks material 2, pattern tiling,
new ids in the noise tiling test; catalog now has 203 nodes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 04:33:07 +07:00
bflatasticandClaude Opus 5.5 5dcc8942bc Ignore agent worktrees
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 04:24:25 +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