* fix(formats): raise Alembic nesting depth limit from 64 to 256
* test(formats): avoid unwrap_err on RawMesh in abc depth test
* test(formats): assert depth error message in abc nesting test
* 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
* test(formats): fix XML selector in dae_preserves_multiple_cameras_on_one_node
* test(formats): assert multi-camera count and projections without name coupling
* fix(formats): preserve multiple COLLADA node cameras and avoid O(N) glTF material lookup
* perf(formats): index high-poly base colors by material name
Use craft-mesh material_names for companion MTL declarations and verify control-character collisions retain correct material and texture bindings.
Validated exact source with Linux and Windows formats tests, regression red/green, Linux workspace lint/tests and separate complete WASM checks, and default release-profile formats tests. The aggregate diagnostic timed out during WASM; its successful follow-up is separately documented in the PR. Normal main CI and Sonar remain enabled.
* 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
* formats: cut over USDA/USDC scene read/write to craft-usd (storytold/craft-libs#778)
* chore: update Cargo.lock for craft-usd
* chore: update craft-usd pin to 5161fcc (storytold/craft-libs#778)
* chore: repin craft-usd to craft-libs main
* formats: cut over COLLADA (.dae) and Alembic (.abc) import to craft-mesh
* chore: bump craft-mesh to 809a72e
* chore: bump craft-mesh pin to 5415dfe
* chore: repin craft-mesh to craft-libs main
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.
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.
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.
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.
Pass dithered and quantized samples to the shared Craft encoders. Preserve PGM colour-space metadata, PSD sizing and separate alpha, and float TIFF layout, straight alpha, and ICC profiles.
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.
Bring in the shared glTF reader, GLB writer, mesh-map PNG encoder, and texture encoders from main at e099725. The branches merged cleanly and the approved PR repairs are preserved.
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.
* formats: cut over glTF import, GLB container, MCMAT 16-bit PNG, and export encoding to craft-libs
* export: replace unreachable! with error for clippy
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.
- Session::export_files leaves out a later set's file named like an earlier one's (with a
warning on the kept file), so file.exportTextures, the automation textures.export and the
browser zip share it; the left-out file's own warnings go with it.
- An empty file type override removes the global file type from the set's parameters.
- A running export keeps the template content it started with.
- Moves of an unfinished draft are forgotten when the template is saved elsewhere.
- Texture sets that leave a running export leave its count.
- Export takes each texture set's parameters and the output folder when it is clicked; later
edits do not reach the running export. Export is greyed with no texture set ticked.
- Two texture sets that would write the same file name stop the export before it starts (UI);
file.exportTextures skips a file named like one an earlier set of the same call exports, with
a warning, instead of replacing it.
- Closing the window stops the export before it writes another set; opening another project
stops it, and a set that moves takes its pending export along.
- Per-map overrides follow their map when the template's maps are moved or removed.
- Cancel after texture sets moved, Reset all, and settings saved before they had an owner keep
the ticks and overrides.
- A set's file type override starts from the template's type when its maps share one.
- PGM luminance is taken before the colour space conversion.
- The Output templates footer counts the maps the current set exports.
- Use a 128 px sample session in the unlit-switch test (main requires 128 or more)
- Drop a deferred Other... view whose image was removed during a bake
- Keep the neutral material of lit Metallic/Roughness views when spec/gloss is on
- Resend the shown Image view after texture sets are recreated
- Drop the default search query only at a word boundary
- Restart the render when the display background changes
- Document when viewport.frame resets the 2D view
Combines issues #675, #676, #677, #678, #679, #682, #683, #680, #681 and #684.
- View mode combo with section titles, reference names, Other... image picker and an unlit switch
- Display Settings: environment picker grid and drop slot, reference slider ranges, background color, environment alignment, shadow computation mode and opacity
- Settings > Shortcuts with sections, Reset all to default, Delete to clear and conflict warnings; reference action names and default keys
- 2D view: rotate, snap rotate, drag zoom, F reset, wider zoom limits, UV tile grid, numbers, hover label and one mesh wireframe switch
- Log panel with sources, level colours, selection, copy and clear; the exported log keeps each entry's time, level and source
- Save as template, reference template names and a remembered template
- Window menu with Toolbars, per-mode layouts, Hide UI check mark and views per mode