Mip-NeRF Anti-Aliased 3D Rendering
Mip-NeRF renders cones instead of rays so pixels covering different areas stay sharp at every zoom level.
Why Does This Exist?
NeRF samples infinitesimal points along a ray, but a real pixel covers a footprint that grows with distance. Close-ups then shimmer because training saw one scale. Mip-NeRF (2021) casts a cone per pixel and encodes each interval's mean and covariance, so one model serves all zooms. This page covers integrated encoding; speed comes from Instant NGP instead.
Think of It Like This
A flashlight beam versus a laser pointer
A laser samples one dust mote. A flashlight beam lights a widening disc and you judge the whole disc's average color. Judging a wall by laser dots flickers as you step back, while the beam stays stable.
Cones are beams and rays are lasers. The analogy stops at encoding: beams need Gaussian math, not just averaging.
How It Actually Works
Pixel footprint radius at distance is with pixel width and focal . Interval becomes Gaussian with mean and covariance along the cone axis. Integrated positional encoding feeds and using and instead of raw . Coarse and fine MLPs both consume intervals.
Worked example
Take , pixel width , m. Radius is m. Interval m has length m and mean m. Encoding frequency on raw points swings fully across the interval, while the integrated version damps by with , cutting the term to about of full strength. That damping is the anti-aliasing.
Watch Out For
Feeding points to a Mip-NeRF checkpoint
Sampling points instead of intervals at test time restores shimmer even with trained weights. The symptom is crisp trains but buzzing gravel. Always render with the cone interval code path.
The Quick Version
- Mip-NeRF casts cones matching each pixel's true footprint.
- Intervals become Gaussians whose encoding damps high frequencies correctly.
- One model handles close-ups and wide shots without retraining.
- Do not sample points at test time; use intervals or aliasing returns.
- Cone radius sets how fast detail must fade with distance.