Background cleanup
Color-to-Alpha un-mixing plus border-versus-enclosed blob erasure removes flat backgrounds while keeping soft edges.
One art pipeline, instead of one per project.
AssetForge is shared .NET tooling for game art: it strips backgrounds from character art, frames portrait crops, and normalizes 3D meshes to a known origin, scale and facing, all from one library and one assetforge command.
What it is
Every game project ends up re-solving the same chores: cut the background off a character illustration, crop a portrait around the face, and fix a downloaded model that is off-centre, the wrong size and facing the wrong way. AssetForge solves each of those once.
The library does the work and a thin CLI exposes it, so each project's own scripts can call one engine instead of carrying their own half-finished copy.
Mesh normalization turns a runtime fix-up into an offline step: import anything AssimpNet reads (FBX, OBJ and more), recenter, rescale to a target length, set the yaw, and export binary glTF. Skinned and animated meshes get a glTF-native path.
Who it's for
MindAttic.AssetForge library from your own pipeline scripts.Features
Color-to-Alpha un-mixing plus border-versus-enclosed blob erasure removes flat backgrounds while keeping soft edges.
Auto, BorderOnly and Skip modes, with fuzz, hole area, border width and dilation as options, for art that needs a lighter touch.
Face and Figure heuristics find a sensible crop for a headshot or a full-body portrait.
Recenter, rescale to a target length and rotate to a yaw, then write a binary .glb.
FBX, OBJ and the other formats AssimpNet imports, with a glTF-native route for skinned and animated meshes.
assetforge clean, assetforge crop and assetforge mesh normalize cover the whole pipeline from a shell.
> assetforge clean hero.png hero-clean.png --mode Auto --fuzz 3
> assetforge crop hero-clean.png --kind Face
> assetforge mesh normalize ship.fbx ship.glb --target-length 1 --yaw 0Part of MindAttic
AssetForge is MindAttic's shared art-pipeline engine: game repos call it from their own CLI wrappers rather than solving background removal, cropping and mesh fix-ups again in every project.
Status
Background cleanup and crop framing feed a game's portrait import pipeline. Mesh normalization is built and tested against a real ship model but not yet wired into a game's loading code.
Auto background mode can misfire on art with fine internal line work; BorderOnly or Skip per file is the intended answer. ImageSharp's licensing must be settled before the package is distributed.
Next step
Guides, reference and design notes are in the searchable MindAttic documentation. The source, issues and history are on GitHub.