Commit Graph
191 Commits
Author SHA1 Message Date
BFlat 5ce23ce2c8 Merge pull request #121 from storytold/fix/histogram-scan-step
Histogram Scan: full contrast is a threshold
2026-11-02 10:56:00 +07:00
BFlat c4f523063b Merge pull request #120 from storytold/docs/roadmap-2026-11-02d
Docs: roadmap after the levels histogram, web save prompt, filters and materials
2026-11-02 10:50:27 +07:00
bflatastic d5c2f793fd Histogram Scan: full contrast is a threshold
At contrast 1 the narrowest ramp still sent a value equal to the position to mid gray. It now matches Threshold: the position and everything above it go to white.
2026-11-02 10:39:41 +07:00
BFlat b906f41f2e Merge pull request #118 from storytold/filters/histogram-scan-range-shift
Filters: histogram scan, range and shift
2026-11-02 10:38:29 +07:00
bflatastic 27251c8b4b Merge main into docs/roadmap-2026-11-02d 2026-11-02 10:34:57 +07:00
BFlat 78e6d7b334 Merge pull request #119 from storytold/materials/ground-and-metals
Materials: platinum, zinc, cobalt, bark, sand, mud, ice, snow and bone
2026-11-02 10:34:38 +07:00
bflatastic 39a2dd9d27 Merge main into filters/histogram-scan-range-shift 2026-11-02 10:27:48 +07:00
BFlat cb1501318f Merge pull request #114 from storytold/levels/histogram
Levels: a histogram of what the effect reads
2026-11-02 10:19:27 +07:00
bflatastic 6c93db99c6 Docs: roadmap after the levels histogram, web save prompt, filters and materials 2026-11-02 10:12:32 +07:00
bflatastic a4cebb790d Merge main into filters/histogram-scan-range-shift 2026-11-02 10:10:15 +07:00
BFlat 050bada434 Merge pull request #117 from storytold/fix/color-picker-copy-icon
Color picker: our own picker with a copy icon from the icon set
2026-11-02 10:09:45 +07:00
bflatastic 4913131cf7 Materials: platinum, zinc, cobalt, bark, sand, mud, ice, snow and bone
Nine procedural materials for the shelf: three metals from measured
reflectance (zinc with crystalline spangles), bark with deep furrows,
fine-grained sand, mud with glossy wet patches, ice with cloudy air
pockets under transmission, and snow and bone with a little subsurface
scattering.
2026-11-02 10:09:29 +07:00
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 a185e5f951 Filters: histogram scan, range and shift
Three adjustment filters for masks and content: Histogram Scan slides a
ramp through the values (contrast narrows it to a step), Histogram Range
squeezes them towards a position, and Histogram Shift offsets them with
wrap-around. Names and parameters are translated into all nine other UI
languages.
2026-11-02 09:52:09 +07:00
BFlat b4c2cf3ab4 Merge pull request #115 from storytold/web/ask-to-save
Web: ask to save before replacing the project or closing the tab
2026-11-02 09:51:51 +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 5e37a93e45 Color picker: our own picker with a copy icon from the icon set
The picker's copy button was an emoji the bundled fonts don't draw, and
it lives inside egui's picker. The swatch now opens a compact picker of
its own: R, G and B values with a Phosphor copy button, a
saturation/value square and a hue strip. Hue and saturation survive
black, white and grays. The copy tooltip is translated into all nine
other UI languages.
2026-11-02 09:40:21 +07:00
bflatastic 5f890e584e Web: ask to save before replacing the project or closing the tab
The browser build threw unsaved changes away on New project, Open,
Close, Open sample project or a dropped file, and when the tab closed.
They now wait on the desktop's Save / Don't save / Cancel dialog (Save
downloads the project), and closing or reloading the tab with unsaved
changes makes the browser ask first.
2026-11-02 09:32:25 +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