Commit Graph
428 Commits
Author SHA1 Message Date
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
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
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
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 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
vangel76 94daa7370c Name the file in the MaterialX map warning and check reservedNames before creating the folder 2026-11-23 20:47:12 +01:00
vangel76 c9640bae07 Keep the files of earlier texture sets of an export when writing the MaterialX maps 2026-11-23 20:23:09 +01:00
vangel76 fa47c2c183 Force an OpenGL normal and keep the bit depth for the MaterialX maps 2026-11-23 19:40:01 +01:00
vangel76 b84f7b56e4 Write the OpenPBR maps for the MaterialX whatever template is selected 2026-11-23 19:23:50 +01:00
chasse20 30d7ee51c4 Remove redundant tests and fix unused build warnings 2026-11-23 03:56:43 -05:00
chasse20 71a5637701 Auto: Integrate main and streamline Warp and Blur Slope evaluation
Align the picker, catalog, replacement, defaults, and protocol on warp and blurSlope. Retire the old selectors, preserve stored filter settings, and apply Source Tiling to sampled inputs inside each UV tile.

Prepare Warp directions once per region and reuse the source for independent directions. Keep Chain sampling at each successive position.

Preserve main's draw identities and placed-fill picker. Repair sparse Compare and anchor evaluation, lighting, gradient boundaries, and seed restoration. Reduce redundant Color Match work, blur scratch, and cold environment reductions.

Validated with Linux cargo xtask ci, release compositor tests, CLI examples, and filter snapshots.
2026-11-23 07:21:19 +00:00
chasse20 64d1108b14 Auto: Fix Compare evaluation, folder resets and mask editing
Integrate main's projector, resource-picker and UI changes. Keep Compare inputs tied to the correct folder draw, propagate filter margins through sparse masks, and preserve the real backdrop in folder thumbnails.

Retarget saved seed resets when folders are copied. Preserve grayscale tool choices, reject missing mask images before mutation, and release the previous anchor's draft and undo state when selection changes.

Borrow material data during planning and write filtered samples directly into output rows. Cover the repaired behavior in the compositor, engine and Properties tests.
2026-11-23 01:00:29 +00:00
chasse20 8b2821e163 Auto: Integrate main and fix material preview and picker state
Preserve linked fills and imported alpha images, bind cached composites to their mesh, and keep delayed orb results from evicting newer previews. Avoid rendering hidden picker tiles, redundant queue scans and an extra HDR image buffer.

Correct picker cancellation, native pointer ownership, channel selection and single-parameter pattern edits. Update the Material controls guide, retain the approved Studio Small 09 attribution, and exercise the mask projection through its accessible control.
2026-11-22 22:19:46 +00:00
chasse20 763737a508 Auto: Integrate main and fix projection sampling and Properties edits
Preserve per-selection scrolling when integrating the Fill and Symmetry panels. Keep batched edits and final drag motion in the correct undo step, expire hidden editors and preview textures, and show keyboard focus on Properties controls.

Correct per-copy depth culling, UV footprints, linear-light mip filtering and memory accounting. Preserve cropped-fill coverage through placement and reload. Reject malformed decal dimensions before mutation and reuse mesh bounds within each operation.

