Commit Graph
212 Commits
Author SHA1 Message Date
RebornimandClaude Opus 5.5 a4b62d6e08 Drop a shelf material on the texture set under the cursor
While a material or smart material is dragged over the 3D view, the
texture set under the cursor shows its mesh edges in the accent color;
a drop selects that set and applies the material there. A drop on the
background does nothing. The whole-view outline is gone for materials
in the 3D view; image drops, the 2D view and the brush zone are
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 03:05:47 +00:00
RebornimandClaude Opus 5.5 63df2b56e3 Shelf hover preview: a big version of the thumbnail
Hovering a shelf tile shows a 256 pt preview of the asset over its name,
rendered on a long-lived worker (its own thread pool) once the pointer
rests on the tile, newest hover first. The smart mask thumbnails and the
big mask previews share one bake. Renderers take their size as a
parameter; the shelf thumbnails are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 02:13:28 +00:00
Chris Hassebrook 0aaf5901c9 Merge pull request #283 from Rebornim/feat/smart-mask-previews
UI: smart mask previews that show the mask
2026-11-05 19:12:49 -05:00
chasse20 476d5ecc8b Guard preview inputs and optimize sparse mask reads 2026-11-05 18:54:07 -05:00
RebornimandClaude Opus 5.5 34ba091e8a Smart mask previews that show the mask
Shelf thumbnails now show each smart mask applied with mask.smart.apply to a
baked preview shape (geom::primitives::preview_orb) and read back from the
compositor (compose::mask_at, a sparse read sharing mask_image's per-tile
code), shaded flat white over a softly lit near-black surface. The shape bakes
once on a worker; preview::smart_mask's world-noise approximation is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:10:02 +00:00
Chris Hassebrook 10c1fba699 Merge pull request #260 from Aalzard/camera-bookmarks
Camera bookmarks: Ctrl+1…9 and a smooth glide
2026-11-05 16:38:43 -05:00
RebornimandClaude Opus 5.5 adcc43b077 Smart mask previews that show the mask
Shelf thumbnails now show each smart mask applied with mask.smart.apply to a
baked preview shape (geom::primitives::preview_orb) and read back from the
compositor (compose::mask_at, a sparse read sharing mask_image's per-tile
code), shaded flat white over a softly lit near-black surface. The shape bakes
once on a worker; preview::smart_mask's world-noise approximation is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 20:44:48 +00:00
Agapenor 169221ea4c Mark reimported projects as modified
Mark successfully reimported projects as modified so closing them prompts to save. Keep failed reimports atomic and add saved-project regression coverage.

Thanks @Agapenordev for the fix and regression test.
2026-11-05 17:30:59 +01:00
MistyMystery d60fb856c9 Live bake preview: the 3D view shows each mesh map as it finishes
A bake started in the app bakes the set's maps one after another (BakeTask::run_streaming, one bake per map, same pixels as a single bake) and streams each finished map from the worker thread. One map is installed per UI poll into the session's bake preview (not the document); the 3D view follows the newest map raw on the model, with maps and sets not baked yet shown neutral, and the bake bar names the stage. The bake bar picks Follow Newest Map, a finished map or Material. The previous view mode comes back when the bake ends, is cancelled or Bake mode is left; painting is paused while a bake is shown. bake.preview, ui.bake.start and ui.bake.cancel expose it on the control channel. New strings are translated in every shipped language.
2026-11-05 13:20:38 +04:00
MistyMystery e26f196888 Camera bookmarks: Ctrl+1..9 shortcuts, smooth glide in the UI, docs
Saved cameras (Project.cameras) already act as bookmarks; add camera.bookmark1..9 commands,
a short viewport glide when going to a camera from the UI, a test and a control-protocol section.
2026-11-05 06:52:49 +04:00
chasse20 b978bc9525 Recover older project settings 2026-11-04 18:57:05 -05:00
vangel76andClaude Sonnet 5.5 81281c1a0a Merge upstream/main into fix/clippy-chunks-exact-to-as-chunks
Upstream removed bake/maps.rs, engine/tests/auto_rebake.rs and read_skew
(moved elsewhere); take the deletions. Convert two new chunks_exact uses in
bake/test/setting.rs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 00:06:23 +01:00
chasse20 18a3c98176 Implement clean-room bake settings and improve map accuracy 2026-11-04 03:57:46 -05:00
chasse20 e4405760f1 Major refactor of Bake Mode settings and some UI, lots of cleanup for parity 2026-11-04 02:15:08 -05:00
vangel76andClaude Sonnet 5.5 715baf4760 Use as_chunks where the chunk size is a constant
Clippy 1.99 flags chunks_exact and chunks_exact_mut with a constant
chunk size (chunks_exact_to_as_chunks). Switch those call sites to
as_chunks / as_chunks_mut. Behaviour is unchanged: the trailing partial
chunk was already dropped.

