Forge Ultimate
C++20 and Apple Metal 3D authoring compiler with Reference Studio review boards and landscape packaging.
Native C++20 and Apple Metal 3D compiler extending Forge with Forge Reference Studio markup boards, cloth-cut and fraying tools, motion-matching indices, and engine-ready landscape/character packaging.
Planned repo: BestRoiMedia/forge-ultimate (MIT)Why we built it
AI agents authoring 3D assets need deterministic geometric measurements, physics validation, and a structured way for human reviewers to mark up reference overlays without opening a traditional DCC.
Architecture & how it works
Accepts declarative .forge recipes via CLI or a persistent JSON-lines stdin/stdout session. Compiles CSG solids via Manifold, runs Jolt Physics XPBD cloth draping and CharacterVirtual checks, bakes PBR atlases with Metal hardware raytracing, and exports glTF 2.0 or engine-ready bundles.
Key capabilities
- Declarative .forge recipe compiler with dimensional units, sockets, and volumetric weathered stone
- Persistent JSON-lines agent protocol (hello, check, explain) for incremental mesh reuse
- Forge Reference Studio macOS app for calibrated overlap/edge markup and trace comparison
- Cloth authoring with cloth_layer, reference-guided cloth_cut, and cloth_fray hem geometry
- Textured surface-audit, mesh_integrity, and visible_path pinhole/seam checks
- Landscape wind/weather capture (land capture) and engine packaging (land package, character_package, crowd_bake)
- Motion-matching index builder (motion-index) and anatomical pose-limit verification
Usage example
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j 8
build/forge-ultimate run examples/weathered_pillar.forge --out ./out/pillar
build/forge-ultimate surface-audit ./character.glb --contract ./surface-contract.json
echo '{"cmd":"check","recipe":"examples/weathered_pillar.forge","fields":["/asset","/total_triangles"]}' | build/forge-ultimate