SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.14899 · 2025

Uni3C: Unifying Precisely 3D-Enhanced Camera and Human Motion Controls for Video Generation

arXiv · PDF · Open in the Atlas

Code that ran

7 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 1 failure of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2504.14899.json · badge: /api/ran/2504.14899.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ewrfcas/uni3c canonical (classifier label)
classifier basis not recorded on the link
7 ran · 5 no recorded run
FunctionStatusWhere it lives
batch_sample_rays Ran
ran on a synthesized input
ewrfcas/uni3c/src/camera.py
code served (permissive licence) · get_code("ff47b803a9ac3fd5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import einops
import torch.nn.functional as F

torch.manual_seed(0)

# Create small test tensors
batch_size = 2
image_h = 4
image_w = 5

# intrinsic: [BF, 3, 3] - camera intrinsic matrix
intrinsic = torch.tensor([
    [[500.0, 0.0, 2.5],
     [0.0, 500.0, 2.0],
     [0.0, 0.0, 1.0]],
    [[500.0, 0.0, 2.5],
     [0.0, 500.0, 2.0],
     [0.0, 0.0, 1.0]]
], dtype=torch.float32)

# extrinsic: [BF, 4, 4] - camera extrinsic matrix (world to camera)
extrinsic = torch.tensor([
    [[1.0, 0.0, 0.0, 0.0],
     [0.0, 1.0, 0.0, 0.0],
     [0.0, 0.0, 1.0, 5.0],
     [0.0, 0.0, 0.0, 1.0]],
    [[1.0, 0.0, 0.0, 0.0],
     [0.0, 1.0, 0.0, 0.0],
     [0.0, 0.0, 1.0, 5.0],
     [0.0, 0.0, 0.0, 1.0]]
], dtype=torch.float32)

ARGS = {
    'intrinsic': intrinsic,
    'extrinsic': extrinsic,
    'image_h': image_h,
    'image_w': image_w
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 4, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_trajectory Ran
ran on a synthesized input
ewrfcas/uni3c/alignment.py
code served (permissive licence) · get_code("7552f3526f085fdd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create sample 4x4 camera-to-world matrix
c2w_0 = torch.tensor([
    [1.0, 0.0, 0.0, 0.0],
    [0.0, 1.0, 0.0, 0.0],
    [0.0, 0.0, 1.0, 5.0],
    [0.0, 0.0, 0.0, 1.0]
], dtype=torch.float32)

# Create sample 4x4 world-to-camera matrix (inverse of c2w_0)
w2c_0 = c2w_0.inverse()

# Create sample vertices array: shape (nframes, num_joints, 3)
# This represents SMPL body vertices over multiple frames
vertices = np.random.randn(5, 8, 3).astype(np.float32)

ARGS = {
    "nframe": 5,
    "radius": 2.5,
    "c2w_0": c2w_0,
    "w2c_0": w2c_0,
    "d_r": 1.5,
    "x_offset": 0.3,
    "y_offset": 0.2,
    "d_theta": 45.0,
    "d_phi": 30.0,
    "vertices": vertices,
    "smpl_follow": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 4, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
camera_center_normalization Ran
ran on a synthesized input
ewrfcas/uni3c/src/camera.py
code served (permissive licence) · get_code("5d59a3eaa112ac1a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (8, 4, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a batch of world-to-camera matrices
# Shape: (batch_size, 4, 4) where batch_size = 8 frames, nframe = 4 cameras per frame
# This means 2 "groups" of 4 frames each
batch_size = 8
nframe = 4

# Create valid 4x4 transformation matrices (world-to-camera)
# Start with identity and add small perturbations
w2c = torch.zeros(batch_size, 4, 4)
for i in range(batch_size):
    w2c[i] = torch.eye(4) + torch.randn(4, 4) * 0.1
    # Ensure it's invertible by making it closer to identity
    w2c[i] = 0.9 * torch.eye(4) + 0.1 * w2c[i]

camera_scale = 2.0

ARGS = {
    'w2c': w2c,
    'nframe': nframe,
    'camera_scale': camera_scale,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (8, 4, 4) — shape (8, 4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
create_logger Ran
ran on a synthesized input
ewrfcas/uni3c/src/utils.py
code served (permissive licence) · get_code("8bb483bf32c1034a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Logger. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging
import os
import tempfile
import torch.distributed as dist

# Create a temporary directory for logging
temp_dir = tempfile.mkdtemp()

# Ensure we're not in distributed mode for this test
if 'WORLD_SIZE' in os.environ:
    del os.environ['WORLD_SIZE']
if 'RANK' in os.environ:
    del os.environ['RANK']

ARGS = {
    'logging_dir': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
embed_rays Ran
ran on a synthesized input
ewrfcas/uni3c/src/camera.py
code served (permissive licence) · get_code("4856df8ac84a6045")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 4, dtype family float, shape (2, 3, 5, 6) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import einops

torch.manual_seed(0)

# The function expects rays_o and rays_d to be tensors
# It can handle either 3D or 4D input
# If 4D: shape is (b, f, n, c) where b=batch, f=nframe, n=num_rays, c=channels
# If 3D: shape is ((b*f), n, c)
# The function uses cross product on dim=-1, so c should be 3 for 3D vectors
# rays_d and cross_od are concatenated on dim=-1, so output c becomes 6

# Create 4D input tensors to test the rearrange path
# Using distinct sizes: batch=2, nframe=3, num_rays=5, channels=3
batch = 2
nframe = 3
num_rays = 5
channels = 3

rays_o = torch.randn(batch, nframe, num_rays, channels)
rays_d = torch.randn(batch, nframe, num_rays, channels)

ARGS = {
    'rays_o': rays_o,
    'rays_d': rays_d,
    'nframe': nframe
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 5, 6) — shape (2, 3, 5, 6) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
points_padding Ran
ran on a synthesized input
ewrfcas/uni3c/src/utils.py
code served (permissive licence) · get_code("105effd7cd6fb131")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor with shape (batch=2, features=4)
# The function will concatenate a padding dimension to the last axis
points = torch.randn(2, 4)

ARGS = {
    "points": points
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 5) — shape (2, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
whitespace_clean Ran
ran; our contract draft was wrong, not the code
ewrfcas/uni3c/src/pipelines/pipeline_uni3c.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("9542161e9640b858")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from ltpwy/MSCI, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

basic_clean Not yet run
unverified (harvested, no recorded run)
ewrfcas/uni3c/src/pipelines/pipeline_uni3c.py
code served (permissive licence) · get_code("8bc14e32eeec25b4")
How it ran

no invocation recorded.

get_boundaries_mask Not yet run
unverified (harvested, no recorded run)
ewrfcas/uni3c/src/pointcloud.py
code served (permissive licence) · get_code("26342ddf6119a713")
How it ran

no invocation recorded.

load_video Not yet run
unverified (harvested, no recorded run)
ewrfcas/uni3c/src/utils.py
code served (permissive licence) · get_code("522fd30040cae1fc")
How it ran

no invocation recorded.

prompt_clean Not yet run
unverified (harvested, no recorded run)
ewrfcas/uni3c/src/pipelines/pipeline_uni3c.py
code served (permissive licence) · get_code("bbacca188b4161f4")
How it ran

no invocation recorded.

shard_model Not yet run
unverified (harvested, no recorded run)
ewrfcas/uni3c/src/fsdp.py
code served (permissive licence) · get_code("d9df3347334a07c9")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
whitespace_clean 231 other papers
193 dated earlier, 27 later, 10 same year, order not determinable, 1 undated · 4 only as an assembly brick
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2108.10904 (2021-08)
SimVLM: Simple Visual Language Model Pretraining with Weak Supervision
and 228 more not named here
basic_clean 218 other papers
193 dated earlier, 14 later, 10 same year, order not determinable, 1 undated · 4 only as an assembly brick
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2108.10904 (2021-08)
SimVLM: Simple Visual Language Model Pretraining with Weak Supervision
and 215 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Camera and human motion controls have been extensively studied for video generation, but existing approaches typically address them separately, suffering from limited data with high-quality annotations for both aspects. To overcome this, we present Uni3C, a unified 3D-enhanced framework for precise control of both camera and human motion in video generation. Uni3C includes two key contributions. First, we propose a plug-and-play control module trained with a frozen video generative backbone, PCDController, which utilizes unprojected point clouds from monocular depth to achieve accurate camera control. By leveraging the strong 3D priors of point clouds and the powerful capacities of video foundational models, PCDController shows impressive generalization, performing well regardless of whether the inference backbone is frozen or fine-tuned. This flexibility enables different modules of Uni3C to be trained in specific domains, i.e., either camera control or human motion control, reducing the dependency on jointly annotated data. Second, we propose a jointly aligned 3D world guidance for the inference phase that seamlessly integrates both scenic point clouds and SMPL-X characters to unify the control signals for camera and human motion, respectively. Extensive experiments confirm that PCDController enjoys strong robustness in driving camera motion for fine-tuned backbones of video generation. Uni3C substantially outperforms competitors in both camera controllability and human motion quality. Additionally, we collect tailored validation sets featuring challenging camera movements and human actions to validate the effectiveness of our method.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2504.14899")
get_code_for_paper("2504.14899")
have("2504.14899")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2504.14899.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2504.14899.svg)](https://syntology.ai/paper/2504.14899)

Connect an agent — have() is free.