Fixes #233

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 01:36:12 +01:00
Chris Hassebrook 9dc33d894e Merge pull request #181 from Silvertree2010/fix/176-bug-paths-with-fill-closed-path
Apply brush symmetry to filled closed paths
2026-11-03 01:15:30 -05:00
chasse20 4e7f6f0114 Fix path fill symmetry culling 2026-11-03 00:57:31 -05:00
Brandon Thomas 6ea72da6e5 Merge remote-tracking branch 'origin/main' into upd-172
# Conflicts:
#	ROADMAP.md
2026-11-02 19:25:12 -05:00
NetterSilverandClaude Haiku 5.5 1c657979d0 Apply brush symmetry to filled closed paths
Fixes #176

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 22:07:14 +01:00
bflatastic a21114be26 Merge remote-tracking branch 'origin/main' into masks/more-smart-masks 2026-11-02 22:00:43 +07:00
bflatastic 55e5fcabf7 Merge remote-tracking branch 'origin/main' into materials/more-materials
# Conflicts:
#	ROADMAP.md
2026-11-02 21:48:56 +07:00
bflatastic 5ea7a91a42 Six more smart masks: snow from top, moss from ground, rust in cavities, edge scratches, dirt streaks, occluded areas
18 -> 24 smart masks, built from the existing mesh-map generators and
triplanar patterns.
2026-11-02 21:48:11 +07:00
bflatastic aa1d9a5f79 Nine more procedural materials: maple, cherry, bamboo, cobblestone, gravel, plaster, linen, wool, moss
63 -> 72 materials. Cobblestone uses rounded cells with sunken joints, gravel
fine Voronoi stones, plaster a soft troweled tooth; linen a coarse weave, wool
and moss a soft sheen.
2026-11-02 21:36:14 +07:00
bflatastic 6dabe66324 Filter radii and height slopes follow each UV tile's own resolution
A UV tile with a lower resolution than its atlas block fills the block's
corner, so it has fewer texels per UV unit. Neighbourhood filters (blur,
sharpen, warps, bevel, glow, ...) and height-to-normal slopes used the block's
texel density for every tile, so such a tile blurred twice as wide and showed
twice as steep slopes in UV space.

TextureSet::block_scales gives each block's share; the compositor filters each
block at its tile's radius, texture export and the CPU path tracer scale the
slope by it, and the display packs it into the Extra texture's alpha for the
viewport and GPU path tracer shaders (parallax too).
2026-11-02 21:08:35 +07:00
bflatastic 41dcf2d4ef fix(export): render the implicit material's maps for OBJ only
GLB and USD export the material-less mesh as it is and drop those maps, so
rendering them only cost time.
2026-11-02 20:10:36 +07:00
bflatastic 15a06149d7 OBJ companions are named after the OBJ; the implicit material exports; ids are unique ignoring case 2026-11-02 19:43:54 +07:00
bflatastic 04af749194 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-02 19:28:51 +07:00
bflatastic 8dc6e533b7 UV-tiled sets take mesh maps from one image per tile 2026-11-02 18:57:37 +07:00
bflatastic 281b343c22 Merge remote-tracking branch 'origin/main' into export/obj-mtl 2026-11-02 18:46:47 +07:00
bflatastic 7f793fbf3a normalFormat: reject non-strings and non-image sources; a format-only edit keeps the channel's state; re-cooks keep the mark 2026-11-02 18:29:48 +07:00
bflatastic 92e92ff779 OBJ export writes an MTL material library with each material's maps 2026-11-02 18:20:21 +07:00
bflatastic fe02cd266d Fill normal images can be marked DirectX: their green flips where a normal channel samples them 2026-11-02 17:52:31 +07:00
BFlat b8acb3303b Merge pull request #146 from storytold/fix/142-live-sliders
Effect and fill sliders apply live while dragged, as one undo step
2026-11-02 17:19:46 +07:00
BFlat 403385e312 Merge pull request #132 from SteamSmith/feat/auto-rebake-skew
Auto-rebake: a changed skew map rebakes the map
2026-11-02 16:45:38 +07:00
BFlat 61637df84f Merge pull request #60 from SteamSmith/feat/bake-skew-correction
feat(bake): skew correction for high-poly transfer rays
2026-11-02 16:44:55 +07:00
BFlat e27eb8842f Merge pull request #136 from SteamSmith/feat/embed-colour-space
Export: record the chosen colour space in the files
2026-11-02 16:44:51 +07:00
bflatastic e828af5c35 Document sliders apply live while dragged, as one undo step 2026-11-02 16:28:51 +07:00
bflatastic 126aeb1356 Merge branch 'feat/bake-skew-correction' into feat/auto-rebake-skew
# Conflicts:
#	ROADMAP.md
#	crates/engine/tests/auto_rebake.rs
2026-11-02 16:23:25 +07:00
bflatastic 5acfba00e8 fix(bake): paint the skew map in place instead of copying it per stroke step; a temp folder per leaning_session 2026-11-02 16:21:41 +07: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 360d70fcef Merge remote-tracking branch 'origin/main' into feat/bake-skew-correction 2026-11-02 16:10:38 +07:00
bflatastic d3453cd1f8 Merge remote-tracking branch 'origin/main' into feat/embed-colour-space 2026-11-02 15:59:33 +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 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 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 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
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
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