Commit Graph
98 Commits
Author SHA1 Message Date
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 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
chasse20 c344ddc2e3 Auto: Integrate main and preserve pending Settings edits
Integrate main’s shared raster codecs for desktop icons, screenshot PNGs, and mesh base-color textures. Preserve the approved Settings draft reconciliation and its regression tests.
2026-11-19 05:37:26 +00:00
Dylan M. Taylor 51c3f6441d chore: cut over runtime raster image codecs to craft-image-codecs (#668)
* chore: cut over runtime raster image codecs to craft-image-codecs

* fix(formats): move inline mesh_import test into tests.rs

* fix(engine): simplify nonminimal_bool in user_brushes.rs

* fix(ui-egui): simplify nonminimal_bool in link_import.rs

* fix(formats): use as_chunks::<4>() in mesh_import for clippy

* fix: preserve mesh texture orientation and resize precision
2026-11-18 22:15:08 -05:00
chasse20 4ff9cab867 Auto: Integrate main and fix UI state, bake reporting, and export plans
Preserve main's procedural patterns and linked-material changes. Keep camera navigation, pending dialogs, Settings drafts, shortcut capture, and shelf contents consistent across project and UI state changes.

Mark persisted panel edits as modified. Accept existing bake settings in presets, count newly baked maps, and open failed bakes on the General log channel. Record log times and severity when each event occurs.

Reuse selected export plans, move completed JSON results into place, and avoid copying cached shelf paths or building unused preset catalogs. Add regression coverage and update the control protocol examples.
2026-11-19 01:47:14 +00:00
Chris Hassebrook 68b579f0c8 Cook MCMAT v3 linked materials at the texture set resolution (#644)
* Cook MCMAT v3 linked fills through MaterialCraft

* Install bounded material bakes at the original drop target
2026-11-18 18:57:44 -05:00
Dylan M. Taylor d7739b0645 Use shared strict glTF URI percent decoding 2026-11-18 01:59:37 -05:00
Dylan M. Taylor 1ebf800134 Merge current main into aligned ZIP pin follow-up 2026-11-17 13:02:43 -05:00
Dylan M. Taylor bee2791eb9 chore(usdz): pin aligned ZIP writer to merged revision 2026-11-17 07:45:44 -05:00
chasse20 8e31ddf7ff Auto: Reconcile PBR import with updated roadmap 2026-11-17 06:46:10 +00:00
chasse20 f764ac4e5f Auto: Integrate main and bound PBR import work and memory
Preserve main UI and translation changes. Bound archive indexing, directory scans and native reads; fix resolution-token overflow, unique-name replies and dialog behavior.

Avoid generated-map re-decoding and input-buffer clones, release packed sources after their final use, and borrow dialog candidates. Keep generated pixels identical to PNG reloads. Organize new types and preserve the public classifier module.

Validated with 973 release tests, focused UI and allocation probes, panic hunt, clippy, layering, wasm, formatting and diff checks.
2026-11-17 06:29:22 +00:00
Dylan M. Taylorandbflatastic 9d7077601b Use shared aligned stored ZIP entries for USDZ export
Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-16 23:26:09 -05:00
FredApps 1e3ebf9e5e Merge main into codex/shared-obj-consumer 2026-11-16 10:38:51 +01:00
FredApps 8dabdd37ea Merge main into codex/shared-obj-consumer
craft-mesh stays at 284b0d81 (#1731 head, now an ancestor of craft-libs main;
same ply/stl sources as main's d6ed8c20) with main's PLY feature added; tobj
stays removed.
2026-11-16 09:44:52 +01:00
FredApps 3ec5734fe0 Merge main into codex/shared-fbx-consumer
Repin craft-mesh from integration commit d0abb877 (not on craft-libs main)
to 4f9c7189, the craft-libs main commit with the identical tree
(2ffca004), keeping main's PLY feature and pins.
2026-11-16 09:44:19 +01:00
FredApps 87d617b728 Merge main into refactor/shared-usd-integer-write 2026-11-16 08:39:13 +01:00
FredApps 18b3343716 Merge main into refactor/shared-usd-lz4-write 2026-11-16 07:59:30 +01:00
FredApps af78121279 Merge main into refactor/shared-usd-integers 2026-11-16 07:26:28 +01:00
FredApps 09a6738d43 Merge pull request #531 from storytold/refactor/shared-usd-lz4
Use shared bounded USD Crate LZ4 decoding
2026-11-16 07:25:37 +01:00
Chris Hassebrook 99b16c7c3e Merge pull request #413 from Rebornim/feat/bake-mode-pass
Bake mode pass 1: Baking Visualization, neutral material, settings and pre-bake checks
2026-11-16 01:07:38 -05:00
FredApps 55a3dee2ed Merge main into refactor/shared-usd-lz4 2026-11-16 06:47:58 +01:00
FredApps 51281f4e64 Merge pull request #529 from storytold/refactor/shared-icc-v2
Use shared ICC v2 serialization for exported colour profiles
2026-11-16 06:41:33 +01:00
chasse20 44079ecab5 Auto: Integrate main while preserving bake visualization
Merge main at cce9ada while retaining the saved bake repairs and layout. Resolve docking, module, and viewport overlaps with the new Assets shelf and tool-availability behavior.
2026-11-16 00:32:06 +00:00
Dylan M. Taylor 1683a2c63c Pin shared ICC writer to merged prerequisite 2026-11-15 17:03:57 -05:00
Dylan M. Taylorandbflatastic 8a1baa35ac Use bounded shared USD integer delta encoding
Preserve packed wire values and propagate bounded scratch/output allocation failures through USD export.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 15:35:21 -05:00
Dylan M. Taylorandbflatastic 939b12bfd0 Use fallible shared USD Crate LZ4 writing
Propagate compression errors through USD writer values, sections and finish. Bound worst-case output reservation by the existing 2GiB app ceiling; preserve normal wire bytes and scene policy.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 15:18:23 -05:00
Dylan M. Taylorandbflatastic 8003210b64 Use shared bounded USD integer delta decoding
Keep the existing aggregate decoded byte budget, integer writer and scene mapping. Depends on craft-libs #1742 and TextureCraft #531.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 15:10:14 -05:00
Dylan M. Taylorandbflatastic 646fa2e454 Use shared USD Crate LZ4 decompression
Preserve TextureCraft scene/material policy, integer packing and writing; replace only bounded LZ4 framing reads. Depends on craft-libs #1738.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 14:50:57 -05:00
ecf313f325 Use shared ICC v2 profile serialization for texture exports
Retain SteamSmith original writer as a test-only wire oracle, including bflatastic is_multiple_of cleanup. Colour adaptation, sampling, names and fixed timestamp remain local policy.

Co-authored-by: SteamSmith <341182916+SteamSmith@users.noreply.github.com>

Co-authored-by: bflatastic <bflat@storyteller.ai>
2026-11-15 14:29:05 -05:00
Dylan M. Taylor e664e65d94 Use shared OBJ reader 2026-11-15 19:16:46 +00:00
Dylan M. Taylor b81a54228f Preserve FBX placement and polygon order 2026-11-15 19:10:16 +00:00
Dylan M. Taylor e2ff5144cd Bound FBX color seam staging 2026-11-15 18:58:03 +00:00
Dylan M. Taylor 9fa832274a Adopt FBX integration lint fixes 2026-11-15 18:55:20 +00:00
Dylan M. Taylor b6115309aa Preserve FBX object connection handling 2026-11-15 18:51:13 +00:00
Dylan M. Taylor 4b0621384e Bound shared binary FBX allocations 2026-11-15 18:48:50 +00:00
Dylan M. Taylor fa817f8592 Preserve FBX material slot behavior 2026-11-15 18:46:16 +00:00
Dylan M. Taylor f22c9d31a5 Preserve FBX parent connection precedence 2026-11-15 18:44:07 +00:00
Dylan M. Taylor 5a70a033cc Use strict shared FBX record parsing 2026-11-15 18:41:48 +00:00
Dylan M. Taylor a5fb695381 Preserve strict FBX geometry behavior 2026-11-15 18:38:53 +00:00
Dylan M. Taylor 6e8d421260 Use shared FBX scene and package readers 2026-11-15 18:34:52 +00:00
Dylan M. Taylor e1d4f99da1 Pin shared project codecs to merged craft-libs 2026-11-15 16:48:44 +00:00
Dylan M. Taylor b1cdd04487 Adopt shared ZIP64 entry-count guard fix 2026-11-15 15:47:19 +00:00
Dylan M. Taylor 97ace7050b Merge remote-tracking branch 'origin/main' into codex/tcraft-payload-cutover
# Conflicts:
#	Cargo.lock
#	crates/formats/Cargo.toml
2026-11-15 14:03:06 +00:00
Dylan M. Taylor 0e218bd23e Use shared seekable ZIP archive checks 2026-11-15 13:51:20 +00:00
Dylan M. Taylor 6028051a40 Update shared project schema pin 2026-11-15 13:44:48 +00:00
Dylan M. Taylor 267eff5c1e Pin merged shared material format 2026-11-15 13:08:27 +00:00
Dylan M. Taylor 1d0f9665f9 Use shared project version parser 2026-11-15 12:46:12 +00:00
Dylan M. Taylor f40dc84f72 Use shared streaming project tile payloads 2026-11-15 12:28:11 +00:00