Skip to content

Blender addon for exporting MMD camera animations to FBX and JSON formats. Compatible with Blender 4.5.3 LTS.

Notifications You must be signed in to change notification settings

jayd00/MMD_camera_fbx_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MMD Camera Export Tool

MMD Camera Export Tool

A Blender addon for exporting MMD camera animations to FBX and JSON formats.

Features

  • FBX Export: Export detailed camera animations with customizable resample options
  • JSON Export: Export only existing keyframes from the timeline
  • MMD Camera Support: Designed to work with MMD camera rigs (parent-child structure)
  • Simple UI: Easy-to-use sidebar panel in Blender's 3D viewport

Requirements

  • Blender Version: 4.5.3 LTS or higher
  • Compatible with: MMD camera rigs (camera as child of MMD_Camera parent object)

Installation

  1. Download the MMD_camera_fbx_tool.py file
  2. Open Blender
  3. Go to EditPreferencesAdd-ons
  4. Click Install... button
  5. Select the downloaded .py file
  6. Enable the addon by checking the checkbox next to "Animation: MMD Camera Export Tool"

The tool will appear in the sidebar of the 3D Viewport under the "MMD Camera Export" tab.

Quick Tutorial

Method 1: Export as FBX (Detailed Animation)

  1. Select the raw MMD camera in Blender (the camera object, not the parent)
  2. Open the MMD Camera Export panel in the sidebar (Press N to show sidebar if hidden)
  3. Select your camera in the "Camera" dropdown
  4. Click Export FBX
  5. Choose your export location
  6. Leave options at default (recommended), or experiment with:
    • Resample Animation: Enable to resample with custom step
    • Bake Step: Frame interval for baking (when Resample is ON)
    • Simplify Factor: Remove redundant keyframes (higher = more simplification)

This method exports the detailed animation with all interpolation.

Method 2: Export as JSON (Keyframes Only)

  1. Select the raw MMD camera in Blender
  2. Open the MMD Camera Export panel in the sidebar
  3. Select your camera in the "Camera" dropdown
  4. Click Export (under Export JSON section)
  5. Choose your export location

This method exports only the frames that have keyframes in the timeline.

JSON Format

The exported JSON contains an array of keyframe data:

[
  {
    "t": 0.000,      // Time in seconds
    "x": 0.000,      // Camera X position
    "y": 0.000,      // Camera Y position
    "z": 0.000,      // Camera Z position
    "tx": 0.000,     // Target X position (parent)
    "ty": 0.000,     // Target Y position (parent)
    "tz": 0.000,     // Target Z position (parent)
    "roll": 0.000,   // Camera roll rotation
    "fov": 45.000    // Field of view in degrees
  }
]

Notes

  • The camera must be a child of an MMD_Camera parent object (or similar structure)
  • FBX export includes both the camera and its parent in the export
  • JSON export samples only frames with existing keyframes
  • The tool automatically detects the animation range from existing keyframes

Version

  • Current Version: 1.0.2
  • Last Update: December 23, 2025
  • Blender Compatibility: 4.5.3 LTS

Credits

Created by J16D


License

Feel free to use and modify this tool for your projects.

Support

If you encounter any issues or have suggestions, please open an issue on GitHub.

About

Blender addon for exporting MMD camera animations to FBX and JSON formats. Compatible with Blender 4.5.3 LTS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages