3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
name: render-crucible-media description: Export a Crucible scene to PNG stills, render passes or an MP4 through the MCP render job tools (scene_render_submit, scene_render_status, scene_render_result) of the npm package @codepawlhq/crucible. Use when an agent must render an image or video of a scene, play a camera or light animation to video, cut shots with a timeline, add a score, write depth or object-ID passes, make a transparent frame sequence, path trace a still, pick a quality tier, choose GPU or CPU and an encoder, or stay inside memory limits. Also for "render ảnh 3D", "render video 3D", "xuất mp4", "export Crucible", "render bị lỗi bộ nhớ", "chất lượng MSAA". Scene building is the build-crucible-scene skill. license: MIT
Export images and video from Crucible over MCP
A render job is an immutable snapshot of one scene (sessionId, else the last used) and stays tied to it. Edits made while it runs do not change it, and it does not
change the scene's revision, pose or checkpoints. The MCP server must have been started with --jobs <abs private dir>;
MP4 also needs ffmpeg on PATH or --ffmpeg <abs path>, and sound needs --audio <abs dir>. Without --jobs the
submit call fails: tell the user which launch option is missing.
Steps
scene_lookfirst. Never submit a job for a scene you have not looked at.scene_inspectfor the currentrevision.scene_render_submitwithexpectedRevisionandsettings. Start small and fast: one image at 960x540 withquality: "draft". The reply carriesestimate(seconds,peakMemoryMiB) and, withquality, which tier will run.scene_render_statuswith thejobIdalone (asessionIdis refused) until the state is terminal (completed,failed,cancelled,interrupted). Wait about the estimated seconds, then poll every 5 to 10 seconds and read the durable frame progress. Never loop tightly. Status and result answer in a shortconciseform by default; passresponse_format: "detailed"for the full record.scene_render_result: output paths, sizes and metrics. Report the actualwidthandheight, the backend and the seconds; memory limits can lower the size.detailedadds SHA-256 hashes and resource counters. The answer attaches the PNGs of a job of up to 8 files; passimages: falsewhen the paths are enough, orimages: [0, 95](artifact indexes) to see chosen frames of a larger job.metrics.report.fallbackslists everything that ran differently from the request: read it.- Keep what you need, then
scene_render_releaseto remove the job's files. scene_render_cancelstops a job; pollscene_render_statusuntil it iscancelledbefore editing again.
Settings by task
| Task | Read |
|---|---|
| Image, stills, transparent sequences, video, motion clock, shots, audio, encoder, passes, path tracer, quality tiers, grid volumes and texture sequences | ${CLAUDE_SKILL_DIR}/references/jobs.md |
| Size, memory, GPU or CPU, time limits, verifying the file | ${CLAUDE_SKILL_DIR}/references/limits-and-checks.md |
| A job failed or the result looks wrong | ${CLAUDE_SKILL_DIR}/references/errors-and-recovery.md |
Rendering in a source checkout with scripts/render-media.mjs (contributors only) |
${CLAUDE_SKILL_DIR}/references/rendering.md |
Rules
- Smallest output that meets the need: a
draftstill before a video, a 2 second slice before the full film. Every film round starts as a small, low-quality preview with sound; full quality (final, or a larger size) only after sign-off. Never submit the final render first. - Time is deterministic. A frame depends on its time only, so a seek gives the same pixels as the frame in a video. Never record the screen.
- Use
settings.motion: { "start": 0 }to play recipe tracks (camera, nodes, lights, sun, sky, effects). Without it the job holds the first pose, which is the usual reason a video is a still frame. A recipe with atimelineusessettings.timelineand rejectsmotionandanimation. - A recipe whose only motion is
physics(orcloth,particles), a grid volume sequence or a texture sequence is filmed withmotion: { "start": 0 }; the job plays the bake on the scene clock, so do notbake-motionfirst. Physics, cloth and particles start at 0 whenmotionis left out; sequences need it set. Videodurationdefaults to the bake length. - Imported clips use
settings.animation; the two clocks are independent. - For compositing,
settings.transparent,settings.format(png16,exr) andsettings.regionare off by default; a transparent frame sequence is onestillsjob withstillCount; video runs up to 60 fps (references/jobs.md). - Path tracing (
settings.renderer, orquality: "final") is offline and slow: judge a still first. A video job takes it too, one trace per frame; passes,transparent,formatandregionneed the rasterizer. - Do not stop another session's process. Heavy local exports run at below-normal priority, one job at a time.
- A GLB for Blender is
scene_export_glb, not a render job.
Deliver
The file path, its JSON metrics, the settings you sent and one frame you looked at. Say what was measured (frames, duration, seconds, dimensions) and what was judged by eye. Say whether anyone listened to the audio; a score needs provenance and measured loudness.