Commit Graph
283 Commits
Author SHA1 Message Date
bflatastic d577a7eae8 Merge remote-tracking branch 'origin/main' into fix/review-followups 2026-11-02 15:05:10 +07:00
BFlat 19da5379d7 Merge pull request #131 from storytold/feat/cross-app-materials
MaterialCraft materials: .mcmat fills with live graph inputs
2026-11-02 14:36:20 +07:00
bflatastic c38b95ff38 Merge remote-tracking branch 'origin/main' into fix/review-followups 2026-11-02 14:34:13 +07:00
BFlat cad425c249 Merge pull request #139 from storytold/settings/data-folder
Settings: a data folder on any drive
2026-11-02 14:30:40 +07:00
BFlat fbbc42fa8f Merge pull request #137 from storytold/fix/fill-channel-image
Fill layers: put an image on any channel
2026-11-02 14:30:21 +07:00
bflatastic d619b53712 Merge origin/main into feat/cross-app-materials
Keeps both import menu items and formats modules (MaterialX import, MaterialCraft materials); menu parity regenerated (55 of 55).
2026-11-02 14:22:37 +07:00
bflatastic fd40f08f00 Merge remote-tracking branch 'origin/main' into settings/data-folder 2026-11-02 14:12:20 +07:00
bflatastic 40567c7416 Merge remote-tracking branch 'origin/main' into fix/fill-channel-image 2026-11-02 14:11:25 +07:00
bflatastic 699596835e Image menu: scroll a long list; the test speaks English
With many images, the list now scrolls so Import... and the items after
it stay on screen. The UI test sets English, as a first run would speak
the system's language.
2026-11-02 14:11:23 +07:00
BFlat 25850f48c4 Merge pull request #138 from storytold/fix/startup-error-report
Startup: say why when the app cannot start or has to close
2026-11-02 14:07:37 +07:00
bflatastic ec30388787 Settings: a data folder on any drive
Autosaves, smart materials, brush and export presets, project templates
and UI layouts always went to Documents/TextureCraft, which fills the
system drive. Settings > Folders > Data folder points them anywhere;
the choice applies on restart, and an export folder still at its
default follows it.

Refs #105.
2026-11-02 14:06:51 +07:00
bflatastic e861f9798b Merge remote-tracking branch 'origin/main' into fix/review-followups 2026-11-02 14:04:24 +07:00
BFlat 95c56e9468 Merge pull request #130 from storytold/docs/roadmap-2026-11-02e
Docs: roadmap after effect reorder and clipboard, mesh map images, Ctrl+drag brush, the History panel and outside contributions
2026-11-02 13:52:46 +07:00
bflatastic 6c4b549669 Say why when the app cannot start or has to close
A Windows release build has no console, so when the GPU could not be
set up or the app panicked, the window never showed or vanished without
a word. Such errors now also go to errors.log beside the settings and,
on the main thread, to a message box that names the log file.

Fixes #106.
2026-11-02 13:52:12 +07:00
bflatasticandClaude Opus 5.5 2bf551f2a2 Merge origin/main into feat/cross-app-materials
Keeps both sides of the translation tables, AGENTS rules and the formats module list;
material files in the browser load before the ask-to-save step (they add a layer, not a
new project); Arabic for the eight MaterialCraft strings; menu parity regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 13:45:27 +07:00
bflatastic 6d71d2fc38 Fill channels take an image from their source menu
A fill channel's source menu offered a uniform value, procedurals and
anchors, but no image, so a normal or roughness map could not be put on
its channel. The menu now lists the image resources and Import..., and
an image dropped from the Assets panel onto a channel becomes its
source. The mesh map slots share the same menu and drop target.

Fixes #127.
2026-11-02 13:43:40 +07:00
bflatastic 5e75a592b2 fix(export): keep the <UDIM> name only when it round-trips to the file name
The length limit cuts the longer placeholder at a different place than the tile number,
so a long template got a <UDIM> name that matched none of the files written. A name is
now kept only when putting the tile number back gives the file's own name.
2026-11-02 13:31:22 +07:00
bflatastic 3b1160def5 Merge remote-tracking branch 'origin/main' into fix/review-followups 2026-11-02 13:26:21 +07:00
bflatastic 34eae81910 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-02 13:25:16 +07:00
BFlat 88b2b7d2de Merge pull request #129 from storytold/fix/effect-paste-target
Effect paste: keep the active target, offer it on any row
2026-11-02 13:23:09 +07:00
SteamSmithandClaude Sonnet 5.5 7f7970b1fb fix: review follow-ups for MaterialX export and import, Auto-rebake and colour space
- MaterialX export: a tiled file's <UDIM> name comes from the file plan, so a set called
  cloth.1001.body keeps its name; the DirectX normal warning is raised only when a material has a
  normal map.
