AniBench / README.md
anhe7's picture
AniBench: the final 50 clips
0dd2662
|
Raw History Blame Contribute Delete
8 kB
metadata
pretty_name: AniBench
license: other
license_name: per-clip-source-licences
tags:
  - 3d
  - 4d
  - animation
  - articulated
  - skeleton
  - rigging
  - motion
  - video-to-4d
  - benchmark
size_categories:
  - n<1K

AniBench

AniBench is the benchmark of the paper Ani4D: Animatable 4D Mesh Reconstruction from Monocular Video (Angel Y. He, Andrea Vedaldi, Zeren Jiang; Visual Geometry Group, University of Oxford).

Project page · Code · Model · AniAct

It tests animating a rigged 3D asset from a monocular video: a method receives the asset in its first-frame pose (mesh, skeleton and skinning weights) and a 16-frame video of the motion, and reconstructs the posed mesh in every frame.

It holds 50 animated clips whose skeletons are held out from Ani4D's training split:

  • 8 from Truebones Zoo, from two held-out species (goat and seagull);
  • 29 from Objaverse and 13 from Objaverse-XL, whose rigs differ from every training rig in joint names, hierarchy or bone lengths.

Each clip is evaluated over 16 frames from four of the 16 cameras it is rendered from, giving 200 input videos.

Contents

anibench.txt                  the 50 clips: clip <TAB> source <TAB> t0; the evaluated window is frames t0 .. t0 + 15
sources.tsv                   each clip's source asset (Truebones Zoo file, Objaverse UID, Objaverse-XL file sha256)
licences.tsv                  each clip's source licence and attribution
clips/<Source>/<clip>/        one folder per clip; Source = TBZ, Objaverse or Objaverse-XL
    manifest.npz              the first-frame mesh and rig
    theta_motion.npz          the motion as joint parameters
    frames.npy                the ground truth: every frame's vertices
    frontview_rgba.tar        camera 0 (the front view)
    multiview/view_01.mp4 ... view_15.mp4, cameras.json    cameras 1-15
encodes/<clip>/enc_t<t0>[_v<kk>].npz   Ani4D's input encodes (below)

All 50 clips together are 12.7 GB. Every window starts at frame 0 (t0 = 0) except one, which starts at frame 12.

A clip folder

file contents
manifest.npz faces [F, 3], parents [J] (-1 for the root), joint_types [J], joint_axes [J, 3], skin [V, J] (skinning weights), joints [J, 3] (the first-frame joint positions), joint_names [J]
theta_motion.npz theta [T, D]: each frame's joint parameters relative to frame 0 (theta[0] = 0); joints [J, 3]; nonroot_dof (4: three rotations and a stretch along the bone per non-root joint; the root has six degrees of freedom); offset_rot [J]
frames.npy [T, V, 3] float32: the vertices of every frame. Units come from the first frame's bounding box: frame 0 is centred at the origin with its longest side 1. Posing the rig of manifest.npz by theta with linear blend skinning reproduces these vertices up to a small conversion error.
frontview_rgba.tar camera 0: frame_0000.png ... frame_<T-1>.png, 1024 x 1024 RGBA with straight alpha, one per frame; an uncompressed tar
multiview/view_<kk>.mp4 camera kk = 01 ... 15, every frame at 1024 x 1024, two lossless H.264 streams: stream 0 is the RGB, stream 1 the alpha
multiview/cameras.json each camera's azimuth and elevation, the lens (35 mm on a 36 mm sensor), the framing, and each camera's pose in the source asset's Blender world coordinates

The renders are Blender EEVEE images of the textured asset on a transparent background, with a fixed key light and grey ambient light. Every camera is framed on the clip's union bounding box: the box's bounding sphere (half its diagonal times 1.15) fills 0.8 of the image. Camera k (k = 1 ... 15) sits at azimuth -90 + 22.5 k degrees and elevation 20, 35, 5 or 50 degrees (for k mod 4 = 0, 1, 2, 3). Camera 0 sits at azimuth -90 and elevation 0, the front view.

To read the frames:

import io, tarfile
import numpy as np
from PIL import Image

