Commit Graph
175 Commits
Author SHA1 Message Date
bflatastic d103cc3cfd Leave the material library out of this branch
The new materials belong to their own change.
2026-11-02 10:02:34 +07:00
bflatastic 332cfa4070 Levels histogram: bound the neighbourhood work under a filter
A neighbourhood field covers the bounding box of its tiles, and a
scattered sample spans the whole set, so on an 8K set a blur below the
levels effect evaluated everything. With such a filter below, each
sampled tile now builds its own field.
2026-11-02 10:00:24 +07:00
bflatastic 83b8a13131 Levels histogram: sample every column, and read masks of empty layers
An odd tile stride: a power of two divides the row length on
power-of-two sets and read the same few columns. A mask is planned on
its own, so a paint layer with nothing painted still shows its mask's
histogram.
2026-11-02 09:44:28 +07:00
bflatastic d736ffa9af Levels: a histogram of what the effect reads
The Levels effect's properties now show a histogram of its input, the
mask below it or (on layer content) a channel picked above it, with the
input range marked. effect.histogram {effect, channel?, bins?} gives
agents the same counts. Large sets are sampled (at most 256 tiles), so
the cost stays flat up to 8K.
2026-11-02 09:23:59 +07:00
BFlat 56c52edf4d Merge pull request #112 from storytold/docs/roadmap-2026-11-02c
Docs: roadmap after the issue fixes
2026-11-02 08:57:28 +07:00
BFlat 286f391b39 Merge pull request #111 from storytold/fix/uv-island-fill
Polygon fill: UV island mode follows the UVs across split vertices
2026-11-02 08:42:34 +07:00
bflatastic 9e65464654 Merge main into docs/roadmap-2026-11-02c 2026-11-02 08:42:02 +07:00
BFlat e0ea53ac4c Merge pull request #110 from storytold/fix/ask-to-save-before-replacing
Ask to save before opening, starting or closing another project
2026-11-02 08:41:46 +07:00
bflatastic 4f8a2f0828 Docs: roadmap after the issue fixes 2026-11-02 08:28:30 +07:00
bflatastic bd8299c0c7 Merge main into fix/uv-island-fill 2026-11-02 08:27:04 +07:00
BFlat e2b9aa32e9 Merge pull request #109 from storytold/fix/sss-ghosting
Viewport: no ghost edges in the subsurface blur
2026-11-02 08:26:58 +07:00
bflatastic be1e095157 Merge main into fix/ask-to-save-before-replacing
# 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:26:03 +07: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
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
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
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
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
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
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
BFlat 3fac2b1482 Merge pull request #78 from storytold/docs/roadmap-2026-11-02
Docs: roadmap estimate after text, brush presets and the start window
2026-11-02 05:23:11 +07:00