Commit Graph
547 Commits
Author SHA1 Message Date
SteamSmith 650af529e2 Merge remote-tracking branch 'origin/main' into feat/bake-skew-correction
# Conflicts:
#	ROADMAP.md
2026-11-01 20:25:01 -05:00
bflatastic f48d5b6ba4 Ask to save before opening, starting or closing another project
New project, Open, a recent project, a dropped file, Open sample
project and Close replaced a project with unsaved changes without a
word. They now wait on the same Save / Don't save / Cancel dialog as
quitting, and go ahead once the changes are saved or let go.
2026-11-02 08:24:29 +07:00
BFlat aa5e19ce88 Merge pull request #107 from storytold/fix/fabric-materials
Materials: twill for denim and carbon fiber, a pile for velvet
2026-11-02 08:24:24 +07:00
SteamSmithandClaude Sonnet 5.5 e92e04ce50 feat(bake): paint the skew map with bake.skew.paint
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 20:24:02 -05:00
SteamSmithandClaude Sonnet 5.5 8153934f30 feat(bake): save the skew map in the project file
The map is stored as skew.bin next to the high polys and the cage. A map that fails the
baker's checks on load is skipped with a log line.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 20:21:43 -05:00
BFlat 3d0525873c Merge pull request #104 from storytold/fix/color-picker-steady
Color picker: keep the popup in place while the color changes
2026-11-02 08:10:34 +07:00
bflatastic 98e282b70d Polygon fill: UV island mode follows the UVs across split vertices
UV island fill grew the island through shared vertex indices. Imported
meshes often split vertices along hard edges, or give every face its
own, while the UVs run on; the fill then stopped at single polygons.
Triangles that share an edge in UV space now form the island.

Fixes #51.
2026-11-02 08:10:21 +07:00
Agapenordev 0f49ec781b Merge remote-tracking branch 'origin/main' into fix/import-gpu-oom 2026-11-02 02:01:42 +01:00
bflatastic ad8c650c09 Merge main into fix/fabric-materials
# 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 08:01:39 +07:00
BFlat 108d790bcc Merge pull request #103 from storytold/fix/ask-to-save-on-close
Ask to save unsaved changes when the app closes
2026-11-02 07:59:51 +07:00
bflatastic 8efd62aeaa Viewport: no ghost edges in the subsurface blur
Skin and other scattering materials showed copies of the silhouette
running parallel to it: the blur's taps sit pixels apart when the mean
free path is wide on screen, and a tap that left the mesh dropped out
of the sum, so the light stepped at every tap spacing from the edge.
Taps are now shifted per pixel and per accumulated frame, and a tap
across a depth discontinuity takes the centre's light instead of
dropping out.

Fixes #86.
2026-11-02 07:59:35 +07:00
BFlat a137e3d043 Merge pull request #102 from storytold/fix/layer-clipboard-keys
Layers: Ctrl+C, Ctrl+X and Ctrl+V copy, cut and paste a layer
2026-11-02 07:53:59 +07:00
bflatastic 3fea0f6c62 Materials: twill for denim and carbon fiber, a pile for velvet
Carbon Fiber, Fabric Cotton, Denim and Velvet were all the same plain
weave in different colours. A new Twill weave pattern (2/2: diagonal
ribs, the weft darker than the warp) now gives Denim its diagonal and
Carbon Fiber its light and dark tows under a clear coat; Velvet is a
soft pile with no weave under its sheen; Fabric Cotton keeps the plain
weave. Twill weave is also a fill pattern, translated into all nine
other UI languages.

Fixes #97.
2026-11-02 07:53:46 +07:00
AgapenordevandClaude Opus 5.5 8b3cd4db7f Toasts fit the window; a sticky one can always be dismissed
Review: the text wrapped at the full width with the dismiss button after
it, so on a narrow window the toast spilled past the screen edge, and a
long notice could grow taller than the window and clip its button.
Toasts are now at most the window's width (and 360 points), the text
wraps in the width the button leaves and scrolls past a share of the
window's height, and long texture set names are shortened in the GPU
memory notice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 01:50:07 +01:00
bflatastic 0a13426b6d Color picker: keep the popup in place while the color changes
The picker's R, G and B values were its widest row, so the popup grew
and shrank as they gained or lost digits; anchored at the right edge of
the Properties panel, the whole picker slid sideways under the cursor.
The square and hue slider are now wider than that row at any value.

