Commit Graph
307 Commits
Author SHA1 Message Date
chasse20 dd7fd10ad2 Validation and further optimizations 2026-11-02 23:37:53 -05:00
test-bit-sys cf293f4f5a test(bvh): format test and add clustered coplanar fallback coverage 2026-11-02 10:51:33 +01:00
test-bit-sys ce616cdf5b geom: prevent degenerate BVH leaves when large and small triangles overlap (#61) 2026-11-02 10:36:02 +01:00
BFlat c2c5987bf2 Merge pull request #143 from storytold/fill/uv-transform
Fill projection: UV rotation and offset, sharpness, axis and offset
2026-11-02 16:12:24 +07:00
bflatastic 8657bfdc31 Image fills take a projection's fields without naming it; docs wording
layer.add.image read the projection params only when `projection` was
given, so an offset or rotation alone was dropped. The features list no
longer promises a cylindrical offset.
2026-11-02 15:59:26 +07:00
BFlat 32c5bac404 Merge pull request #133 from justinjohn0306/paths/non-destructive-113
Make paths non-destructive with path sublayers (#113)
2026-11-02 15:56:10 +07:00
bflatastic 228d879a1d Fill channel image test: scroll the channel into view
The projection rows push the Roughness channel below the Properties
panel's edge, where a click on its menu button lands outside the panel.
The test scrolls the channel into view and waits for the scroll.
2026-11-02 15:40:00 +07:00
BFlat f2de0026e1 Merge pull request #135 from SteamSmith/fix/review-followups
Follow-ups for MaterialX export/import, Auto-rebake and colour space
2026-11-02 15:35:16 +07:00
BFlat cfc456a899 Merge pull request #141 from storytold/sets/normal-map-format
Texture Set Settings: the project's normal map format
2026-11-02 15:17:04 +07:00
bflatastic d577a7eae8 Merge remote-tracking branch 'origin/main' into fix/review-followups 2026-11-02 15:05:10 +07:00
bflatastic 74383d7625 Merge remote-tracking branch 'origin/main' into fill/uv-transform 2026-11-02 15:01:45 +07:00
bflatastic 19c761f62c Merge remote-tracking branch 'origin/main' into sets/normal-map-format 2026-11-02 14:54:01 +07:00
bflatastic 9faf90c702 Normal map format: fill images keep reading as OpenGL
Flipping every fill image on a normal channel in a DirectX project
would also flip the OpenGL maps MaterialX import puts there, and change
how existing DirectX projects look. Fill images read as before; the
setting covers mesh map images (converted when set, so the tooltip
says to set them again) and the export default.
2026-11-02 14:54:01 +07:00
bflatastic 643a085d8e Fill projection: UV rotation and offset, sharpness, axis and offset
A fill's properties showed only its projection and scale, and
layer.fill.projection rebuilt the projection from its params, so
changing the scale reset a rotation set before and no offset could be
set at all. The command now changes only the fields it is given
(scale, also per axis; rotation; offset; sharpness; axis) and keeps the
rest while the kind stays the same. Properties show the UV rotation and
offset, the tri-planar blend sharpness, and the axis and world offset
of planar and cylindrical projections.
2026-11-02 14:49:14 +07:00
Justin John 7c170d35c0 Merge remote-tracking branch 'fork/paths/non-destructive-113' into paths/non-destructive-113 2026-11-02 13:08:31 +05:30
Justin John ecf7b01720 Merge remote-tracking branch 'origin/main' into paths/non-destructive-113
# Conflicts:
#	crates/core/src/lib.rs
#	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 13:08:31 +05:30
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
bflatastic 62229b41d4 Merge remote-tracking branch 'origin/main' into sets/normal-map-format 2026-11-02 14:30:54 +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 dd750cb3f6 Normal map format: in Texture Set Settings, and fill images follow it
The project's normal map format (OpenGL or DirectX) could only be set
by command or a template, and fill images on a normal channel were
always read as OpenGL, so a DirectX map's detail came out inverted.
Texture Set Settings now has a Normal map format row, and a fill's
image on a normal channel is read in that format, as mesh map images
already were. A change of format recomposites the sets.
2026-11-02 14:29:38 +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 7d6c123657 Merge remote-tracking branch 'origin/main' into paths/non-destructive-113 2026-11-02 14:21:25 +07:00
Justin John a528fa346e Merge remote-tracking branch 'fork/paths/non-destructive-113' into paths/non-destructive-113 2026-11-02 12:43:28 +05:30
Justin JohnandClaude Opus 5.5 e5a8f2ed78 Cache the paths below an edited path; test the path list UI
Editing a path repaints only it and the paths above it: the sublayer's pixels
after the paths below are cached (keyed by those paths, the mesh and the
texture size) and reused while the edit goes on. A unit test checks the cached
repaint matches painting every path.

Adds a UI test for the path rows (pick to edit, pick again to finish, remove)
and a properties-paths frame to the offscreen window snapshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:43:10 +05:30
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
bflatastic d4d973d703 Merge remote-tracking branch 'origin/main' into paths/non-destructive-113 2026-11-02 14:04:18 +07:00
bflatastic e96ab5e4fd fix(path): a new edit of a stored path starts its own undo step
Live repaints merged into the last step whenever its label matched, so editing the same
path again (or the same index in another sublayer) joined the earlier edit and one undo
reverted both. An edit now merges only into the step it made itself. Stored brush
settings are clamped when read, like the tool's own, since they come from the file.
2026-11-02 14:03:52 +07:00
Justin JohnandClaude Opus 5.5 e478a8145b Merge main into paths/non-destructive-113
Keep path sublayers refused for manual strokes alongside main's paint-below-selected-effect targeting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:25:25 +05:30
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