93 Commits
Author SHA1 Message Date
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
Dylan M. Taylor f69f54f161 Merge pull request #416 from SteamSmith/fix/365-quad-tangents
Generate MikkTSpace tangents on the original quads
2026-11-18 14:51:24 -05:00
Dylan M. Taylor deaac7df55 fix(geom): avoid unnecessary tangent face allocation 2026-11-18 13:55:52 -05:00
Dylan M. Taylor 274504584e Merge pull request #546 from storytold/fix/mcmat-decoded-budget-current
Bound decoded linked-material maps without reverting shared MCMAT
2026-11-18 09:47:46 -05:00
Dylan M. Taylor b9c5ff8624 Merge remote-tracking branch 'origin/main' into pr-546 2026-11-18 09:12:57 -05:00
Dylan M. Taylor 4651e7dee0 Merge pull request #487 from MorionTutoriales/investigate/id-map-481
Preserve separate OBJ parts with matching names for Submesh ID baking
2026-11-18 06:13:25 -05:00
Dylan M. Taylor c77e1793a5 Merge pull request #643 from storytold/refactor/gltf-strict-uri
Use shared strict glTF URI percent decoding
2026-11-18 05:10:40 -05:00
Dylan M. Taylor d7739b0645 Use shared strict glTF URI percent decoding 2026-11-18 01:59:37 -05:00
Dylan M. Taylor 8b46864f2c Merge remote-tracking branch 'origin/main' into fix/mcmat-decoded-budget-current 2026-11-17 13:53:38 -05:00
Dylan M. Taylor 8347da6e93 Merge pull request #556 from storytold/chore/usdz-merged-pin
chore(usdz): pin aligned ZIP writer to merged revision
2026-11-17 13:53:12 -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 5d201d6c02 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/link_cmds.rs
2026-11-17 08:11:53 -05:00
Dylan M. Taylor bee2791eb9 chore(usdz): pin aligned ZIP writer to merged revision 2026-11-17 07:45:44 -05:00
Dylan M. Taylor 9c1b9cbc7b Merge pull request #542 from vangel76/fix/bent-normal-tangent-538
Bent normal maps bake in tangent space, so materials and imported maps read them correctly
2026-11-17 07:19:04 -05:00
Dylan M. Taylor 2cf9947963 Merge pull request #537 from vangel76/fix/curvature-edge-wear-515
Curvature and edge wear stay even on rounded surfaces at every bake size
2026-11-17 07:18:01 -05: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
Dylan M. Taylor 1e9194d9a6 ci: let Dependabot maintain GitHub Actions dependencies (#448) 2026-11-16 21:59:54 -05:00
Dylan M. Taylor fef301cf58 Merge pull request #336 from Silvertree2010/fix/h8573-collada-import-keeps-xml-entitie
Decode XML entities in COLLADA attribute values and text
2026-11-16 21:23:33 -05:00
Dylan M. Taylor 7ff482a33c Merge pull request #339 from Silvertree2010/fix/h8871-hex-colour-parser-accepts-signs
Reject signs and extra digits in hex colour strings
2026-11-16 19:39:09 -05:00
Dylan M. Taylor 3fd646d9e5 test(engine): preserve shared SBS imports under decode budget
Reuse the existing per-resource cap and clarify that the aggregate bound is memory policy rather than a count of supported channels.
2026-11-16 19:23:48 -05:00
Dylan M. Taylor 5913ee3584 docs: prefer shared Craft libraries for reusable code 2026-11-16 06:27:28 -05: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. Taylor 8baac1d5d2 Merge pull request #519 from storytold/codex/tcraft-payload-cutover
Use shared streaming project tile payloads
2026-11-15 15:20:56 -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
7f40386c97 Reuse shared PLY body decoding without changing strict import policy
Keep the app header grammar, geometry and colour interpretation while replacing the local scalar and endian reader with craft-mesh Rows.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
Co-authored-by: NetterSilver <133535268+Silvertree2010@users.noreply.github.com>
2026-11-15 14:38:33 -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 da1e2df96d Keep root FBX model names 2026-11-15 19:02:01 +00:00
Dylan M. Taylor 12168ad475 Bound FBX root traversal allocation 2026-11-15 19:01:25 +00:00
Dylan M. Taylor 59a7c022a1 Bound FBX hierarchy traversal memory 2026-11-15 19:01:11 +00:00
Dylan M. Taylor e2ff5144cd Bound FBX color seam staging 2026-11-15 18:58:03 +00:00
Dylan M. Taylor e6c149cbd6 Simplify shared FBX camera selection 2026-11-15 18:56:07 +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 48885c910f Ignore unused cyclic FBX models 2026-11-15 18:49:20 +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 cf85d478a2 Keep FBX cameras in file order 2026-11-15 18:42:20 +00:00
Dylan M. Taylor 5a70a033cc Use strict shared FBX record parsing 2026-11-15 18:41:48 +00:00
Dylan M. Taylor 8d593fdebe Keep FBX UV layers with missing corners 2026-11-15 18:39:42 +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 0e61cb2ee5 Merge branch 'main' of https://github.com/storytold/texturecraft into codex/tcraft-payload-cutover
# Conflicts:
#	Cargo.lock
#	Cargo.toml
2026-11-15 18:18:13 +00:00
Dylan M. Taylor 1f65d4ca4c Merge pull request #522 from storytold/codex/zip-guard-pin
Adopt shared ZIP64 entry-count guard fix
2026-11-15 12:09:28 -05: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 1a2425ded0 Merge pull request #516 from storytold/codex/shared-mcmat-consumer
Share portable materials and preserve SBS links
2026-11-15 08:57:10 -05: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 4864fbbc78 Test shared schema against native project documents 2026-11-15 13:01:22 +00:00
Dylan M. Taylor b02a3ab44a Exercise linked material cooks under coverage 2026-11-15 12:56:36 +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
Dylan M. Taylor dfd755e87d Merge remote-tracking branch 'origin/main' into codex/shared-mcmat-consumer
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/formats/Cargo.toml
2026-11-15 11:45:36 +00:00
Dylan M. Taylor 0d90953467 Share portable materials and preserve SBS links 2026-11-15 11:44:04 +00:00
Dylan M. Taylor c3f6b6f87b Merge pull request #488 from storytold/codex/778-stl-cutover
Move TextureCraft STL and MaterialX parsing to craft-libs (#778)
2026-11-15 06:42:18 -05:00
Dylan M. Taylor 32380b0dc5 Preserve MaterialX displacement tiling 2026-11-15 11:05:14 +00:00
Dylan M. Taylor ff09793577 Merge pull request #513 from storytold/codex/texturecraft-coverage-preview
Allow instrumented high-DPI preview to settle
2026-11-15 05:58:30 -05:00
Dylan M. Taylor 5d698625af Merge remote-tracking branch 'refs/remotes/origin/codex/texturecraft-coverage-preview' into HEAD 2026-11-15 10:24:36 +00:00
Dylan M. Taylor d7e534a657 Recognize explicit coverage compiler flags 2026-11-15 10:24:24 +00:00
Dylan M. Taylor 5f008e7272 Preserve TextureCraft STL vertex limits 2026-11-15 10:21:25 +00:00
Dylan M. Taylor c50032e8b2 Merge remote-tracking branch 'refs/remotes/origin/codex/texturecraft-coverage-preview' into HEAD 2026-11-15 10:00:59 +00:00
Dylan M. Taylor e897991533 test: allow instrumented high-DPI preview to settle 2026-11-15 09:59:44 +00:00
Dylan M. Taylor 75a3af1b62 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-15 09:57:40 +00:00
Dylan M. Taylor 75502053db formats: stop copying whole OBJ and glTF inputs before parsing (#503)
* formats: stop copying whole OBJ and glTF inputs before parsing

* formats: format the mesh-import copy changes
2026-11-15 04:18:22 -05:00
Dylan M. Taylor 9ed81da8cb formats: account for the USDC path table's real allocation (#507)
The PATHS table charged 64 bytes per entry but allocates Option<PathEl> (about 80), letting a small declared count exceed the decoded-byte budget, and had no entry ceiling. Charge the real element size and cap the table at four million paths.
2026-11-14 17:28:04 -05:00
Dylan M. Taylor 0fa3a392fd formats: create atomic-write temps exclusively so a planted symlink is never followed (#502) 2026-11-14 17:23:06 -05:00
Dylan M. Taylor 73083d418a formats: cap default resource image decode at 64 M texels (#506)
Imported images still used the 16384-pixel edge limit with no texel ceiling, so a small 16k square PNG expanded to multi-gigabyte RGBA f32 buffers. Default resource decoding now refuses more than 8192 square texels from the header, and the engine import path uses the same budget.
2026-11-14 17:02:27 -05:00
Dylan M. Taylor b89badcd6f Budget the total payload of one .mcmat (#499)
* formats: budget the total payload of one .mcmat

* formats: format the .mcmat map-limit test
2026-11-14 15:42:13 -05:00
Dylan M. Taylor 1bf3707aec Cover interleaved STL color part order 2026-11-13 06:41:49 +00:00
Dylan M. Taylor bf25c1c536 Move TextureCraft STL parsing to craft-mesh 2026-11-13 06:33:26 +00:00
Dylan M. Taylor 4fd1b33c3c Use shared MaterialX parser and writer 2026-11-13 05:53:14 +00:00
Dylan M. Taylor 55015a7631 Fix Flatpak updates and bump to 0.6.1 (#426)
* fix(flatpak): allow release checks and self-update helpers

* test: keep Flatpak permission parsing within strict Clippy rules

* chore: bump version to 0.6.1 for the Flatpak update fix

* fix(flatpak): honor the launcher version choices
2026-11-11 18:38:56 -05:00
Dylan M. Taylor 5303e98398 Merge pull request #424 from storytold/chore/craft-update-6e03f65
Updates: take craft-update from craft-libs main at 6e03f65bf
2026-11-11 12:45:16 -05:00
Dylan M. Taylor 5b997827bf Updates: take craft-update from craft-libs main at 6e03f65bf 2026-11-11 12:45:10 -05:00
Dylan M. Taylor 21b3046648 packaging: use [[ for bash tests (SonarCloud S7688) (#403)
* packaging: use [[ for bash tests (SonarCloud S7688)

Behaviour-preserving: `[[ ]]` in place of `[ ]` for bash tests (SonarCloud shell:S7688). Every script has a bash shebang; no test uses `-a`/`-o`, escaped parentheses or an unquoted pattern on the right of `=`. `bash -n` passes on each script; the rest is left to CI.

Clears all 70 open issues: `packaging/{linux,macos,freebsd,web}/*.sh`.

* packaging/web: parse the wasm size override as base 10 under [[

Inside [[ ]], -gt evaluates its operands arithmetically: a leading zero reads as octal and other text as an expression. Read the override as a base-10 number, as photocraft does.
2026-11-10 18:58:27 -05:00
Dylan M. Taylor f5e41e759f docs: add SonarCloud badge to README (#371) 2026-11-09 10:09:43 -05:00
Dylan M. Taylor b09d51fd7e Merge pull request #367 from dotCooCoo/feat/self-updater
Updates: Help > Check for Updates and a check at start
2026-11-09 00:00:59 -05:00
Dylan M. Taylor a09297feb9 Pass the Linux signing key to the release workflow (#242) 2026-11-04 17:45:29 -05:00
Dylan M. Taylor 347bda840d Release TextureCraft 0.3.1 2026-11-04 12:34:09 -05:00
Dylan M. Taylor 4c4f71330f Honor release version in packaging 2026-11-04 12:30:01 -05:00
Dylan M. Taylor faa698a70f Enable Flatpak OCI publishing 2026-11-04 12:29:02 -05:00
Dylan M. Taylor 37ad2112ca ci: add SonarCloud analysis 2026-11-04 09:47:51 -05:00
Dylan M. Taylor bf03e6ad2f Retry macOS stapling and validation (#36) 2026-11-01 12:48:06 -05:00
Dylan M. Taylor 95cb8f086d docs: sync Craft App Suite list with ArtCraft Launcher 2026-11-01 12:30:09 -05:00
Dylan M. Taylor 46ada335b0 Use shared Craft workflows and support cross packaging 2026-11-01 00:52:48 -04:00