Fixes #93.
2026-11-02 07:45:24 +07:00
bflatastic 85c749bb1b Ask to save unsaved changes when the app closes
Closing the window (or File > Quit) with unsaved changes now keeps the
app open and asks: Save, Don't save or Cancel. A cancelled or failed
save keeps the app and the dialog open. Strings translated into all
nine other UI languages.

Fixes #100.
2026-11-02 07:41:01 +07:00
bflatastic fe2e1545a6 Layers: Ctrl+C, Ctrl+X and Ctrl+V copy, cut and paste a layer
The desktop and web shells deliver these keys as clipboard events, not
key presses, so the layer shortcuts never fired. Outside a text field
the clipboard events now run the shortcuts bound to Ctrl+C, Ctrl+X and
Ctrl+V. Copying a layer by shortcut puts its name on the system
clipboard, since Ctrl+V only reaches the app while that holds text or
an image. Layer rows carry their name for screen readers and tests.

Fixes #90, fixes #94.
2026-11-02 07:36:27 +07:00
SteamSmithandClaude Sonnet 5.5 7a59356a33 test: remove the MaterialX export scratch folders when the test ends
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 19:26:57 -05:00
Agapenordev ce1932949a Merge remote-tracking branch 'origin/main' into fix/paint-with-filter-selected 2026-11-02 01:25:06 +01:00
AgapenordevandClaude Opus 5.5 aff63b567c Translations: the filter hint in its alphabetical place
The tables are sorted by English key with new strings appended at the
end, so every open PR that adds strings conflicts there. This key now
sits in its sorted slot, away from the shared tail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 01:25:06 +01:00
Agapenordev fd9768a28d Merge remote-tracking branch 'origin/main' into fix/import-gpu-oom 2026-11-02 01:24:39 +01:00
AgapenordevandClaude Opus 5.5 cecc5141ad Translations: GPU notices in their alphabetical place
The tables are sorted by English key with new strings appended at the
end, so every open PR that adds strings conflicts there. These keys now
sit in their sorted slots, away from the shared tail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 01:24:39 +01:00
BFlat 8a7f0ac708 Merge pull request #99 from storytold/docs/roadmap-2026-11-02b
Docs: roadmap after today's fixes
2026-11-02 07:23:06 +07:00
BFlat d25122f4c0 Merge pull request #98 from storytold/sets/show-hide-solo
Texture Set List: show all, hide all, invert, and focus on one set
2026-11-02 07:23:02 +07:00
SteamSmith fac42eac33 Merge feat/materialx-export into feat/export-colour-space 2026-11-01 19:10:21 -05:00
bflatastic 2b7ed060be Docs: roadmap after today's fixes 2026-11-02 07:08:16 +07:00
bflatastic 2d8c34c055 Features: the texture set visibility controls 2026-11-02 07:07:45 +07:00
bflatastic 69df38ffea Texture Set List: show all, hide all, invert, and focus on one set
An eye menu above the list shows, hides or inverts every texture set;
the focus button shows only the active one, and shows them all again
when pressed a second time. textureSet.visibility {mode} does the same
for agents.

Fixes #72.
2026-11-02 07:07:45 +07:00
BFlat fcd1d28e5f Merge pull request #96 from storytold/ui/alt-click-solo-channel
Material channels: Alt+click keeps one channel
2026-11-02 07:07:25 +07:00
BFlat cd518ae8eb Merge pull request #95 from storytold/fix/effect-sliders
Effect sliders apply what they were dragged or clicked to
2026-11-02 07:07:21 +07:00
BFlat 05c44de71c Merge pull request #92 from storytold/viewport/baked-normal
Viewport: show the baked normal map
2026-11-02 06:51:42 +07:00
BFlat c8368b6a06 Merge pull request #91 from storytold/fix/unnamed-parts-reopen
Projects keep the names of a mesh's unnamed parts on reopen
2026-11-02 06:51:38 +07:00
bflatastic 7e78a2cba6 Material channels: Alt+click keeps one channel
Alt+click on a channel of a fill's or the brush's Material section turns
that channel on and every other one off (one undo step for a fill).
tool.material and layer.fill.set take solo: true for the same.

Fixes #74.
2026-11-02 06:37:04 +07:00
bflatastic d3bc91700f Effect sliders apply what they were dragged or clicked to
The sliders of a selected effect (opacity, generator, levels, HSL,
filters, fill patterns) re-read their value from the document each
frame and applied it when the drag stopped, but on that frame the
pointer no longer drags, so the old value was applied again; a click on
the track was never applied. slider_edit remembers the dragged value
for the release frame and reports clicks and typed values too.

