AssetForge: Difference between revisions
md2wiki: sync from MindAttic.Docs |
md2wiki: sync from MindAttic.Docs |
||
| Line 2: | Line 2: | ||
<strong>Work in progress.</strong> Shared art-pipeline tooling for MindAttic projects — background/whitespace cleanup, portrait crop framing, and mesh reparent/rescale/reyaw normalization. One engine, consumed by every project's own CLI wrapper instead of re-solved per repo. | <strong>Work in progress.</strong> Shared art-pipeline tooling for MindAttic projects — background/whitespace cleanup, portrait crop framing, and mesh reparent/rescale/reyaw normalization. One engine, consumed by every project's own CLI wrapper instead of re-solved per repo. | ||
== Scope == | |||
In <code>docs/ECOSYSTEM.md</code> (the workspace's source) AssetForge owns the <strong>art pipeline</strong> platform concern: every project's image cleanup, crop framing and mesh normalisation goes through it instead of being re-solved per repo. The complete product is written down in [[AssetForge/SPEC|<code>SPEC.md</code>]]; the current finish line is [[AssetForge/RELEASE|<code>RELEASE.md</code>]]. | |||
== Packages == | == Packages == | ||
| Line 22: | Line 26: | ||
<code>SixLabors.ImageSharp</code> requires a commercial license for Release builds as of the version pinned here (v4) — Debug builds work without one. Resolve this (license, pin to an older Apache-2.0-era version, or swap to a different imaging library) before this package is actually published/distributed. | <code>SixLabors.ImageSharp</code> requires a commercial license for Release builds as of the version pinned here (v4) — Debug builds work without one. Resolve this (license, pin to an older Apache-2.0-era version, or swap to a different imaging library) before this package is actually published/distributed. | ||
== Pages in this repository == | |||
* [[AssetForge/RELEASE|AssetForge — Release charter]] — The shared art pipeline: background cleanup, portrait framing and mesh normalisation, as one library and one CLI every MindAttic project… | |||
* [[AssetForge/SPEC|AssetForge — Product specification]] — In docs/ECOSYSTEM.md AssetForge owns the art pipeline platform concern. It is one engine (MindAttic.AssetForge) and one command line… | |||
<div class="md2wiki-source">From [https://github.com/mindattic/AssetForge/blob/main/docs/overview.md AssetForge/docs/overview.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.</div> | <div class="md2wiki-source">From [https://github.com/mindattic/AssetForge/blob/main/docs/overview.md AssetForge/docs/overview.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.</div> | ||
[[Category:AssetForge]] | [[Category:AssetForge]] | ||
Revision as of 19:43, 30 November 2026
AssetForge
Work in progress. Shared art-pipeline tooling for MindAttic projects — background/whitespace cleanup, portrait crop framing, and mesh reparent/rescale/reyaw normalization. One engine, consumed by every project's own CLI wrapper instead of re-solved per repo.
Scope
In docs/ECOSYSTEM.md (the workspace's source) AssetForge owns the art pipeline platform concern: every project's image cleanup, crop framing and mesh normalisation goes through it instead of being re-solved per repo. The complete product is written down in SPEC.md; the current finish line is RELEASE.md.
Packages
MindAttic.AssetForge— the library.- Background cleanup (Color-to-Alpha un-mixing, border-vs-enclosed blob erasure).
- Portrait crop framing (
face_crop/figure_cropheuristics). - Mesh normalization (reparent/recenter, rescale to a target length, yaw) — generalizes
UnitySolarSystem'sShipModels.Normalise()runtime fix-up into an offline step; imports anything AssimpNet reads (fbx, obj, ...), exports binary glTF (.glb).
MindAttic.AssetForge.Cli(assetforge) — command-line wrapper over the library:assetforge clean <input.png> <output.png> [--fuzz 3] [--hole-area 2] [--mode Auto|BorderOnly|Skip] [--border-width 12] [--dilate 2] assetforge crop <input.png> [--kind Face|Figure] assetforge mesh normalize <input> <output.glb> [--yaw 0] [--target-length 1] [--no-recenter] [--no-scale]
Status
First consumer: GridGameGaiden's new-portrait import pipeline. Mesh normalization is built and tested (including against a real UnitySolarSystem ship FBX, read-only — nothing in that repo has been changed yet) but not yet wired into any game's actual loading code or asset set.
Known limitation
BackgroundMode.Auto's small-enclosed-blob erasure can still misfire on art with fine internal line work (crosshatching, panel cracks) that are a similar stroke width to the subject's own outline — the lines can fragment one large pale region into many small, individually "small enough" pockets. There is no general automatic fix for this that doesn't risk bridging real background through the outline itself (tried and reverted — see git history); per-file review and a BorderOnly/Skip mode override remains the intended answer for images that hit this.
Licensing note
SixLabors.ImageSharp requires a commercial license for Release builds as of the version pinned here (v4) — Debug builds work without one. Resolve this (license, pin to an older Apache-2.0-era version, or swap to a different imaging library) before this package is actually published/distributed.
Pages in this repository
- AssetForge — Release charter — The shared art pipeline: background cleanup, portrait framing and mesh normalisation, as one library and one CLI every MindAttic project…
- AssetForge — Product specification — In docs/ECOSYSTEM.md AssetForge owns the art pipeline platform concern. It is one engine (MindAttic.AssetForge) and one command line…