TL;DR
Real-world cameras bend light through complex lenses, yet most algorithms that reconstruct moving 3D scenes pretend every camera is a simple, distortion-free pinhole—forcing us to warp and crop away precious resolution and field of view before we even begin. AnyCam4D unlocks ray-based rendering for native 4D Gaussian splatting by solving a nasty numerical precision trap in space-time math. Train once on raw, distorted footage—even extreme fisheyes—and render photorealistic moving scenes through any virtual lens, complete with rolling shutter or depth of field, at practically no extra training cost.
What Problem Does This Paper Address?
Gaussian splatting reconstructs 3D scenes using millions of fuzzy, translucent ellipsoids ("Gaussians") and renders them in real time. Standard projection (EWA splatting) projects these blobs onto a flat screen using a local linear approximation of a pinhole camera. When real lenses curve light—especially wide-angle or $170^\circ+$ fisheyes—that linear math breaks. Pre-undistorting the video into a pinhole view forces an ugly trade-off: you either crop away the periphery or severely downsample the center (undistorting a $170^\circ$ fisheye to $150^\circ$ coarsens central sampling by $3.4\times$ per axis).
For static 3D scenes, researchers fixed this using ray-based rasterizers (like 3DGUT), which shoot rays per pixel directly through the 3D blobs using their stored 3D rotation and scale.
However, dynamic scenes often use native 4D Gaussians—4D ellipsoids living in space-time $(x, y, z, t)$. To render a frame at time $\tau$, you slice (condition) the 4D blob at $t = \tau$ to get a 3D covariance matrix. Here is the catch: conditioning yields a raw covariance matrix, not explicit 3D rotations and scales. Trying to extract them via eigendecomposition causes gradients to explode when axes are equal, and computing the conditioned covariance directly in standard GPU single-precision (fp32) subtracts two nearly identical matrices. For fast, thin moving objects, fp32 rounding completely wipes out the thin axis, sometimes yielding impossible negative variances.
Methods
AnyCam4D bridges ray-based rasterization (building on 3DGUT) and native 4D Gaussians via factored conditioning, borrowing a classic trick from aerospace engineering's square-root Kalman filters:
- Conditioning the Square Root: Even though a 3D slice lacks explicit scales and rotations, the parent 4D Gaussian stores them—meaning we already have a square-root factor $M$ of the 4D covariance ($\Sigma_{4D} = MM^\top$). Instead of subtracting matrices in variance space, AnyCam4D projects out the time axis directly on $M$ to get a $3\times4$ matrix $N$, then applies a QR decomposition (plus a tiny floor) to obtain an invertible $3\times3$ lower-triangular factor $L$. Because $N$ and $L$ work with lengths rather than squared lengths, a thin axis of $10^{-4}$ stays safely above
fp32rounding noise instead of vanishing at $10^{-8}$. - Ray-Restricted, Closest-Point Evaluation: $L$ seamlessly replaces 3D rotation and scale for unscented-transform tile selection and ray evaluation. AnyCam4D restricts density peaks to lie in front of the camera (preventing wide-angle Gaussians behind the viewer from bleeding in) and shifts ray origins to the point closest to the Gaussian's center before whitening, preventing
fp32precision loss far from the camera. - Lightweight 4D Upgrades & Camera Effects: The authors replace heavy coupled 4D harmonics with an additive Fourier temporal color term (cutting color memory by 45%) and port parameter-space densification and Selective Adam to 4D (letting inactive Gaussians "sleep" outside their time window). Because cameras just supply pixel rays and timestamps, AnyCam4D natively renders rolling shutter, depth of field, and chromatic aberration at test time without retraining.
Datasets
The authors evaluate across four multi-view video datasets spanning narrow and ultra-wide lenses:
- DyNeRF and SelfCap (6 clips from FreeTimeGS): Real-world captures using standard Brown–Conrady (BC) lenses.
- DeepView: Real-world scenes captured with wide Kannala–Brandt (KB) fisheye lenses.
- Dynopsis (Newly Introduced): A synthetic, path-traced 288-frame dynamic benchmark rendered through both a standard BC lens and an extreme $170^\circ$ KB fisheye. Unlike real datasets, Dynopsis provides exact, distortion-free ground truth from any angle, enabling controlled tests that separate dataset undistortion losses from renderer projection errors.
Key Insights and Ideas
- Static camera rigs hide bad physics: Surprisingly, if you give standard EWA splatting the exact mathematical Jacobian for a fisheye lens, its test PSNR looks nearly as good as ray-tracing! Why? Because in a static camera rig, every camera sees a scene point from roughly the same angle, so training bakes the projection error into the 3D shapes. When the authors rotated the synthetic test camera in place by $60\text{--}80^\circ$—changing pixel incidence angles without changing the actual light rays—EWA's illusion shattered (dropping dramatically), whereas AnyCam4D stayed rock-solid.
- Square-root math tames
fp32: Operating on matrix factors via QR completely eliminated catastrophic >1% forward distance errors across millions of trained Gaussians and dropped non-finite gradient crashes during native-lens training from 4/49 runs down to 0/72. - Undistortion hurts mostly via resolution loss: On a $170^\circ$ fisheye, training on raw footage beats $150^\circ$-undistorted footage by 8.1 dB. Cropping the undistorted image to $95^\circ$ (preserving central focal length) recovers 6.0 dB of that gap—proving that central downsampling is the main culprit, though cropping leaves the outer periphery completely unmodeled.
Key Results
- Native vs. Undistorted Training: On the synthetic $170^\circ$ fisheye (Dynopsis KB), training on original footage improves PSNR by 3.0 to 8.1 dB over undistorted baselines depending on the crop.
- Out-of-Rig Generalization: When rotating the held-out fisheye camera $60\text{--}80^\circ$ off-axis against path-traced ground truth, AnyCam4D beats native-lens EWA by 6.2 dB.
- Perceptual Sharpness & Speed: Across all 14 real and synthetic scenes, AnyCam4D achieves lower perceptual error (LPIPS) than native-lens EWA at comparable PSNR, without needing custom per-lens Jacobian math. Training steps (forward + backward) take only 1.06–1.13$\times$ the time of EWA, with memory within 3%.
Limitations and Future Work
- Static Rigs & Render-Only Effects: Experiments only use static camera rigs. Moving cameras (e.g., handheld or autonomous driving rigs) would likely show even bigger gains for AnyCam4D since EWA cannot overfit to a single viewing angle, though fast-moving cameras would require training through the rolling-shutter pass rather than just applying it at render time.
- $180^\circ$ Field-of-View Cap: Because Gaussians with centers behind the camera plane are culled, lenses exceeding $180^\circ$ are not yet supported.
- Fast Motion: Like standard 4D Gaussians, AnyCam4D struggles with rapid motion (scoring 17–22 dB on moving pixels vs. 30–36 dB on static ones in Dynopsis KB), suggesting future integration with smarter primitive relocation or motion initialization techniques.
Summary updated