mujoco-showcase-shot
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMuJoCo Filament Showcase Shot Turntable Video Generator
MuJoCo Filament 展示镜头转台视频生成器
Use this skill whenever you want to generate a polished, studio-lit 360°
turntable showcase video () for a MuJoCo MJCF asset () using
MuJoCo's Filament PBR renderer ().
.mp4model.xmlmjrf需要为 MuJoCo MJCF 资产()生成精致的、带工作室灯光的 360° 转台展示视频() 时,请使用此 skill,渲染器为 MuJoCo 的 Filament PBR 渲染器()。
model.xml.mp4mjrfWhat It Showcases
展示内容
- Filament Studio Softbox IBL, Gradient Skybox & Reflective Turntable
Plinth:
- Automatically wraps the asset in a studio scene with a procedural
6-face studio softbox cubemap IBL () paired with a balanced 4-point physical studio lighting rig (shadow-casting key spotlight, cool fill, warm rim, and upward floor-bounce directional light), ACES tone mapping, high-quality SSAO, and subtle bloom.
studio_ibl_tex - Places the asset on a smooth 96-slice two-tier chamfered turntable
plinth with a brushed metallic accent ring resting on an infinite
reflective studio checker floor ().
reflectance="0.08"
- Automatically wraps the asset in a studio scene with a procedural
6-face studio softbox cubemap IBL (
- 2-Orbit 360° Turntable Sequence + Articulation Playback:
- Completes Orbit 1 (, full 360°) showing pure textured visual meshes so users can inspect every side uninterrupted, followed by Orbit 2 (
0%–50%, second 360°) cycling through physics collision verification while smoothly sweeping all50%–100%and<joint type="hinge"/>degrees of freedom via a cosine trajectory.<joint type="slide"/>
- Completes Orbit 1 (
- Cross-Dissolved Physics Collision Geometry Inspection:
- Transitions via a smooth alpha cross-fade (~8–10 frames, avoiding hard
1-frame pop-ins) across three plain-English chapters:
- (Orbit 1 — Full 360°): Textured Visual (
0%–50%)group="2" - (Orbit 2a): Visual + Translucent Ghost Collider Overlay (uniform mint-cyan ghost shell over the textured mesh)
50%–78% - (Orbit 2b): Physics Collision Hulls Only (visual mesh hidden; per-hull color-coded convex shapes)
78%–100%
- Transitions via a smooth alpha cross-fade (~8–10 frames, avoiding hard
1-frame pop-ins) across three plain-English chapters:
- Self-Explanatory HUD Overlay:
- Top-left translucent card showing Asset Name, Bounding Box Size
(in
L × W × H/mm), Total Mass (cm/g), Visual / Collider counts, and Live Joint Angles/Positions.kg - Top-right chapter badge (/
1/3 · TEXTURED VISUAL (360°)/2/3 · VISUAL + COLLIDER OVERLAY) and orbit angle readout (3/3 · COLLISION HULLS ONLY/Orbit 1/2).Orbit 2/2 - Bottom-center plain-English mode callout banner and 3-segment chapter timeline bar showing all three phases at a glance.
- Top-left translucent card showing Asset Name, Bounding Box Size
(
- Filament 工作室柔光箱 IBL、渐变天空盒与反射式转台底座:
- 自动将资产置于工作室场景中,使用程序化生成的六面工作室柔光箱 cubemap IBL(),并搭配均衡的四点式物理工作室灯光配置(可投射阴影的主聚光灯、冷色补光、暖色轮廓光和地面反弹向上方向光)、ACES 色调映射、高质量 SSAO 以及轻微 Bloom。
studio_ibl_tex - 将资产放置在平滑的 96 分段双层倒角转台底座上;底座带有拉丝金属装饰环,并坐落于无限延展的反射式工作室棋盘格地面上()。
reflectance="0.08"
- 自动将资产置于工作室场景中,使用程序化生成的六面工作室柔光箱 cubemap IBL(
- 双次环绕 360° 转台序列 + 关节运动回放:
- 完成 环绕 1(,完整 360°),仅显示带纹理的可视网格,让用户不间断地检查每个侧面;随后进入 环绕 2(
0%–50%,第二个 360°),在以余弦轨迹平滑扫动所有50%–100%和<joint type="hinge"/>自由度的同时,循环展示物理碰撞验证效果。<joint type="slide"/>
- 完成 环绕 1(
- 通过交叉淡化进行物理碰撞几何检查:
- 使用平滑 Alpha 交叉淡化(约 8–10 帧,避免单帧硬切式跳变)在三个通俗易懂的章节之间过渡:
- (环绕 1 — 完整 360°):带纹理的可视模型(
0%–50%)group="2" - (环绕 2a):可视模型 + 半透明幽灵碰撞体叠加层(在带纹理网格上覆盖统一的薄荷青色幽灵外壳)
50%–78% - (环绕 2b):仅物理碰撞凸包(隐藏可视网格;显示按凸包进行颜色编码的凸形状)
78%–100%
- 使用平滑 Alpha 交叉淡化(约 8–10 帧,避免单帧硬切式跳变)在三个通俗易懂的章节之间过渡:
- 自解释 HUD 叠加层:
- 左上角半透明卡片显示 资产名称、边界框尺寸(,单位为
L × W × H/mm)、总质量(cm/g)、可视模型/碰撞体数量以及实时关节角度/位置。kg - 右上角章节徽标(/
1/3 · 带纹理的可视模型(360°)/2/3 · 可视模型 + 碰撞体叠加层)和环绕状态读数(3/3 · 仅碰撞凸包/环绕 1/2)。环绕 2/2 - 底部居中的通俗易懂模式提示横幅,以及用于概览全部三个阶段的 3 段式章节时间线进度条。
- 左上角半透明卡片显示 资产名称、边界框尺寸(
Command-Line Usage
命令行用法
Resolve to the directory containing this file. Bundled
includes a
PEP 723 header (, , , , ), so
automatically resolves and caches an isolated environment on first use
(ensure is also installed when passing ). Always write
output videos and images to (never inside a source repository):
SKILL_DIRSKILL.mdscripts/render_showcase_shot.py# /// scriptmujocoavnumpyPillowabsl-pyuv runffmpeg--before_xml<ArtifactDir>/bash
SKILL_DIR="/path/to/skills/mujoco-showcase-shot"
uv run "$SKILL_DIR/scripts/render_showcase_shot.py" \
--asset=/path/to/model.xml \
--output=<ArtifactDir>/showcase_shots/<asset_name>_turntable.mp4 \
--width=960 \
--height=720 \
--fps=30 \
--duration=8.0This produces both:
- (H.264 turntable video)
<ArtifactDir>/showcase_shots/<asset_name>_turntable.mp4 - (2×2 keyframe summary image across the 4 showcase phases)
<ArtifactDir>/showcase_shots/<asset_name>_turntable_keyframes.png
When imported from Python ( after adding
to ), this module also provides:
import render_showcase_shot$SKILL_DIR/scriptssys.path- : Renders a
render_6view_inspection_sheetmulti-view inspection sheet (4×7,Front (+X),Back (-X),Right (-Y),Left (+Y),Top (+Z), andBottom (-Z)) across PBR Visual (3/4 Front-Right), Untextured Clay 3D Form (group="2"), Visual + Collision Overlay (group="4"), and Per-Hull Collision (group="2" + "3") modes.group="3" - : Renders Reference vs. Filament PBR vs. Untextured Clay comparison sheets (including
render_side_by_side_comparisonfor fast early geometry iteration,clay_only=Truefor 1:1 high-resolution zoom crops, anddetail_crops_out_pngfor single-pass multi-view output).six_view_out_png - : Renders a
render_wireframe_and_uv_sheetraw2×3quad/triangle topology wireframe and per-material UV layout inspection sheet..obj - : Renders batched Filament PBR, Clay, Overlay, or Collision still views.
render_filament_still
将 解析为包含此 文件的目录。随附的 包含 PEP 723 标头(、、、、),因此 会在首次使用时自动解析依赖并缓存隔离环境(传入 时还需确保已安装 )。始终将输出视频和图像写入 (切勿写入源仓库内部):
SKILL_DIRSKILL.mdscripts/render_showcase_shot.py# /// scriptmujocoavnumpyPillowabsl-pyuv run--before_xmlffmpeg<ArtifactDir>/bash
SKILL_DIR="/path/to/skills/mujoco-showcase-shot"
uv run "$SKILL_DIR/scripts/render_showcase_shot.py" \
--asset=/path/to/model.xml \
--output=<ArtifactDir>/showcase_shots/<asset_name>_turntable.mp4 \
--width=960 \
--height=720 \
--fps=30 \
--duration=8.0这将生成:
- (H.264 转台视频)
<ArtifactDir>/showcase_shots/<asset_name>_turntable.mp4 - (跨 4 个展示阶段的 2×2 关键帧摘要图)
<ArtifactDir>/showcase_shots/<asset_name>_turntable_keyframes.png
从 Python 导入时(将 添加到 后执行 ),该模块还提供:
$SKILL_DIR/scriptssys.pathimport render_showcase_shot- :渲染
render_6view_inspection_sheet多视图检查图集(4×7、Front (+X)、Back (-X)、Right (-Y)、Left (+Y)、Top (+Z)和Bottom (-Z)),包含 PBR 可视模型(3/4 Front-Right)、无纹理 Clay 3D 模型(group="2")、可视模型 + 碰撞体叠加层(group="4"+group="2")和逐凸包碰撞(group="3")模式。group="3" - :渲染参考图、Filament PBR 和无纹理 Clay 的并排对比图集,支持通过
render_side_by_side_comparison快速进行早期几何迭代,通过clay_only=True输出 1:1 高分辨率缩放裁剪图,以及通过detail_crops_out_png输出单次渲染的多视图结果。six_view_out_png - :渲染
render_wireframe_and_uv_sheet原始2×3四边形/三角形拓扑线框,以及按材质划分的 UV 布局检查图集。.obj - :渲染批量 Filament PBR、Clay、Overlay 或 Collision 静帧视图。
render_filament_still