Fixes #46.
2026-11-02 06:37:03 +07:00
BFlat c0f6ab4f4a Merge pull request #88 from storytold/decal/up-param
Decals: an up parameter, and an upright rule that never degenerates
2026-11-02 06:36:26 +07:00
BFlat f6b66a2580 Merge pull request #87 from storytold/cli/sample-bake-size-note
CLI: say that new --sample bakes its mesh maps at up to 1024 px
2026-11-02 06:31:08 +07:00
BFlat 3e49542962 Merge pull request #84 from storytold/cli/automation-root-flags
CLI: --automation-read-root / --automation-write-root for mcp and serve
2026-11-02 06:18:14 +07:00
BFlat 7c1d20f084 Merge pull request #83 from storytold/fix/usd-varname-string
USD export: the primvar reader's varname is a string
2026-11-02 06:18:10 +07:00
bflatastic 056a089551 Viewport: show the baked normal map
The viewport's normal texture held only the painted Normal channel, so
a baked normal map changed the export but not the view. Display tiles
now re-orient the painted normal onto the baked one, as export does
(core::blend::rnm, now public).

Fixes #54.
2026-11-02 06:11:11 +07:00
BFlat b4b89d24cb Merge pull request #82 from storytold/fix/display-unknown-environment
display.set: refuse unknown environment names
2026-11-02 05:56:47 +07:00
SteamSmithandClaude Sonnet 5.5 4917eda4a8 feat(ui): File > Import MaterialX material... with a file picker
The menu item opens a .mtlx picker and runs file.importMaterialX; the new layer's name is
toasted, the reader's warnings go to the Log, and the Layers panel is focused. The menu label
and the picker's filter name are translated in all ten languages; menu parity is 54 of 54.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 17:56:46 -05:00
bflatastic e3bc63d1ca Projects keep the names of a mesh's unnamed parts on reopen
Parts a mesh file leaves unnamed are named after the file. The project
stored the mesh as mesh.<ext> and read it back under that name, so a
reopened quad.gltf named its part "mesh" and geometry masks on "quad"
hid their layer. The project now keeps the imported file's name
(mesh_file) and reads the stored mesh under it, on open and on a
pathless reimport. Older projects read as before.

Fixes #76.
2026-11-02 05:56:33 +07:00
BFlat 5f87e7add1 Merge pull request #80 from storytold/docs/mcp-remove-unused
Docs: command_run also allows file.removeUnused
2026-11-02 05:47:07 +07:00
bflatastic 2d1047eb36 Decals: an up parameter, and an upright rule that never degenerates
layer.add.decal and layer.decal.set take up: [x, y, z]. Without it the
decal keeps the view's up, and when that runs along the surface normal
(a top face seen from a level camera) it takes the view direction, so
the far edge is up, instead of an arbitrary perpendicular.

Fixes #64.
2026-11-02 05:46:55 +07:00
bflatastic f47638d782 CLI: say that new --sample bakes its mesh maps at up to 1024 px
The baked maps are most of a sample project's size, so a 2048 sample is
as large as a 1024 one; the usage and the control protocol now say so.

Fixes #66.
2026-11-02 05:42:55 +07:00
bflatastic c4353cc8d0 CLI: --automation-read-root / --automation-write-root for mcp and serve
The spelling the other crafting apps use; the same as --read-root /
--write-root.

Fixes #57.
2026-11-02 05:41:00 +07:00
bflatastic b5a34048fe USD export: the primvar reader's varname is a string
usdchecker's ARKit profile expects inputs:varname as a string, not a
token. The crate writer gains string values (the STRINGS table).

Fixes #62.
2026-11-02 05:37:47 +07:00
bflatastic 963008635c display.set: refuse unknown environment names
The built-in environment list moves to core (render re-exports it), so
the engine can name the valid ones in the error.

Fixes #65.
2026-11-02 05:34:40 +07:00
bflatastic e173810891 Docs: command_run also allows file.removeUnused
Fixes #73.
2026-11-02 05:31:07 +07:00
RebornimandClaude Opus 5.5 8a281d7f2c Bake: thickness max occluder distance defaults to 0.1
Thickness is the mean hit distance divided by the max occluder distance,
so the old shared default of 0.25 of the bounding box diagonal turned most
thin parts of a model nearly black, and long rays reached geometry behind
single-sided parts. 0.1 is the default in Adobe's public baker documentation.

AO and bent normals keep 0.25.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 22:30:07 +00:00