Commit Graph
547 Commits
Author SHA1 Message Date
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
bflatastic d71cdfa3ca Undo: never leave a removed effect selected
Undoing an effect's add or duplicate took the selected effect away and
left the selection on it, so the row lost its highlight and strokes had
no target. The selection now falls back to the stack the effect was in.
2026-11-02 11:35:32 +07:00
bflatastic 569eb70f86 Merge remote-tracking branch 'origin/main' into pr69
# Conflicts:
#	ROADMAP.md
2026-11-02 11:34:41 +07:00
bflatastic b7543a49bc Auto-rebake: a cancelled or failed bake waits for the next input change
After Cancel or a bake error the app re-queued the same Auto-rebake on the next frame, forever, because a set only counted as up to date after a successful bake. Session::bake_abandoned records the set being baked and the queued ones as seen; cancel_bake and the bake error paths call it. Also drops a useless into_iter() and an unreachable branch in bake.autoRebake.
2026-11-02 11:34:16 +07:00
bflatastic f6bd07e4d6 Mesh maps: use an image instead of a bake
Each mesh map slot of the Texture Set Settings takes an image resource:
drop one from the Assets panel on the slot, or pick it from the slot's
menu, which also clears the slot. The image is resampled to the size of
the set's other mesh maps (or its bake size), its values read as data,
a normal map in the project's normal format.
textureSet.meshMap.set {ts?, map, image} and
textureSet.meshMap.clear {ts?, map} give agents the same.
2026-11-02 11:32:20 +07:00
bflatastic 74a036540e Merge remote-tracking branch 'origin/main' into pr75
# Conflicts:
#	ROADMAP.md
2026-11-02 11:26:21 +07:00
bflatastic 9d1a989efa MaterialX import: clamp uvtiling like a fill's UV scale, reuse the resource size limit
uvtiling is clamped to 0.001..=1000, the range layer.fill.projection accepts. Image files are capped by resource_cmds::MAX_BYTES instead of a second copy of the number.
2026-11-02 11:26:02 +07:00
bflatastic 76b24c4e3d Export colour space: tag MaterialX colour maps with it, warn when a colour map is not converted
The .mtlx tags colour textures with the export's colour space: srgb_texture, lin_rec709, acescg, or lin_ap0_scene for ACES2065-1 (MaterialX 1.39 has no AP0 space; the export warns). A colour map packed into one channel (L) is not converted and now says so. The $colorSpace variable's description lists every value.
2026-11-02 11:24:24 +07:00
bflatastic baf2390691 Merge feat/materialx-export into feat/export-colour-space
# Conflicts:
#	ROADMAP.md
2026-11-02 11:19:11 +07:00
bflatastic bc57653868 Merge remote-tracking branch 'origin/main' into pr50
# Conflicts:
#	ROADMAP.md
2026-11-02 11:15:32 +07:00
bflatastic cc90af09e0 MaterialX export: tag colour maps with their file's colour space, write the .mtlx atomically, warn on clashing set names
Float files (EXR, HDR) hold linear values, so their colour maps are tagged lin_rec709 instead of srgb_texture. The .mtlx goes through formats::write_atomic, and a set whose name sanitises to an earlier set's file name is skipped with a warning instead of overwriting it.
2026-11-02 11:15:03 +07:00
bflatastic 0d2f1873cd Effects: drag to reorder, duplicate
Effect rows in the layer stack can be dragged within their stack (a
drop lands above the row, or below it from its lower half), and their
context menu duplicates an effect just above itself, painted pixels
included. effect.move {effect, index} and effect.duplicate {effect}
give agents the same.
2026-11-02 11:13:00 +07:00
BFlat c26847e21c Merge pull request #79 from Rebornim/fix/thickness-default-max-distance
Bake: thickness max occluder distance defaults to 0.1
2026-11-02 11:07:39 +07:00
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
SteamSmithandClaude Sonnet 5.5 e4d879fd5c feat(bake): Auto-rebake treats the skew map as a bake input
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 21:49:39 -05: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
SteamSmith 2263ab0c14 Merge remote-tracking branch 'fork/feat/bake-skew-correction' into feat/auto-rebake-skew
# Conflicts:
#	ROADMAP.md
2026-11-01 20:44:33 -05:00
SteamSmithandClaude Sonnet 5.5 9bb2f91809 feat(bake): paint the skew map in the 2D view
A Skew correction section in the Bake panel turns on a brush (radius, value, hardness) that
paints the map in the 2D view; the map shows as an orange overlay while baking. The 2D view is
shown in bake mode while the brush is on. Strings in all ten languages.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 20:44:10 -05: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