DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to render a glTF model in a lit 3D scene with Framefields

Load a glTF or GLB model into a Framefields 3D scene with a LookAt camera and render it to MP4.

Short answer: Run pnpm add framefields; then Place your .glb or .gltf model file in your project's assets folder; add the model to a 3D scene with a LookAt camera and studio lighting, following the Unified 3D Scenes section at Framefields.dev/docs. All steps.

  • Content
  • Advanced
  • 90 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor

Who it is forA product designer or 3D artist who has a GLB or glTF model and wants a short rendered clip without opening a 3D application.

The problemSetting up a camera, lights, and a model for a short 3D render usually means opening a full 3D suite and exporting frames separately.

The outcomeAn MP4 showing the model under studio lighting with a camera that points at it, rendered from code.

What you need first

  • Node.js 22 or newer
  • pnpm, to run `pnpm add framefields`
  • A GPU with WebGPU support (macOS Metal, Linux Vulkan, or Windows D3D12)
  • A coding agent such as Claude Code, Cursor, or Codex, if you want the agent to write the composition

Steps

  1. Run pnpm add framefields
  2. Place your .glb or .gltf model file in your project's assets folder.
  3. Add the model to a 3D scene with a LookAt camera and studio lighting, following the Unified 3D Scenes section at Framefields.dev/docs. (inferred, check the README)
  4. Add the scene to a Composition with width, height, fps, and durationFrames set, then call renderVideo with an output path.
  5. Open the rendered MP4 and check the model's materials, shadows, and camera framing.

Prompt for your agent

In the framefields repo, create a composition that loads <model file>.glb into a 3D scene with a LookAt camera and studio lighting, and render it to output/<name>.mp4. Expected output: an MP4 of the model. Verify the file exists and that the model is visible in the first and last frames.

Caveat. The README lists 3D scene features but does not show the 3D API, so confirm the model loading and camera calls in the documentation before relying on this workflow.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for gatewai-dev/framefields and "Render a glTF model in a lit 3D scene"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer