AnyCam4D: Solving Fisheye and Motion Blur in 4D Gaussian Splatting
· 6 min read

AnyCam4D improves 4D Gaussian Splatting by using ray-based rendering to handle motion blur, fisheye lenses, and complex effects in dynamic scenes.
Many dynamic scenes in film and animation are captured using specialized optics, yet most 4D Gaussian Splatting techniques assume these scenes are filmed through standard pinhole cameras. The AnyCam4D research paper arXiv introduces a ray-based rendering method that allows 4D Gaussian Splatting to function with any camera model, including those with significant distortion or complex motion artifacts.
The Problem: Pinhole Assumptions in Dynamic 3D Scenes
Most current methods for dynamic Gaussian splatting rely on EWA splatting to project 3D points onto a 2D image plane. This technique uses a local affine approximation of the camera, which works well for standard lenses but fails when the camera's geometry is complex.
When a scene is captured with a wide-angle or fisheye lens, the standard workflow requires "undistorting" the footage before it can be processed by these models. This pre-processing step leads to several technical trade-offs:
- Loss of Field of View: Stretching the image to fit a pinhole model often crops the edges of the original frame.
- Reduced Resolution: Because the pixels are spread over a larger virtual area after undistortion, the center of the image is sampled much less densely.
- Inaccurate Projections: EWA splatting only remains accurate near the center of the optical axis. For cameras with high distortion, the linear approximation fails as the angle from the center increases.
In the context of 4D Gaussian Splatting, where models track motion in space-time, these issues are compounded. Because standard projections are used, the system cannot natively handle the complex geometry of real-world rigs, such as those used in robotics or high-end cinema production.
How AnyCam4D Moves Beyond Pinhole Limitations
AnyCam4D shifts the rendering logic from a standard projection to a ray-based system. In this framework, the camera is treated as a provider of rays rather than a simple projection matrix. Because every pixel is evaluated as a ray in world space, the specific characteristics of the lens do not need to be "corrected" before training.
By moving to a ray-based architecture, the model gains several capabilities:
- Native Lens Support: The system can train on raw footage from fisheye, wide-angle, and other non-pinhole lenses without pre-processing.
- Advanced Effects: Because the system evaluates the 3D scene along a ray, it can natively incorporate effects like rolling shutter, depth of field, and chromatic aberration.
- Cross-Camera Rendering: A single model trained on one camera's footage can be rendered through a different camera's parameters. For example, a scene captured on a wide-angle lens can be rendered through a virtual camera with different focal properties.
The Technical Fix: Conditioning the Square Root of Covariance
The primary technical hurdle in moving to ray-based 4D Gaussian Splatting is that 4D Gaussians do not inherently provide the orientation and scale data required by ray-based renderers. While 3D Gaussians have a clear rotation and scale, a 4D Gaussian's covariance is a result of conditioning, making it difficult to extract these values reliably in 32-bit floating-point precision (fp32).
AnyCam4D solves this by conditioning the square root of the 4D covariance rather than the covariance itself. This approach provides several technical advantages:
- Preserving Thin Axes: In many scenes, Gaussians are long in space-time but very thin at any single point in time. Standard covariance calculations often "lose" these thin axes due to rounding errors in fp32. By using the square root, the system maintains these dimensions.
- Stabilized Gradients: Standard methods for recovering rotation and scale involve eigendecomposition. This process has no usable gradient at the start of training (isotropic initialization). By using a triangular factor derived from the square root, the system ensures that gradients remain stable and usable throughout the optimization process.
- Efficient Ray Evaluation: The system uses a triangular factor to whiten the ray. This avoids the need for expensive matrix inversions, making the calculation of the distance to the peak of the Gaussian much faster and more accurate.
Reported Results: PSNR Gains and Visual Fidelity
The researchers tested AnyCam4D against standard projection methods (EWA) using both synthetic and real-world data. The results indicate significant improvements when dealing with non-standard lenses.
- Fisheye Performance: When tested on a synthetic fisheye camera, models trained on original, undistorted footage outperformed standard projection models by 3.0 to 8.1 dB in peak signal-to-noise ratio (PSNR).
- Real-World Footage: On actual footage, AnyCam4D produced lower perceptual errors (LPIPS) than standard projections while maintaining comparable PSNR.
- Robustness to Camera Rotation: In a test where a synthetic camera was rotated away from the original capture rig's view, AnyCam4D outperformed the baseline by 6.2 dB.
- Training Stability: The researchers noted that the new method eliminated non-finite gradients and "collapsed" runs that were common in previous attempts to use non-linear lenses with 4D Gaussians.
Practical Impact for Film, Game, and VFX Pipelines
For studios and freelancers, the implications of AnyCam4D are significant for high-end production pipelines.
Preserving Originality In high-end VFX, the "look" of a lens is a deliberate choice. By removing the need to undistort footage, AnyCam4D allows artists to keep the full field of view and high-resolution details of wide-angle lenses. This is particularly useful for immersive environments where the edges of the frame are just as important as the center.
Complex Camera Simulators Because the model is rendered via rays, it can integrate complex camera behaviors that are difficult to simulate in standard 3D Gaussian environments. This includes:
- Rolling Shutter: Essential for accurately capturing fast-moving objects with CMOS sensors.
- Depth of Field: Allowing for realistic bokeh and focal planes.
- Chromatic Aberration: Simulating the color fringing typical of high-quality glass.
Asset Portability Since the model is not "locked" to a specific projection, a scene captured on one camera can be rendered through various virtual cameras. This allows a single 4D Gaussian asset to be used in different shots with different lens choices, a significant benefit for game development and multi-shot animation sequences.
Current Limitations and Implementation Considerations
As this is a research paper, several factors must be considered before integrating these concepts into a production pipeline.
The method currently uses a simplified way to handle color. Instead of using full 4D spherical harmonics, it adds a direction-independent temporal term to the spatial harmonics. While this reduces memory usage by 45% compared to full 4D harmonics, it is a specific architectural choice made to optimize the model for 4D space.
The optimization process also differs from standard 3D Gaussian Splatting. Because ray-based rendering does not provide a screen-space positional gradient, the "densification" of the scene (adding more Gaussians where needed) is calculated in parameter space. Furthermore, the system uses "Selective Adam" to update only the Gaussians that are visible at the specific time being rendered.
While the research shows that AnyCam4D is efficient, it requires a robust backend to handle the high-density calculations involved in 4D ray-based rendering. For projects involving complex 3D scenes, using a render farm can help manage the compute load when generating high-quality frames from these types of models.
If you are looking to move from research concepts to production-ready results, you can create a free account to explore how high-performance compute can handle demanding scenes.
Practical Takeaway: AnyCam4D provides a mathematically stable way to render 4D Gaussians through any lens type. By using a ray-based approach and conditioning the square root of the covariance, it preserves the visual integrity of wide-angle shots and allows for the inclusion of realistic camera effects like rolling shutter and depth of field without the need for pre-processing the source footage.
Frequently asked questions
How does AnyCam4D handle fisheye lenses in 4D Gaussian Splatting?
AnyCam4D replaces standard EWA splatting with a ray-based rendering system. This allows the model to process raw footage from fisheye and wide-angle lenses without the need for pre-processing or undistortion.
What is the benefit of ray-based rendering over pinhole models?
Ray-based rendering allows for the native inclusion of camera effects like rolling shutter, depth of field, and chromatic aberration. It also enables a single model to be rendered through different virtual camera parameters.
How does AnyCam4D solve the issue of covariance in 4D Gaussian Splatting?
The method conditions the square root of the 4D covariance rather than the covariance itself. This preserves thin axes in the data and ensures stable gradients during the training process.
Source: arXiv
English · Italiano · Français · Deutsch · Español · हिन्दी · العربية · Русский · Українська · 中文 · 日本語 · 한국어