正在自动登录…
patch-gg/ crowdbricks
crowdbricks 是一个批处理工具,基于 NVIDIA MotionBricks 生成数百个角色的运动,一次模型调用即可完成。它适合需要高效生成大量角色动画的开发者和研究人员。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/28 16:47:53 · 查看原文
- 累计 Stars
- 110
- 当前热度
- 未达当前门槛
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/10/28 16:47:53
- 使用方式
通过 Python API 使用,可运行示例脚本如 examples/futures.py。
查看 README 依据
../motionbricks/.venv/bin/python examples/futures.py --record futures.take ../motionbricks/.venv/bin/python examples/horde.py --record horde.take ``` The first run of each batch size and precision builds a TensorRT plan into `trt-cache/`, which takes a few minutes. To watch a take, export the character mesh from your checkout once, then serve the folder: ```sh ../motionbricks/.venv/bin/python viewer/export_character.py python3 -m http.server 8000 ``` and open `http://localhost:8000/viewer/?take=../futures.take`, or drop a take on the page. ## Use it ```python import warp as wp
from app.runtime.common.rig import load_rig_assets from motionbricks.model.contract import ModelRig from crowdbricks import Approach, BatchGenerator, Crowd, GaitLibrary, Obstacle, Stand, Walk, obstacle_pool wp.init() assets = load_rig_assets(ModelRig.SOMA) generator = BatchGenerator(assets, batch=16, capacity=64, cache_dir="trt-cache") gaits = GaitLibrary(assets, generator.stream) # idle, walk, jog, run and upstream's six style gaits crowd = Crowd(generator, gaits) # A wall to vault, as upstream's jump_0_75m Smart Primitive, facing an approach along +x.
- 部署要求
需要 NVIDIA GPU、Git LFS 和 uv,并基于 MotionBricks 的 checkout 运行。
查看 README 依据
crowdbricks runs on top of a MotionBricks checkout. Set that up first, as its README says (an NVIDIA GPU, [Git LFS](https://git-lfs.com/) and [uv](https://docs.astral.sh/uv/)): ```sh git clone https://github.com/NVlabs/motionbricks cd motionbricks git lfs pull uv sync cd .. ``` Then run crowdbricks with MotionBricks' Python and its checkout on `PYTHONPATH` (crowdbricks uses its `app` package, which it does not install): ```sh git clone https://github.com/patch-gg/crowdbricks cd crowdbricks export PYTHONPATH=$PWD/../motionbricks
- 已知限制
不支持 IK 钉住手脚、不播放空闲和坐姿剪辑,FP16 下可能与上游存在细微差异。
查看 README 依据
- **What it leaves out.** Upstream's character runtime also pins hands and feet to targets with IK (vault hands may land a little off the wall here), plays idle and sitting clips (a crowd character generates toward the idle target instead), and smooths input with springs. crowdbricks keeps a character to a few numbers and a driver so a whole crowd steps in about the time upstream takes for one. ## Matches upstream
FP16 is looser, for upstream as much as for crowdbricks. The pose module picks discrete codebook tokens, and on some requests FP16 rounding flips a pick: moving upstream's own context by 10 micrometers turns a jog's joints by 6 degrees, and turning a run's target by a thousandth of a degree moves a joint by 15 (both ends stay pinned by the endpoint correction). Each batch size is also its own plan with its own kernels. The FP16 test therefore asks bigger batches for the same length of motion and close agreement on average. ```sh ../motionbricks/.venv/bin/python -m pytest tests/ -s ```
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/10/28 04:49:11
- 首次达标收录
- 2026/10/28 16:41:30
- 统计更新时间
- 2026/10/29 19:16:22
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 4.0 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/10/28 16:41:30 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/10/28 04:49:18
- 许可证标识
- Apache-2.0
- Fork 数
- 10
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目