Commit Graph
1329 Commits
Author SHA1 Message Date
aiongg 05d0fbf76e The clipboard test holds the test language lock 2026-11-25 21:08:22 +00:00
aiongg 28a0d1a0ef Tab hides the UI only while bound to it; Enter drops a later Ctrl; a hidden update result shows again 2026-11-25 21:08:06 +00:00
aiongg 0fdcc8c327 Merge main into the minimal port 2026-11-25 20:46:10 +00:00
Chris Hassebrook 2d86cc04ba Merge pull request #799 from Rebornim/feat/bake-pass-2
Bake mode pass 2: settings layout, bakers list, sync, automatic cage and map preview
2026-11-25 15:34:55 -05:00
aiongg 753363d012 Merge main into the minimal port 2026-11-25 20:18:34 +00:00
aiongg 0e18776470 Floating windows carry the running channel's app id 2026-11-25 20:09:39 +00:00
Chris Hassebrook c064acb9c9 Merge pull request #826 from Rebornim/feat/generators-pass-c
Generators on the reference app's controls, seven new kinds, and a live preview
2026-11-25 15:07:52 -05:00
chasse20 54ae40b14a Auto: Integrate main and fix bake selection and preview lifetimes
Validate every selected texture set before starting a real or quick bake. Apply linked settings atomically, reject invalid copy selectors, and preserve only the maps needed by a display preview.

Reuse fitted geometry across streamed maps, bound cage projection scratch, and stop discarded work. Release stale scene and thumbnail resources on project replacement. Keep pending imports safe across updates and restore keyboard focus after bake menus and dialogs close.

Add regressions for selection, cancellation, project replacement, and keyboard navigation. Retain main's packaging, dependency, and export changes.
2026-11-25 19:55:33 +00:00
chasse20 fc04f96857 Auto: Integrate main and fix generator masks, caches and previews
Resolve Micro Height against the requested draw and current atlas layout. Invalidate whole-map fields after geometry edits, reuse admitted fields across tiles, and stop rust runoff at gaps between UV islands.

Render configured preview inputs, cancel evicted image requests, and clear stale previews and point picks when the project changes. Reduce temporary curvature fields and repeated occlusion sampling work.

