Camera Types and Intrinsics

Every cell rendered with blender.render-animation records the camera intrinsics and extrinsics alongside each frame, as listed under Types of Ground Truth. This page covers what the metadata can describe and what a render can change.


Supported Camera Models

The Camera model that backs the transforms.json schema currently supports OPENCV-style pinhole cameras only. It stores the pinhole intrinsics:

fl_x, fl_y

Focal lengths in pixels.

cx, cy

Principal point in pixels.

w, h

Image size in pixels.

c, fps

Output channels (optional, e.g. 4 for RGBA) and framerate (optional).

Blender itself only renders perspective cameras: camera_info raises for any camera data type other than PERSP (visionsim/simulate/blender.py:1712). A plain render therefore never sets or measures the camera model or any distortion coefficient.

Warning

Other lens types are not yet fully supported. The schema carries a camera_model field with OPENCV and OPENCV_FISHEYE values, plus Brown-Conrady coefficients k1 through k3 and p1/p2 (k1 through k4 for fisheye), but the renderer neither sets nor measures them: camera_info raises for any type other than PERSP. They describe a physical camera for downstream consumers rather than something a render produces.

The format is a Nerfstudio superset. Intrinsics are either global or defined for every frame, but never both, and camera_model is global only (it is the one field that may not be per-frame). The schema and coordinate conventions are described under Data Format and Loading.


See also