- colorSpace that isn't a string is an error instead of the format's default.
- MaterialX import: an image that isn't a regular file is skipped with a warning (a pipe in the
  folder would have blocked the read).
- Auto-rebake: remembers which inputs each map image was baked from, so undoing a rebake brings
  back a map that is out of date and rebakes it; not scheduled automatically on the web build,
  where a bake would run on the page's thread.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 01:14:04 -05:00
BFlat 98ad4a75ed Merge pull request #77 from test-bit-sys/fix/cli-info-builtin
cli: support builtin:<id> in info command
2026-11-02 13:02:06 +07:00
BFlat 8d8bbd6e04 Merge pull request #69 from SteamSmith/feat/bake-auto-rebake
feat(bake): Auto-rebake keeps one mesh map up to date
2026-11-02 12:45:03 +07:00
BFlat d0450eb1ca Merge pull request #75 from SteamSmith/feat/materialx-import
feat(import): MaterialX (.mtlx) material import as a fill layer
2026-11-02 12:44:50 +07:00
bflatastic b5baf50454 Merge remote-tracking branch 'origin/main' into docs/roadmap-2026-11-02e
# Conflicts:
#	ROADMAP.md
2026-11-02 12:37:06 +07:00
bflatastic 5a64fa20f9 Effect paste: keep the active target, offer it on any row
A paste into a layer of another texture set set the session's target
to the new effect, so a later stroke in the active set could commit to
it. The target now changes only for a paste into the active set. The
layer and effect row menus offered Paste effect only while a layer was
already selected, though a click selects the row first; they now check
the clipboard alone.
2026-11-02 12:36:18 +07:00
bflatastic 1fc73bc87d Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	apps/texturecraft-cli/tests/cli.rs
2026-11-02 12:33:55 +07:00
BFlat fc26ad4477 Merge pull request #58 from kk376/fix/49-multigpu-adapter-selection
feat(app): support multi-GPU selection and discrete adapter preference (#49)
2026-11-02 12:33:34 +07:00
BFlat 558168d09a Merge pull request #55 from Agapenordev/fix/import-gpu-oom
Never crash importing meshes with many materials
2026-11-02 12:33:22 +07:00
BFlat 2dcffdece5 Merge pull request #56 from Agapenordev/fix/paint-with-filter-selected
Paint through a selected filter instead of refusing the stroke
2026-11-02 12:33:11 +07:00
bflatastic a50791314a Docs: roadmap after effect reorder and clipboard, mesh map images, Ctrl+drag brush and the History panel 2026-11-02 12:32:12 +07:00
BFlat 048424c6ae Merge pull request #128 from storytold/effects/copy-paste
Effects: copy, cut and paste between layers
2026-11-02 12:31:44 +07:00
bflatastic e9dfbe932f Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/i18n/ar.rs
#	crates/ui-egui/src/i18n/de.rs
#	crates/ui-egui/src/i18n/es.rs
#	crates/ui-egui/src/i18n/fr.rs
#	crates/ui-egui/src/i18n/it.rs
#	crates/ui-egui/src/i18n/ja.rs
#	crates/ui-egui/src/i18n/ko.rs
#	crates/ui-egui/src/i18n/pt_br.rs
#	crates/ui-egui/src/i18n/zh_hans.rs
2026-11-02 12:27:15 +07:00
bflatastic 88c92dbf71 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-02 12:23:33 +07:00
BFlat b31ff5f6eb Merge pull request #81 from SteamSmith/feat/export-colour-space
feat(export): choose the colour space of exported colour maps
2026-11-02 12:23:13 +07:00
BFlat fddfad71a9 Merge pull request #50 from SteamSmith/feat/materialx-export
feat(export): MaterialX (.mtlx) OpenPBR material per texture set
2026-11-02 12:23:02 +07:00
bflatastic 8c94d053b4 Merge remote-tracking branch 'origin/main' into effects/copy-paste 2026-11-02 12:20:06 +07:00
BFlat e9409b696b Merge pull request #126 from storytold/history/jump-to-step
History: click a step to return to it
2026-11-02 12:19:57 +07:00
bflatastic fbceb95242 Effects: Delete and Ctrl+D act on a selected effect
With an effect selected, Delete removed its whole layer and Ctrl+D
duplicated the layer. Both now act on the effect, like the clipboard
shortcuts; effect commands default to the selected effect.
2026-11-02 12:19:21 +07:00
BFlat 73043fd4b3 Merge pull request #125 from storytold/brush/ctrl-drag
Brush: Ctrl+drag sets size, hardness, flow and angle
2026-11-02 12:14:05 +07:00
bflatastic 4ca9f424f4 Effects: copy, cut and paste between layers
An effect's context menu copies, cuts and pastes it, and Ctrl+C,
Ctrl+X and Ctrl+V act on a selected effect (pasting a copied one above
the selected effect, or on top of the selected content or mask).
Painted strokes come along, resampled to the target set; generators
and other one-stack effects go to their stack, and a fill reading an
anchor point needs one below its new layer. effect.copy, effect.cut
and effect.paste share the layer clipboard.
2026-11-02 12:13:39 +07:00
bflatasticandClaude Opus 5.5 c092e7766b MaterialCraft materials: .mcmat fills with live graph inputs
- core: Fill::link (MaterialLink: package resource, graph, exposed inputs, presets,
  image inputs, size); BakedMap::interop_id / for_input shared mesh-map identifiers
- formats: own .mcmat reader (no MaterialCraft dependency) and 16-bit mesh-map PNGs
- engine: material.load takes .mcmat and .mcraft; material.link.set / .preset / .cook /
  .saveSource; LinkJob re-cooks through materialcraft-cli at the texture set's
  resolution with baked mesh maps as graph inputs; fresh resource names per cook keep
  undo and the decoded-image cache consistent; packages count as used resources
- ui: linked-material section in fill properties (presets, sliders, colors, toggles,
  options) cooking on a worker thread, one process per layer, stale results redone;
  Open in MaterialCraft; File > Import material...; .mcmat drops; library shelf lists
  .mcmat and rescans on focus; 8 new strings in every language
- tests: materialcraft_link (import, params, undo, duplicates, mesh maps, save, and a
  real materialcraft-cli round trip when MATERIALCRAFT_CLI is set)
- docs: README, features, control protocol, architecture, AGENTS, ROADMAP, parity

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:12:00 +07:00
bflatastic f8f241e804 Merge remote-tracking branch 'origin/main' into history/jump-to-step 2026-11-02 12:00:46 +07:00
BFlat 18b1969712 Merge pull request #122 from storytold/effects/reorder-duplicate
Effects: drag to reorder, duplicate
2026-11-02 12:00:32 +07:00
bflatastic b133186641 History: click a step to return to it
The History panel lists every undone step too (dimmed, next first) and
a click on any step goes back or forward to it, the current one
highlighted. edit.undo and edit.redo take {steps?} for the same jump.
2026-11-02 12:00:09 +07:00
bflatastic 296f439f53 Merge main into feat/materialx-import
# Conflicts:
#	crates/engine/src/lib.rs
2026-11-02 11:58:56 +07:00
BFlat 7b5a2a3fff Merge pull request #124 from storytold/meshmaps/import-image
Mesh maps: use an image instead of a bake
2026-11-02 11:48:51 +07:00
bflatastic 410cf3a14f Brush: Ctrl+drag sets size, hardness, flow and angle
Ctrl (Cmd on macOS) + right-drag in the 3D or 2D view changes the
brush size (left/right) and hardness (up/down), Ctrl + left-drag its
flow and angle, instead of orbiting or painting. The brush cursor stays
where the drag began, with the values beside it, and the Brush
properties name the gesture.
2026-11-02 11:48:32 +07:00
bflatastic 60428ef1c0 Auto-rebake: register its commands before the bake commands
Keeps the line clear of the one MaterialX import adds after the bake commands, so the two pull requests merge without a conflict.
2026-11-02 11:39:07 +07:00
bflatastic 8e5c748c36 Merge feat/materialx-export into feat/materialx-import
# Conflicts:
#	crates/formats/src/lib.rs
2026-11-02 11:38:19 +07:00