CamPVG: Camera-Controlled Panoramic Video Generation with Epipolar-Aware Diffusion

Chenhao Ji, Chaohui Yu, Junyao Gao, Fan Wang, Cairong Zhao · DOI

Introduction

Generating high-quality video from a single image is a significant milestone in generative AI. However, extending this capability to panoramic (360°) environments with precise camera control presents unique geometric challenges. Traditional video diffusion models are optimized for perspective views—flat rectangles that do not account for the extreme distortions at the poles or the non-linear geometry of equirectangular projections (ERP).

CamPVG, developed by researchers from Tongji University and Alibaba Group, introduces the first diffusion-based framework specifically designed for camera-controlled panoramic video generation. By incorporating geometric constraints tailored for spherical space, CamPVG enables the creation of immersive, spatially consistent videos following complex user-defined trajectories.

The Challenge of Spherical Geometry

Standard camera-controlled models rely on Plücker coordinates and straight epipolar lines to maintain consistency between frames. In a 360° panorama, these assumptions break down:

  1. Undefined Intrinsics: Simple focal lengths and principal points are inapplicable to a sphere.
  2. Non-linear Distortion: Objects appear stretched near the poles of an ERP image.
  3. Curved Epipolar Lines: A straight line in 3D space projects as a complex curve on a 2D equirectangular map.

Existing state-of-the-art models often fail in this domain because their spatial logic is hardcoded for flat, perspective geometry, leading to warped layouts and "melting" walls during camera movement.

The CamPVG Framework

CamPVG builds upon the DynamiCrafter image-to-video model, injecting two novel components to handle spherical geometry:

Panoramic Plücker Embedding

To represent camera poses without standard intrinsics, CamPVG adapts Plücker embeddings using spherical projection. It maps every pixel in the panorama to azimuth and elevation angles, converting them into 3D Cartesian unit vectors. This allows the model to understand the 3D spatial position of each pixel relative to the camera origin.

A visualization of a camera trajectory within a geometric grid, illustrating the precise control enabled by CamPVG.

Spherical Epipolar Module

To ensure temporal and spatial consistency, the model must know where an object in one frame should appear in the next. CamPVG derives the mathematical parametrization for epipolar curves in equirectangular space. Instead of global attention, the model uses an adaptive masking strategy that restricts cross-view attention to these curved lines, forcing the network to maintain 3D consistency.

Experimental Results

The researchers evaluated CamPVG using a custom dataset derived from 3D-FRONT, consisting of over 5,600 panoramic indoor videos. CamPVG significantly outperformed perspective-based baselines like MotionCtrl and CameraCtrl across several key metrics:

  • Visual Quality: Achieved a Fréchet Video Distance (FVD) of 66.24, a nearly 30% improvement over the closest baseline.
  • Geometric Fidelity: Showed superior performance in PSNR (30.05) and SSIM (0.6544), indicating high adherence to ground-truth trajectories.
  • User Preference: In human evaluations, CamPVG was rated 3.51/4.0 for consistency, far exceeding the baselines.
A sequence of generated panoramic frames demonstrating smooth camera movement and structural consistency in an indoor environment.

Conclusion

CamPVG demonstrates that precise camera control in panoramic video generation requires a fundamental shift from perspective to spherical geometry. By reformulating Plücker embeddings and epipolar constraints for the sphere, the framework produces immersive videos that preserve structural integrity even during complex transitions. Future work aims to expand the model's capabilities to outdoor environments and longer temporal sequences.

Summary updated

BibTeX
@inproceedings{ji2025campvg,
  author = {Chenhao Ji and Chaohui Yu and Junyao Gao and Fan Wang and Cairong Zhao},
  title = {{CamPVG: Camera-Controlled Panoramic Video Generation with Epipolar-Aware Diffusion}},
  booktitle = {SIGGRAPH Asia},
  year = {2025},
  url = {https://openreview.net/forum?id=nkjTIXUGXP},
}
Figure