Built by Best ROI MediaMITWave 4 · LiveBestRoiMedia/bestroi-game-tools
MotionBricks
Offline BVH motion-bake and Blender FBX conversion pipeline for NVIDIA MotionBricks.
Runs NVIDIA's MotionBricks generative motion runtime offline to bake obstacle-aware vaults, jumps, and ducks to SOMA-rest-pose BVH files, then converts them in headless Blender to 30 fps FBXs ready for engine retargeting.
View on GitHub ↗
Quick clone
git clone https://github.com/BestRoiMedia/bestroi-game-tools.gitWhy we built it
MotionBricks outputs SOMA-skeleton data that standard game engines cannot import directly without exact 30 fps framing, zeroed rest rotations, and bone stand-in meshes.
Architecture & how it works
vault_gen.py drives MotionBricks headless around Smart Primitives at configurable approach speeds and writes true-rest-pose BVH files at hip height. bvh_to_fbx.py runs in Blender to attach stand-in bone meshes and export clean 30 fps FBXs.
Key capabilities
- Headless obstacle-interaction baking (vaults, jumps, ducks, sits) via vault_gen.py
- Configurable approach speeds including full-sprint modifiers (e.g. 1.0!)
- SOMA rest-pose BVH conversion verified to 1e-15 precision for accurate retargeter hip scaling
- Blender BVH-to-FBX converter (bvh_to_fbx.py) with stand-in bone meshes and exact 30 fps clip bounds
Usage example
Bake obstacle vaults to BVH and convert to 30 fps FBXPython
python -m uv run python motionbricks/vault_gen.py --primitive jump_0_75m --speeds 0.6,1.0,1.0! --out ./out/bvh
blender --background --python motionbricks/bvh_to_fbx.py -- ./out/bvh ./out/fbxBundled NVIDIA evaluation primitives are for evaluation only; author custom target poses from licensed mocap for shipping.