Preserve generator IDs and saved values while updating picker wording. Consolidate generator regression tests and credit the Nightly icon set inherited from main.
2026-11-25 19:25:49 +00:00
aiongg 8a83057ac3 Repin craft-libs to storytold next 8fa4db64a9 and egui to b9770908e 2026-11-25 19:15:14 +00:00
aiongg 95281e01ad Shift+Escape stays Shift+Escape when Shift is let go at once
As before the move to the craft-ui runtime, an Escape shortcut matches
the modifiers of its own press, not the ones held when the frame runs.
2026-11-25 18:28:09 +00:00
aiongg 2a1ff34f4e Floating panels match symbol shortcuts as the main window does again
As before the move to the craft-ui runtime, a press in a floating panel's
own window runs the command it runs in the main window. Where a layout
types a symbol with Shift, the binding with Shift wins in both.
2026-11-25 18:25:57 +00:00
aiongg 48c2717148 A command's floating panel comes in front of the other windows again
As before the move to the craft-ui dock, showing a panel from the Window
menu or another command raises the floating window that holds it, once.
Docked panels only become the front tab.
2026-11-25 18:24:58 +00:00
aiongg 8af1bf8456 Repin craft-libs to storytold next aa401985d 2026-11-25 15:52:23 +00:00
aiongg 0baab2e46e Copy, Cut and Paste pressed in a floating panel reach the app 2026-11-25 15:12:06 +00:00
aiongg cb77c86d81 Test builds compile the TLS, dialog and screen capture crates at opt-level 0 2026-11-25 14:43:32 +00:00
aiongg 800adc7e90 Keys typed in a floating panel's focused field run no shortcuts 2026-11-25 14:25:34 +00:00
aiongg 4292f553f5 Repin craft-libs to storytold next d1bdf8e5da 2026-11-25 13:44:23 +00:00
aiongg d52810b354 The viewport is one real Tab stop
The 3D and 2D views are declared as host canvases with the ids of their own widgets, so egui keeps the focus Tab gives them.
A bare Tab on a focused view hides and shows the UI through the runtime's chrome toggle, as with nothing focused; Shift+Tab moves on from it.
A focused view leaves the keyboard to the shortcuts, the held keys and the Path tool.
2026-11-25 13:40:51 +00:00
aiongg 4b08ce6b3c Merge main into the minimal port 2026-11-25 13:33:56 +00:00
aiongg 71e2e3f2bc Merge pull request #834 from aiongg/ci-dep-line-tables
Dependencies keep line tables in dev and test builds
2026-11-25 08:33:00 -05:00
aiongg a8538b761a Dependencies keep line tables in dev and test builds 2026-11-25 13:31:26 +00:00
aiongg ef82a2cf6c xtask ci: the wasm check runs on one host 2026-11-25 13:25:33 +00:00
aiongg 24c8be1aa0 Test profile: craft UI framework and ui-egui below opt-level 2 2026-11-25 13:22:53 +00:00
Rebornim eda6f834de Generators: a whole-map field's sampled mesh map is a type of its own (clippy type_complexity) 2026-11-25 07:42:35 +00:00
Rebornim 5f33d84f1e Generators: only the session's own composite drops anchor heights it no longer reads
Thumbnails, solo layers and histograms evaluate cut-down stacks without
every reader: they now build only missing heights and drop none, so a
thumbnail refresh no longer throws away the viewport's. Doc full stops on
the touched preparation functions.
2026-11-25 07:40:42 +00:00
Rebornim 0d1f687b9a Generators: a histogram's cut stack reads the anchor heights the whole stack prepared
A histogram evaluates the stack cut below an effect: it rebuilt every
anchor height under the cut's stack key, replacing the viewport's, so the
next render built them again. A cut now builds only heights that are
missing and leaves the set's prepared ones as they are. Review tidying:
blank lines, histogram scan comment, the field cache test reads the
cache's size.
2026-11-25 07:35:22 +00:00
aiongg a97801e6c9 Keep the window's Escape for the open drop popup 2026-11-25 07:34:56 +00:00
aiongg 966ff1d331 Leave Shift+Tab to focus traversal: unbind the panels-except-tools toggle 2026-11-25 07:34:33 +00:00
Rebornim e7fa9730f2 Generators: drips take no rust from lower on the axis, histogram ends hold at a hard step, Use Texture's X projection scales about the centre
- a drip ray past a ridge no longer carries rust up from texels lower on
  the drip axis (the fitted captures move closer with the check)
- position 0 stays all black and 1 all white at contrast 1, as the scan's
  ends are documented (3D Distance at offset 0, Dripping Rust spread 0)
- Use Texture's triplanar X projection mirrors U about the bounds' centre
  like the scale it uses; custom grunge keeps its fitted placement
  (identical at whole scales, which every capture used)
2026-11-25 07:26:15 +00:00
aiongg 14d82e59e2 Hide UI on a bare Tab through the framework's chrome toggle 2026-11-25 07:24:03 +00:00
aiongg 00c4fce31e Close the drop popup on the window's Escape 2026-11-25 07:23:43 +00:00
Rebornim ff298779c2 Generators panel: Restore defaults keeps the Resolution band, the input card offers anchors below the owner, a swapped kind drops its point pick, size columns step with the arrow keys
- Restore defaults resets the Parameters only, as its band says (it was
  disabled when only the resolution differed, yet reset it otherwise)
- an inherited generator's slots list the anchors below both the owner
  and the instance, as the Properties picker does (others were refused)
- a pick armed on a generator swapped to a kind without that point is
  dropped
