Commit Graph
323 Commits
Author SHA1 Message Date
Chris Hassebrook d422c821f2 Merge pull request #772 from vangel76/fix/effect-stacks-769
Toggle material and mask effects from their thumbnails
2026-11-26 06:36:38 -05:00
Chris Hassebrook 6b01f32eab Merge pull request #837 from vangel76/feat/warp-toolbar-805
Warp tool bar in the top bar: gizmo modes, place on surface, snapping, mirrors and resets
2026-11-26 01:00:38 -05:00
FredApps 46d84d5b23 Merge main into TextureCraft effect-stack changes 2026-11-26 06:43:42 +01:00
chasse20 499591c387 Auto: Integrate main and protect effect names on reopen and undo
Discard pending names when their project or effect disappears, including while the Layers panel is hidden. Cover File Open and removal followed by undo in the UI tests.

Reuse effect slices and label layouts. Skip checkerboards and placeholder meshes for fully clipped thumbnails.
2026-11-26 04:35:45 +00:00
chasse20 d0b1c7e3ac Auto: Integrate main and fix warp placement, resets and stale drags
Preserve main’s perspective ring fit and use the displayed radius when deciding whether a ring can be grabbed. Keep surface placement on the edited fill’s texture set and end captured drags when the loaded mesh or projection changes.

Preserve toolbar settings across layout changes, honor Ctrl snapping, and expose the manipulator settings as keyboard-adjustable sliders. Reset stored projector rotation and scale when keeping corners, and reject invalid reset arguments before editing.

