Smart material shelf tiles and hover previews render the real material,
applied with materials::apply to the baked preview orb and composited by
the compositor, lit in a dark studio of soft boxes. MaskPreview becomes
OrbPreview (masks and materials share one bake and one worker). Tiles
show a loading icon until their preview arrives; the web takes one
worker request per frame. preview::material keeps plain materials only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only the last neighbourhood filter of a stack ran; any below it was
skipped silently, so Blur then Warp gave the same result as Warp alone.
field() now runs each one in turn, continuing from the previous field,
over a region widened by what the filters above it read. Stacks with a
single neighbourhood filter are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
The button row was a right-to-left layout placed straight in the dialog
body, which centres its contents in all the remaining height, so the
auto-sized window grew to 420 px. Wrapping it in a horizontal row (as the
New project dialog does) brings it to 119 px. Adds a regression test on
the dialog's window height.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
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.
The 3D/2D, 3D-only and 2D-only buttons become one dropdown showing the
current layout's icon, with the same commands and F1-F3 shortcuts. Beside
it, a Perspective / Orthographic dropdown sets the camera through
camera.set, so orthographic no longer hides in the Display Settings
panel. Both use a new icon button with a caret, sharing the icon button
style, and the bar's overflow width counts them.
Test: picking a layout and Orthographic from the menus sets ui.layout and
camera.ortho, and a second click on a dropdown closes its menu.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
In the split layout the line between the views was fixed at the centre.
It can now be dragged to resize both views live; the position is saved
in UiState::split_ratio (serde default 0.5, so older states load).
- Grab zone of 8 pt around the unchanged 2 pt line, claimed after the
views so a press there never paints, orbits or pans. Resize cursor on
hover and drag, no highlight. Left button only.
- Either view can shrink to a 16 pt sliver. A view narrower than its
300 pt camera and view pickers hides them, and each view is clipped to
its side of the divider.
- Dragging keeps the 2D texture's on-screen size and offset from the
view's centre (zoom and horizontal pan are compensated), stopping
where that zoom would leave the 0.1-40 range the wheel uses.
- The 2D view's edges sit on whole pixels and views render at the pixel
size egui draws them at, so rounding can't nudge the texture's size.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lay bake mode out as texture sets over a Mesh Map Bakers list, then
Common Settings | Mesh Map Settings tabs, with the log under both
columns. A row's checkbox enables a map for baking; clicking the row
selects it, and Mesh Map Settings shows only the selected map behind a
texture set / map breadcrumb with dropdowns. Selecting never changes
what bakes.
Saved bake docks from before this layout, or that cannot be read, load
as the bake layout instead of the painting default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Use the UI control height for high-poly and cage file buttons and their row-width reservations. Cover smaller and larger control sizes in the bake UI regression test.
Use theme control heights for toolbar, path, asset, property, bake and browser export controls. Keep width calculations in sync with the rendered controls and verify narrow toolbars at three theme sizes.
Keep mode buttons accessible while view controls join the scrolling strip when space is tight. Respect the remaining clip width, simplify the layout, translate view hints, and add toolbar interaction and visual checks.
The Painting, Bake and Render buttons move from the left tool shelf to the
right end of the top bar, which now shows in every mode. The view and mode
buttons keep their place; the tool controls scroll in their own strip with
arrow buttons and the horizontal wheel instead of drawing over them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>