Bound preview ray scratch with reusable row batches and clip hidden outlines before generating dashes.
2026-11-22 19:58:41 +00:00
chasse20 a99c37392c Filters: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:04 +00:00
chasse20 71e35ae35c Effects, masks and folders: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:04 +00:00
Rebornim 7d8cbb658a Filters: the stand-ins parts 2-4 kept for the filter panel and the effect blend lookups go 2026-11-22 05:30:04 +00:00
Rebornim 616601d4a9 Temporary: filter effects keep main's filter panel until part 5, and effects read their blend through main's lookups 2026-11-22 05:30:04 +00:00
Rebornim b4d810ddcf Filters: engine evaluation, commands, docs and the remaining tests 2026-11-22 05:30:04 +00:00
Rebornim f49ff387f1 Effects, masks and folders: engine evaluation and the remaining tests 2026-11-22 05:30:04 +00:00
Rebornim 32654f417e Folders and instances: Contents Scale and Rotation, Randomize seeds, the instance's source card 2026-11-22 05:30:04 +00:00
Rebornim 2eeadf2d71 Filters: the filter library and its maths (blur, bevel, glow, drop shadow, baked lighting, gradients, shape filters) 2026-11-22 05:30:04 +00:00
chasse20 0abf2805a8 Material and colour: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:03 +00:00
chasse20 a7d165e029 Fills: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:03 +00:00
Rebornim 5be1193f7b Temporary: the mask fill's source slot and the filter slot use the new picker; main's filter panel stays until part 5 2026-11-22 05:30:03 +00:00
Rebornim 82b981e641 Temporary: the fill's Material section keeps main's channel rows and filter effects main's filter panel 2026-11-22 05:30:03 +00:00
Rebornim ef3ab03243 Masks: Mask Fill with a fill layer's Properties and the Grayscale paint tab 2026-11-22 05:30:03 +00:00
Rebornim b5b99d6fd3 Fills: Material and colour commands, panels and tests 2026-11-22 05:30:03 +00:00
Rebornim 32f848c7c5 Fills: engine evaluation, commands and the remaining tests for the Fill tab 2026-11-22 05:30:03 +00:00
Rebornim 4c8cd40c3d Effects: a content effect blends each channel on its own 2026-11-22 05:30:03 +00:00
Rebornim 5afbbbe08b Fills: the Material section with Material | Channels and linked materials 2026-11-22 05:30:03 +00:00
Rebornim d31604cc97 Properties: the panel keeps its scroll place per layer, titles an effect by its type, and an empty panel shows its note 2026-11-22 05:30:02 +00:00
Rebornim 91310e5a73 Fills: the Fill tab with its preview square, Move on model and section reset 2026-11-22 05:30:02 +00:00
Rebornim 891247db6a Fills: decals are placed planars, and the Warp projection 2026-11-22 05:30:02 +00:00
Rebornim 9be079d6f8 Fills: every projection samples with tiling, rotation and offset, Filtering, UV Wrap and Match per UV Tile 2026-11-22 05:30:02 +00:00
Terra854 eb126f6f59 Account for banded PNG memory in MCMAT cooks (#729) 2026-11-21 13:00:40 -05:00
Dylan M. Taylor 89252a0ebe fix(export): enforce batch-atomic OBJ/GLB/raster publication and parity tests (#722)
* fix(export): enforce batch-atomic OBJ/GLB/raster publication and parity tests

* style(mcmat): use as_chunks::<2> in test

* test(mesh_export): use valid non-black PNG in MTL slot link test

* fix(formats): reserve batch targets and roll back partial renames in write_batch_atomic

* fix(formats): preserve target during backup and report incomplete rollback

* fix(formats): address FredApps & CodeRabbit review on write_batch_atomic

* fix(formats): harden batch rollback, backup mode, and special-file guards

* fix(formats): validate regular file handle in rollback ownership check
2026-11-20 20:12:30 -05:00
FredApps 90d63ca58f fix(formats): propagate shared OBJ writer errors (#703)
* fix(formats): propagate OBJ writer failures before publication

* style: format OBJ result propagation
2026-11-21 00:22:00 +07:00
Dylan M. Taylor 52ba5338dc test(engine): disambiguate parallel materialx test temp dirs (#699) 2026-11-19 21:46:01 -05:00
Chris Hassebrook d895b7e226 Merge pull request #686 from vangel76/feat/ui-batch3-views
View picker, Display Settings, shortcuts, 2D view, Log, templates and Window menu match the reference (combines 10 issues)
2026-11-19 20:52:10 -05:00
Dylan M. Taylor 7bc833ff6a formats: cut over OBJ/GLB mesh export and EXR writing to craft-libs (#697)
* formats: cut over OBJ/GLB mesh export and EXR writing to craft-libs (#778)

* fix(export): use Format::OpenExr for craft-image-codecs

* fix(export): import std::io::Cursor in tests

* test(engine): handle OBJ output without leading header before o

* chore: repin craft-mesh and craft-image-codecs to craft-libs main
2026-11-19 20:43:02 -05:00
chasse20 311bf89885 Auto: Integrate texture export and preserve browser log sources
Keep per-set export settings and case-insensitive filename deduplication. Route browser warnings and completion counts through MapExporter, and retain both the 2D view and texture export parity sections.
2026-11-20 01:19:32 +00:00
chasse20 5c75584c99 Auto: Fix export plans, texture tags, and integer staging
Use first-wins filenames in export plans, match MaterialX tags to the encoded samples, and keep nonempty scaled UDIM tiles at least one pixel wide. Quantize native-order integer rasters directly into bytes to remove the second float buffer.

Validated with formats and engine release tests, formatting, Clippy, layering, Wasm checks, and comparative heap measurements.
2026-11-20 00:37:15 +00:00
chasse20 75239d066e Auto: Reject ambiguous project template names and labels
Use the same collision rules when saving templates and loading library JSON. Preserve canonical-name replacement and require a unique match for display-label lookup.
2026-11-20 00:37:12 +00:00
chasse20 981bc34c50 Auto: Reuse the backing file when replacing a project template
Track library paths on load and after successful saves. Carry them across project switches so pathless replacements update the original JSON file and survive reload.
2026-11-20 00:15:44 +00:00
chasse20 7d276ad502 Auto: Fix PGM metadata and PSD and TIFF export handling
Use the written luminance space in PGM filenames and MaterialX tags. Reject oversized PSD files before resizing and name the independent alpha plane. Write straight-alpha metadata in float TIFFs while preserving float samples and ICC profiles.
2026-11-19 23:52:08 +00:00
chasse20 050ec8c1a8 Auto: Fix save destinations and refresh viewer resources
Honor template and layout destinations, preserve the active layout mode, and update the template library after a successful write. Keep Log copy and selection, rotated fill feedback, and image-view restoration consistent with the visible session.

Refresh lighting when an imported environment changes or disappears. Share image resampling by resolution, skip unused headless uploads, bound tile conversion batches, and avoid cloning trace scenes per row slice. Keep the new display and shortcut types in dedicated files.
2026-11-19 23:38:04 +00:00
chasse20 8d44bbc278 Auto: Preserve export plans and reduce texture export memory
Keep desktop previews and UDIM sizing aligned with writes. Preserve map overrides across template edits, prevent cross-set MaterialX references, validate map options and forward them through MCP. Use the shared PGM and PSD writers and enforce the PSD dimension limit.

Reuse diffusion storage, borrow float TIFF samples, skip padding for empty plans and release ZIP inputs as they are packed. Release browser download URLs and callback references on success and failure. Give export messages original wording and organize new types by file.

Validated with release tests, Clippy, layering, WebAssembly, offscreen UI checks and paired allocation probes.
2026-11-19 23:14:14 +00:00