cd = "clips/TBZ/goat_idle"
man, motion = np.load(f"{cd}/manifest.npz"), np.load(f"{cd}/theta_motion.npz")
verts = np.load(f"{cd}/frames.npy")                     # [T, V, 3]
with tarfile.open(f"{cd}/frontview_rgba.tar") as tar:     # camera 0
    rgba = np.asarray(Image.open(io.BytesIO(tar.extractfile("frame_0000.png").read())))

and the other cameras with ffmpeg; this gives the same pixels as the rendered PNGs:

ffmpeg -i view_04.mp4 -map 0:v:0 -f rawvideo -pix_fmt rgb24 rgb.raw     # RGB
ffmpeg -i view_04.mp4 -map 0:v:1 -f rawvideo -pix_fmt gray alpha.raw    # alpha

Most browsers and video players, the Hub's file preview among them, cannot decode RGB H.264: they show these videos with a green background and false colours. ffmpeg, mpv and VLC decode them correctly (the background is then black, its transparency in stream 1).

Encodes

encodes/ holds the inputs Ani4D reads: each window's first frame, from cameras 0, 4, 8 and 11, encoded by AniGen's frozen structured-latent autoencoder. They are the files behind the paper's results. Other methods do not need them. The Ani4D code writes the same files with python -m ani4d.prepare.encode.

Each file holds:

  • coords [N, 3]: the surface voxels on the 64^3 grid;
  • feats [N, 16]: the shape and skinning latents;
  • coords_skl [M, 3] and feats_skl [M, 4]: the skeleton voxels and their latent;
  • joints_norm [J, 3]: the joints in the frame's cube.

Protocol

camera view azimuth / elevation relative to the front camera
0 front 0 / 0
4 side 90 / 20
8 behind 180 / 20
11 above 247.5 / 50

For camera k, a method receives camera k's video, frames t0 ... t0 + 15, and the first-frame asset (mesh, skeleton and skinning weights) rotated into camera k's frame. Its output is a mesh per frame, turned back into the clip's frame and scored against frames.npy.

The scores are means over the 50 clips of each clip's mean over the four cameras:

  • Geometry and motion: CD-3D, CD-4D and CD-M, computed with ActionBench's evaluation code.
  • Joints: MPJPE of the ground-truth skeleton fitted to the output meshes.
  • Appearance: PSNR, SSIM, LPIPS, CLIP and FVD of renders from four views, computed with Mesh4D's evaluation code.

The Ani4D code implements the protocol: python -m ani4d.eval.anibench, described in its README ("Evaluation on AniBench"). To use this folder there:

export ANI4D_CLIPS=<this folder>/clips ANI4D_ENCODES=<this folder>/encodes

Results

From the paper, with ground-truth first-frame assets:

method CD-3D ↓ CD-4D ↓ CD-M ↓ MPJPE ↓ PSNR ↑ SSIM ↑ LPIPS ↓ CLIP ↑ FVD ↓
ActionMesh 0.0271 0.0620 0.1304 0.0516 18.83 0.9038 0.0836 0.9775 381.9
Motion 3-to-4 0.0307 0.0666 0.1363 0.0569 18.74 0.9031 0.0869 0.9732 439.8
Mesh4D 0.0337 0.0594 0.1377 0.0527 17.34 0.8853 0.1029 0.9691 592.2
SkelMo 0.0324 0.0616 0.1380 0.0565 18.34 0.8958 0.0900 0.9747 491.4
Ani4D (feed-forward) 0.0226 0.0408 0.0928 0.0364 19.48 0.9060 0.0758 0.9801 365.1
Ani4D + shape optimisation 0.0198 0.0378 0.0864 0.0355 19.75 0.9088 0.0711 0.9823 333.6

Licence

The clips are derived from Truebones Zoo, Objaverse and Objaverse-XL assets. Each keeps its source asset's licence; licences.tsv lists the licence, author and source page of every clip ("none stated" for a file whose repository states no licence). The Truebones Zoo clips are made from Truebones Zoo by Truebones Studios.

Citation

@article{he2026ani4d,
  title   = {Ani4D: Animatable 4D Mesh Reconstruction from Monocular Video},
  author  = {He, Angel Y. and Vedaldi, Andrea and Jiang, Zeren},
  journal = {arXiv preprint},
  year    = {2026}
}