Commit Graph
1119 Commits
Author SHA1 Message Date
Rebornim eeeb27013d Properties: the shared sheet controls (rows, bands, sliders, number fields that hold the pointer, switches, picture dropdowns, section tabs) 2026-11-22 05:30:02 +00:00
chasse20 eb362a790e Panel shell: review repairs from #698
Chasse's repairs to the panel shell, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:02 +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 c6ab3aa586 Popups: a press outside a popup closes it when it turns into a drag; Properties keeps a minimum width 2026-11-22 05:30:02 +00:00
Rebornim 80072b2b05 Panels: one header bar per docked panel, its close button and the group tab boxes 2026-11-22 05:30:02 +00:00
Dylan M. Taylor b2c18f57e3 Merge pull request #752 from Terra854/refactor/shared-cooked-png
formats: use shared PNG decoding for linked-material cooks
2026-11-21 20:01:09 -05:00
Terra854 cfb94811eb formats: decode cooked linked PNGs through the shared codec 2026-11-22 06:47:48 +08:00
Terra854andDylan M. Taylor 391c98afa2 Decode imported PNG resources with the shared codec (#733)
* Decode imported PNG resources with the shared codec

* Preserve exact luminance and RGB sample conversion

* fix(formats): preserve texel limit error message for imported PNGs

---------

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-21 13:34:41 -05:00
Terra854 eb126f6f59 Account for banded PNG memory in MCMAT cooks (#729) 2026-11-21 13:00:40 -05:00
Dylan M. Taylor fe8ee1bdb0 fix(formats): raise Alembic nesting depth limit from 64 to 256 (#728)
* 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
2026-11-21 02:59:27 -05:00
FredApps 29f6a79d56 test(formats): cover mixed glTF primitive UVs (#724) 2026-11-21 10:09:31 +07:00
Dylan M. Taylor c2632339f8 perf(formats): remove remaining O(N^2) lookups in glTF import and mesh geometry (#720) 2026-11-20 21:08:20 -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 b0bc66c7cf test(formats): verify authored USD world-space bounds (#723) 2026-11-21 07:44:37 +07:00
Terra854andFredApps 51aa492dc2 fix(formats): restore GLB texture filtering (#717)
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-21 07:36:53 +07:00
Dylan M. Taylor a64cbdb48e test(formats): prove USDA/USDC parity, limits, warnings, and USDZ round trips (#778) (#721)
* test(formats): prove USDA/USDC parity, limits, warnings, and USDZ round trips (#778)

* test(formats): exercise MAX_PRIM_VISITS in usd_decoded_limits test
2026-11-20 18:35:42 -05:00
Terra854 fca28d7ba5 fix(formats): preserve Alembic mesh archive order (#719) 2026-11-21 06:27:44 +07:00
Dylan M. Taylor b2775bfa48 test(formats): fix XML selector in dae_preserves_multiple_cameras_on_one_node (#716)
* test(formats): fix XML selector in dae_preserves_multiple_cameras_on_one_node

* test(formats): assert multi-camera count and projections without name coupling
2026-11-20 16:05:44 -05:00
Dylan M. Taylor cf37994744 fix(formats): preserve multiple COLLADA node cameras and optimize glTF material lookup (#715)
* fix(formats): preserve multiple COLLADA node cameras and avoid O(N) glTF material lookup

* perf(formats): index high-poly base colors by material name
2026-11-20 14:31:52 -05:00
Dylan M. Taylor 2bbd2625bf Merge pull request #714 from FredApps/fix/778-collada-material-names
fix(formats): preserve empty COLLADA material bindings
2026-11-20 14:20:03 -05:00
FredApps f1c4ed1c2a fix(formats): preserve empty COLLADA material bindings 2026-11-20 19:35:40 +01:00
Dylan M. Taylor 9be964a00e fix(formats): align glTF, COLLADA, and Alembic import limits and material/error parity (#711) 2026-11-20 13:19:08 -05:00
FredApps 2971e3d8e6 test(formats): retain crafted USDC mesh acceptance (#704) 2026-11-21 00:24:02 +07: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
Chris Hassebrook 16317e98fa Merge pull request #702 from aiongg/agents-md-mcmat
AGENTS.md: .mcmat goes through the shared craft-mcmat crate
2026-11-20 10:07:23 -05:00
Terra854 c05087ced0 test(formats): cover luminance and alpha EXR exports (#706) 2026-11-20 21:00:39 +07:00
Terra854 55a7f085ee fix(formats): preserve JPEG texture chroma (#705) 2026-11-20 21:00:09 +07:00
aiongg aa47302148 State that .mcmat goes through the shared craft-mcmat crate 2026-11-20 06:10:30 +00:00
Chris Hassebrook fde68a0fc6 Merge pull request #700 from aiongg/shared-agents-md
Adopt the shared AGENTS.md (RFC-0072)
2026-11-20 01:04:53 -05:00
FredApps 0bbc113989 fix(formats): align OBJ companion material identifiers (#701)
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.
2026-11-20 11:56:22 +07:00
aiongg 1b7aee78dc Drop local rule links and instructions 2026-11-20 03:16:14 +00:00
aiongg 5c2e6d2514 Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071) 2026-11-20 03:15:18 +00: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
Dylan M. Taylor 549daad3aa formats: cut over USDA/USDC scene read/write to craft-usd (#778) (#696)
* 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
2026-11-19 20:40:23 -05:00
Dylan M. Taylor 75271b3934 formats: share COLLADA (.dae) and Alembic (.abc) import via craft-mesh (#695)
* 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
2026-11-19 20:40:17 -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
Chris Hassebrook 1d3686f5fe Merge pull request #685 from vangel76/feat/ui-batch3-export
Export window: per-set and per-map overrides, more file types, progress console (combines 6 issues)
2026-11-19 20:02:07 -05:00
Dylan M. Taylor 486f0b7ca5 Merge pull request #693 from Terra854/fix/shared-resource-png
Use shared PNG encoding for generated resources
2026-11-19 19:44:09 -05: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 daf3d1f0b3 Auto: Integrate main's raster codecs with texture export
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.
2026-11-20 00:02:46 +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 0c459e82d0 Auto: Integrate main's shared format codecs for PR #686
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.
2026-11-19 23:46:48 +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
Dylan M. Taylor e099725db4 formats: cut over glTF import, GLB container, MCMAT 16-bit PNG, and export encoding to craft-libs (#694)
* formats: cut over glTF import, GLB container, MCMAT 16-bit PNG, and export encoding to craft-libs

* export: replace unreachable! with error for clippy
2026-11-19 18:32:28 -05: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
Terra854 c95880f9c8 Route generated resource PNGs through the shared codec 2026-11-20 07:05:36 +08:00