- a focused size column takes the arrow keys, each press one step
- the picker snapshot hovers the tile by its ListBoxOption role
2026-11-25 07:16:06 +00:00
Rebornim 30dcceb3ef Generators: mask comparisons in tests reject missing texels; the micro blur's kernel is sampled once per pass
bake_resolution checks the mask's length again (the zip let a short or
empty mask pass), as do the texture and section test helpers.
2026-11-25 07:16:06 +00:00
Rebornim 44b1bc0273 Generators: whole-map fields keyed by a coverage hash taken once per evaluation and by each mesh map's bake size
The field cache read every 31st texel's triangle on each lookup (once
per tile plan) and could miss an edit between samples; the evaluation
now hashes every texel once, on first use. A mesh map's bake size joins
its key (one allocation read as another layout), and a hit moves to the
most recently used end.
2026-11-25 07:12:15 +00:00
Rebornim eaf3ad1c2a Generators: every anchor height a render reads stays prepared, built lowest anchor first at the working size
Anchor heights are kept while the texture set reads them (no 8-entry cap
that dropped a ninth anchor to black), built in the anchors' draw order
as their topmost reader reads them (an anchor's height can hold readers
of lower anchors; layer ids no longer decide), rebuilt when the working
atlas size changes, and prepared before the generator maps that read
them.
2026-11-25 07:07:40 +00:00
Rebornim 333605327e Generators: a micro detail saved before Micro Details renders as saved while its generator stays on the earlier model
MicroDetails.earlier marks a migrated {anchor, amount}: an earlier-model
generator adds the anchor's height times the amount to its signal as #395
did; microAnchor/microAmount keep that reading on the earlier model, and
any Micro Details control moves the generator onto the reference's
controls and the anchor's curvature.
2026-11-25 06:57:21 +00:00
aiongg 3cf9c5d72a cargo fmt 2026-11-25 06:40:09 +00:00
aiongg 1d855c734f Merge main into the minimal port
Conflicts: apps/texturecraft/src/main.rs (kept the port's Decision/frame_guard/framework::install and main's exit hook, Nightly banner and os_window identity; dropped macOS movable), crates/ui-egui/src/lib.rs (kept both mods), crates/ui-egui/src/titlebar.rs (kept PREFIX and NIGHTLY_ICONS). Added install_headless to main's two new test harnesses.
2026-11-25 06:35:30 +00:00
aiongg 02613270e4 Repin egui to storytold b15ffe9bfc (what craft-libs next pins) 2026-11-25 06:32:50 +00:00
aiongg a85b1437aa Repin craft-libs to storytold next 16001e7210 and egui to storytold b15ffe9bfc 2026-11-25 06:31:20 +00:00
Chris Hassebrook 14f6502029 Merge pull request #771 from vangel76/fix/layer-target-menus-768
Layers: open context menus from material and mask thumbnails
2026-11-25 01:07:29 -05:00
FredApps 201f32fac4 Merge pull request #824 from vangel76/feat/export-templates-clean
Export templates: subfolders in file names and spec-based URP and USD templates
2026-11-25 05:50:18 +01:00
FredApps f9ba93a7be Give each confined export temp a unique short id
A directory-scoped batch previously reused one .export.{pid}.{attempt}.tmp
namespace of 256 names for every staging file and backup. Exports larger
than that limit, or overwrites of about half as many existing files, failed
even when every output path was valid. Each allocation now gets its own
short identifier, while the collision retries stay within that namespace.
2026-11-25 11:07:53 +07:00
FredApps 77850f6374 Use a short temp name for confined export writes 2026-11-25 10:54:11 +07:00
FredApps 0e1d9dfff1 Export templates: reject in-tree symlink folder aliases
Stage capability-scoped temps in the output root so the mid-batch
escape test can actually install a parent symlink, and refuse
export folders that are symbolic links so two names cannot resolve
to the same file.
2026-11-25 10:43:23 +07:00
Rebornim d2a4b44a1d Back-to-back cage test: chunk the indices with as_chunks_mut 2026-11-25 03:33:19 +00:00
FredApps 6c72fcb34e Fix Windows test cfg gate for write_batch_atomic_in_dir_with_hook 2026-11-25 10:22:16 +07:00
Rebornim c4958764f1 Automatic cage: fit along a vertex's own normal where welding cancelled it
Parts welded back to back (or a double-sided sheet) sum to a zero averaged normal; the transfer ray there falls back to the surface normal, so the fit now measures along the vertex's own normal too instead of finding no direction and keeping only the padding
2026-11-25 03:21:35 +00:00
FredApps 0535d1ddc6 Export templates: reject file/folder conflicts and confine writes with cap-std 2026-11-25 10:11:54 +07:00