Skip hidden handle geometry, reuse projected axes, and remove temporary selection and hit-test vectors.
2026-11-26 04:13:53 +00:00
aiongg 8180c82fab Merge storytold main (3c026860) into the minimal port 2026-11-26 03:21:25 +00:00
skylar taylor-barrick c57d4045f0 Switch on supervised nightlies on the nightly-signer branch (#838)
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
2026-11-25 21:05:43 -06:00
FredApps 9e0e971c47 Merge main into texture effect-stack disclosure 2026-11-26 03:18:39 +01:00
chasse20 21b86d98f6 Auto: Validate rebuilt UV layouts and trim save and reload allocations
Integrate main's dialog and bake-state changes. Reject inconsistent saved layouts at archive and session boundaries, and preserve vertex splits between independently packed materials.

Stream UV coordinates in bounded batches, transfer stored mesh bytes on successful reopen or reimport, and skip import reports that those callers discard. Set the archive version on the owned save snapshot to avoid copying the layer graph twice.

Cover material boundaries, malformed snapshots, locked coordinates and keyboard activation. Update the format and command documentation.
2026-11-26 01:03:44 +00:00
Chris Hassebrook 5590b7396a Merge pull request #734 from MMexicann/patch-1
docs: document the FreeBSD arm64 download
2026-11-25 18:58:33 -05:00
chasse20 0cfa2cc4f2 Auto: Integrate main's shared Nightly launcher
Bring in the shared Linux Nightly tarball launcher, its smoke test, and the packaging documentation. Verify that the launcher selects a valid private profile and that the approved sample-project changes carry forward intact.
2026-11-25 22:56:32 +00:00
chasse20 c96c377b45 Auto: Integrate main and correct FreeBSD help and runner guidance
Name the actual FreeBSD release runner and identify the Linux AppImage version check as non-blocking. Make the packager's installation example work for both FreeBSD archives and stop help output at the end of the documentation header.

Verified both extraction examples, native and cross-build smoke-test selection, the packaging dry run, and ShellCheck.
2026-11-25 22:55:56 +00:00
chasse20 05ffb1cc30 Auto: Integrate main and preserve existing sample projects
Stage bundled samples and install them without replacing a file that
appears during the copy. Record the Material Ball’s provenance and
clarify the desktop picker fallback and browser behavior.

Validated with Linux UI tests, focused release tests, formatting,
Clippy, layer checks, and WebAssembly compilation.
2026-11-25 22:50:07 +00:00
skylar taylor-barrick dcf91a4f05 Use the shared nightly launcher template (#835)
Renders the plain nightly tar's launcher from craft-common-actions' shared template.

Independent check: dylanmtaylor compared all 14 app launcher PRs byte for byte with the template rendered from the registry (https://github.com/storytold/craft-common-actions/pull/367#issuecomment-7172085284); this head was re-checked against craft-common-actions main 88148a5.
2026-11-25 16:17:41 -06: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
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
vangel76 cbc6669f48 Ship the sample project as assets/samples and copy it into the Samples folder 2026-11-25 16:44:16 +01:00
aiongg ef82a2cf6c xtask ci: the wasm check runs on one host 2026-11-25 13:25:33 +00:00
vangel76 7b37306c47 Say the Samples folder is desktop-only in the docs 2026-11-25 13:39:48 +01:00
vangel76 9c2393655e Open Sample Project starts in a Samples folder that holds the built-in sample 2026-11-25 11:21:23 +01:00
vangel76 d88bb3ea4b Correct the UV persistence note in the control protocol docs 2026-11-25 10:41:37 +01:00
FredApps 454fb75295 Merge remote-tracking branch 'origin/main' into pr-824 2026-11-25 09:51:09 +07:00
Dylan M. Taylor 56efb48efb packaging(linux): support co-installable nightly packages (#801)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-24 19:05:51 -06:00
vangel76 8f60ded96f Save the rebuilt UV layout in the project file
A project with rebuilt mesh UVs now stores the UV of every triangle
corner in uv_layout.bin. Reopening and reimporting the project's own
mesh apply that layout instead of running the unwrapper again, so a
later unwrapper change cannot move saved paint. A format 4 project
with rebuilt UVs but no valid layout is refused.
2026-11-25 00:42:46 +01:00
vangel76 f4a8283d74 Export templates: subfolders and spec-based URP/USD templates 2026-11-25 00:15:22 +01:00
vangel76 e8473240fd Output templates: Import and Export reachable from the keyboard, two tooltip fixes
The Presets row gets a Template actions button (three dots) that opens a menu with Import and
Export of the selected template. It is focusable, opens with Import focused and closes after an
action, so no pointer is needed. The row's right-click menu keeps both entries.

An inverted empty swatch names the colour it writes after inversion, and the disabled
Separate R, G and B item says R, G and B must read the same map and be inverted alike.
2026-11-24 21:12:52 +01:00
Rebornim 3f72b65487 Bake mode pass 2: settings sync between texture sets, undoable high polys loaded on a worker, automatic cage, panels in the reference's layout 2026-11-24 14:32:46 +00:00
vkleinmpandClaude Opus 5.5 41c6b3047a Merge main (021ff6fe) into feat/789-export-ui-parity
Conflicted files and their resolution:

- crates/ui-egui/src/export_window.rs: main (#794, 039b4548) made the
  Export window resizable, laid it out bottom-up and put the tab body in
  a clipped child so an overflow cannot widen the window each frame; it
  also wraps both settings pages in one scroll area, sizes the texture
  set list from the space left and retitles the window "Export Textures".
  All of that is kept. This branch's layout is kept on top of it: boxed
  tab buttons, the naming pattern on OUTPUT TEMPLATES, equal-width footer
  buttons, Reset all only on SETTINGS, no count/save/export on OUTPUT
  TEMPLATES, its tooltips and the bigger list rows. The window opens at
  this branch's reference size (capped by the screen) as its default
  size instead of a fixed size, so it stays resizable; egui counts a
  window's size with its frame and title bar, and main's layout now fits
  the content inside it, so the frame margins and title bar height are
  added to the reference content size (without that, the PR's
  the_window_has_the_reference_size test measured 672 instead of about
  740 points of content). set_list no
  longer takes a body height (main's available-height sizing replaces
  it); the PR-only "exp_global_scroll" area is replaced by main's
  "export_settings_page" one, which also covers a texture set's page.
- crates/ui-egui/src/export_templates.rs: this branch's reworked
  OUTPUT TEMPLATES tab (map lists, output rows, constants) is kept. Main's
  fix for cards growing wider one after another is carried over to the
  output rows: each row is laid out in the width the column had before
  the first row. Main's INPUTS_WIDTH/LIST_WIDTH/CARD_MARGIN constants
  belonged to the old card layout and are dropped; main's dialog-based
  question window merged cleanly.
- crates/ui-egui/src/mesh_export_options.rs: main's new
  windows::dialog(ctx, ...) signature with this branch's fixed width.

No test was changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 14:00:10 +01:00
vkleinmpandClaude Opus 5.5 5103d2256a ui-parity: describe the export UI's own wording
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:53:55 +01:00
FredApps 021ff6fe8b Merge pull request #794 from storytold/context-menu-parity
Align top menus, default workspace, and dialogs
2026-11-24 12:00:16 +01:00
vkleinmpandClaude Opus 5.5 1abb7bda34 Output templates: new output maps get a per texture set file name
Create named new rows just "Grayscale", "RGB" or "RGB Alpha", so every
texture set of a multi-set export planned the same file and the export
was refused for the name clash. New rows now start with
"$mesh_$textureSet_" (as the old "$mesh_$textureSet_Output" default
did), followed by the reference's row name. The output_templates test
that pinned the bare "RGB" checks the suffix and the set token instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:41:17 +01:00
FredAppsandClaude Opus 5.5 b57657438c Drop CodeRabbit's marker comments from the protocol doc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:05:50 +01:00
coderabbitai[bot] b6b761da86 Fix session log persistence and defer the sample project save prompt until selection
<!-- coderabbit-ai-generated:v1 -->
2026-11-24 08:01:32 +00:00
FredAppsandClaude Opus 5.5 e604486216 Bound the session log folders and import MaterialX from Import Resources
Each desktop run made a new logs/session-* folder that was never removed,
so the logs folder grew with every start. Starting a run now removes all
but the newest earlier runs' folders, keeping ten in all.

Removing File > Import MaterialX material... left no way to import a
.mtlx from the GUI. Import Resources now lists .mtlx files and imports
them as file.importMaterialX does, as a fill layer. The protocol doc no
longer points at the removed Import PBR texture folder item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:48:18 +01:00
chasse20 6bc4f3cafc Fix sample project picker and menu review findings 2026-11-24 02:23:29 -05:00
Chris Hassebrook c6894cc65b Merge branch 'main' into feat/789-export-ui-parity 2026-11-24 01:34:55 -05:00
vangel76 740616c354 Mesh Export Options: the reference's info icons; parity notes for the Output templates tab 2026-11-24 01:23:31 +01:00
vangel76 52e428300f Describe the reference Output templates tab in the UI parity notes 2026-11-23 23:45:11 +01:00
chasse20 86af6a3e1c Merge latest main into context-menu-parity
Integrate origin/main at 2037b6b8 while preserving the menu and dialog changes. Resolve the color-selection rewrite, toolbar imports, app state, and upstream test cleanup conflicts.

Validation: cargo +1.100.0 check -p texturecraft -p texturecraft-ui-egui --all-targets --locked passed. Tests and screenshots were not run.
2026-11-23 17:24:49 -05:00
vangel76 e1577e3686 Bind only the textures the export kept in the USD asset
Each usdAsset entry now carries the reservedNames its command ran with, and the
asset applies the same reservation rule as the texture export (reserved file
names and UDIM patterns, then earlier files of the job), so it never binds a
file the export skipped.
2026-11-23 23:13:32 +01:00
vangel76 0924e1314d Merge main into feat/786-export-usd-asset 2026-11-23 23:03:53 +01:00
vangel76 7e129c3968 Put the MaterialX export option directly below the USD one 2026-11-23 23:00:35 +01:00
vangel76 0203f23ee0 Export UI parity: drop SEND TO from the Export dock, restore the reference texts, 1100x740 window
The Export dock shows EXPORT only. The export window, its console lines,
tooltips and the Output templates texts read as in the reference again, and
the window has the reference size.
2026-11-23 23:00:04 +01:00
chasse20 7ff8f65f77 Auto: Keep MaterialX references safe across texture sets
Reuse compatible template maps and write dedicated OpenPBR maps for the remaining supported inputs. Reserve earlier filenames and UDIM patterns before rendering, and omit inputs whose textures would belong to another set.

Report when an export writes no files. Cover map compatibility, collision handling, and empty exports with regressions and document the resulting behavior.

Integrate main without target-side content changes. Validated by the retained Linux cargo xtask ci run.
2026-11-23 21:15:39 +00:00
vangel76 8f7c956335 Document unbound UDIM maps and the implicit default material in the USD asset 2026-11-23 21:59:01 +01:00
vangel76 4be73547bf Fix USD asset review findings: UDIM name clashes, material-less meshes, normal convention, sent params, docs 2026-11-23 21:56:35 +01:00
vangel76 c0523d2f68 Write the model as a USD file that uses the exported textures from the export window 2026-11-23 21:27:42 +01:00