Skip to main content
Built by Best ROI MediaMITWave 4 · LiveBestRoiMedia/bestroi-game-tools

Forge

Headless C++20 and Apple Metal 3D authoring compiler built strictly for AI agents.

Pure CLI and JSON-lines 3D asset compiler with zero Blender or Python runtime dependencies—supporting polygon-free mathematical anatomy, multi-view sheet reconstruction, 4D living entities, auto-rigging, and Metal raytraced PBR baking.

View on GitHub ↗
Quick clonegit clone https://github.com/BestRoiMedia/bestroi-game-tools.git
GitHub repositoryBestRoiMedia/bestroi-game-tools
Module path_tools/forge/
LicenseMIT
Release waveWave 4
LanguagesC++20 · Objective-C++ · Metal

Why we built it

Traditional 3D tools rely on GUI state and fragile viewport scripts. Forge replaces interactive modeling with deterministic, unit-checked recipes and numeric quality gates that AI agents can iterate on programmatically.

Architecture & how it works

Parses .forge scripts into SDFs, Manifold meshes, and Jolt Physics simulations. Evaluates Metal compute kernels for FANA mathematical anatomy, raytraced PBR baking, volumetric atmosphere rendering, and spectral 1/f^beta detail analysis.

Key capabilities

  • FANA 0.1 polygon-free mathematical anatomy layer on C++20 and Metal compute
  • Multi-panel studio clay turnaround sheet-to-sculpt reconstruction (forge reconstruct)
  • 4D living entity engine (bio_entity) with isochoric muscle SDFs, autonomic gaze/blinks, and tailored garments
  • Multi-archetype geodesic voxel auto-rigging, 5-finger contact grasp, and procedural creature gaits
  • Sparse glTF 2.0 facial morph targets isolated from rigid helmet/eye/teeth materials
  • Composable Metal hardware-raytraced PBR texture baker and external GLB texture re-projection

Usage example

Build, test, and run a Forge recipe or sheet reconstructionC++20
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j 8
ctest --test-dir build --output-on-failure
build/forge run examples/armored_warlord.forge --out ./out/warlord
build/forge reconstruct ./turnaround.jpg --details ./details.jpg --out ./out/bust
Runs headlessly on macOS; JSON-lines mode on stdin keeps compiled meshes cached across incremental edits.