Commit Graph
48 Commits
Author SHA1 Message Date
Belligerently af83c228c3 Allow centered dialogs to move by their title bars 2026-11-03 09:59:48 -05:00
Brandon Thomas f1bb82e8e0 Merge pull request #26 from dylanmtaylor/feat/linux-signing
ci(release): sign the Linux packages with LINUX_SIGNING_KEY
2026-11-03 08:27:33 -05:00
Brandon ThomasandClaude Opus 5.5 71632d82ef ci(release): match the current Flatpak OCI scaffold
Signed bundles get no OCI update source until LINUX_OCI_SIGNATURES_READY
is set, and only a stable release-branch build moves the stable OCI tag,
as storytold/craft-common-actions' scaffold-flatpak-oci.sh now does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:27:28 -05:00
Dylan M. Taylor 4bbb15bc81 ci(release): sign the Linux packages with LINUX_SIGNING_KEY
Pass LINUX_SIGNING_KEY to the shared release workflow (storytold/craft-common-actions#129),
which signs the rpm, deb, Arch package, AppImage, tarballs, Flatpak OCI image and SHA256SUMS.txt,
and scaffold flatpak-bundle.sh so a release signs the Flatpak bundle's commit and embeds the key,
with the bundle's origin updating from the ArtCraft OCI repository.
2026-11-02 22:02:12 -05:00
PiJellyPin fc98b115f0 Merge pull request #24 from Belligerently/fix/tab-node-search
Allow Tab to open the graph node search
2026-11-03 03:02:46 +01:00
Belligerently f459e5674a Allow Tab to open graph node search 2026-11-02 20:38:21 -05:00
PiJellyPin 613d603b8f Merge pull request #21 from storytold/11-scaling-ui-lags-the-software
Fixed ui scaling lag
2026-11-03 01:42:10 +01:00
PiJellyPin 08546a3c06 Fixes 2026-11-03 01:30:15 +01:00
PiJellyPin 483e50f633 Merge pull request #19 from ljkx/3d-view-pan
3D view: pan the camera with Alt+drag or middle-drag
2026-11-03 00:54:40 +01:00
ljkx f8f8d8c2c0 3D view: make the pan limit and speed preferences
Review: no hardcoded limit. The two MAX_TARGET constants are gone.

- Engine: CameraPrefs { pan_limit, pan_speed } with the defaults in one
  place (Default: 5 mesh radii, speed 1), sanitized against NaN and
  negative values. Session::set_camera_prefs stores them and pulls the
  orbit target back inside a lowered limit; view.3d clamps targets to it;
  session.inspect shows it.
- App: Prefs.camera persists with the other preferences (older saved
  preferences load the defaults), apply_prefs pushes it into the session,
  and Edit > Preferences has "3D pan limit" and "3D pan speed" sliders.
  The drag uses the pan speed.
- Renderer: no limit of its own. camera() falls back to the scene center
  for a non-finite target and pan() returns the unbounded offset.
2026-11-03 00:28:44 +01:00
ljkx f786a2d4c3 3D view: pan the camera with Alt+drag or middle-drag
The 3D view could only orbit around the mesh center and zoom, so there was
no way to look at an off-center part of a mesh up close.

- View3d gains `target`, the orbit point's offset from the mesh center in
  mesh radii (world axes, so orbiting after a pan turns around the new
  point). `view.3d {target: [x, y, z]}` sets it, validated before anything
  changes and clamped to 5 radii; view.3d.reset clears it.
- The renderer orbits around the offset target, and `pan` turns a drag
  (in view heights) into a new target so the mesh follows the pointer.
- Alt+drag or middle-drag pans in the 3D view, like the graph. Double-click
  and the Camera presets recenter. The headless render honours the target.
2026-11-02 20:30:01 +01:00
Chris Hassebrook d97721cc67 Merge pull request #17 from storytold/5-panorama-node-hdr-samples
Panorama node hdr samples
2026-11-02 13:52:29 -05:00
Chris Hassebrook 6862aa91b4 Merge pull request #16 from storytold/4-full-sbs-sample
Initial sample SBS with all nodes from reference application
2026-11-02 13:49:42 -05:00
chasse20 fdbdbcd094 Remove redundant HDR license paragraph 2026-11-02 13:43:55 -05:00
chasse20 9f1b8de5b0 Add Poly Haven HDR maps with attribution and CC0 license 2026-11-02 13:40:13 -05:00
chasse20 1cda570daa Initial sample SBS with all nodes from reference application 2026-11-02 13:23:27 -05:00
Brandon Thomas cedabf0203 Merge pull request #3 from storytold/fix/freebsd-draft-checksums
Keep the checksum file out of its own list
v0.1.0
2026-11-02 02:54:26 -05:00
Brandon ThomasandClaude Opus 5.5 6c485cf3eb Keep the checksum file out of its own list
The FreeBSD draft step redirected into SHA256SUMS.txt before the glob expanded, so
the file listed itself with the hash of an empty file and sha256sum -c failed on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 02:47:15 -05:00
Brandon Thomas b3c79c155e Merge pull request #2 from storytold/fix/script-exec-bits
Fix the release build: script permissions and FreeBSD on a private repo
2026-11-02 02:27:03 -05:00
bflatasticandClaude Opus 5.5 5b0deed36f Revert "Release: skip FreeBSD while the repo is private"
storytold/materialcraft#2 keeps FreeBSD by building it on a larger runner
instead; this skip conflicts with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 14:15:12 +07:00
bflatasticandClaude Opus 5.5 1ab673e24b Release: skip FreeBSD while the repo is private
Private repos get 2-core/7 GB standard runners, which can't hold the 12 GB
FreeBSD VM, so the FreeBSD jobs failed and blocked the draft. Turn it back
on once the repo is public.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 14:14:00 +07:00
Brandon ThomasandClaude Opus 5.5 8e91074c68 Build FreeBSD on a larger runner while the repo is private
A private repo's ubuntu-latest has about 7 GB, and the shared workflows start a
12 GB FreeBSD VM, so QEMU fails at startup. The shared workflows have no runner
input, so release.yml turns off their FreeBSD job and runs its own copy on
github-ubuntu-16core, then adds the archives and checksums to the draft release.

freebsd.yml would fail the same way, so it is manual-only until the repo is
public.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 02:13:19 -05:00
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