Chapter 11: Neural Radiance Fields (NeRF)
Discover how Neural Radiance Fields represent 3D scenes as continuous volumetric functions learned by neural networks. From the fundamentals of volume rendering to modern acceleration techniques like Instant-NGP, master the technology that revolutionized novel view synthesis.
Chapter Overview
Neural Radiance Fields (NeRF), introduced by Mildenhall et al. in 2020, represented a breakthrough in novel view synthesis --- the task of generating photorealistic images of a scene from new camera viewpoints given a sparse set of input photographs. NeRF encodes a 3D scene as a continuous volumetric function that maps a 3D position and viewing direction to a color and volume density , parameterized by a neural network.
The elegance of NeRF lies in its rendering equation: images are synthesized by casting rays through each pixel, sampling points along each ray, querying the neural network for color and density, and compositing these samples using classical volume rendering. Because this entire pipeline is differentiable, the network can be trained end-to-end by comparing rendered images to ground truth photographs.
While the original NeRF required hours of training and seconds per rendered frame, subsequent work has dramatically improved efficiency. Instant-NGP (Mueller et al., 2022) reduced training to seconds and rendering to milliseconds using multi-resolution hash encoding. Mip-NeRF addressed aliasing artifacts with integrated positional encoding. Extensions to dynamic scenes, varying illumination, and unbounded environments have expanded NeRF's applicability far beyond its original scope.
Key topics in this chapter:
- Volume rendering: The mathematical framework for synthesizing images from continuous fields
- Positional encoding: How frequency features enable networks to represent high-frequency detail
- NeRF architecture: The MLP design, hierarchical sampling, and training procedure
- Instant-NGP: Hash-based encoding for 1000x training speedup
- Anti-aliasing: Mip-NeRF's cone tracing for scale-aware rendering
- Extensions: Handling illumination variation, transient objects, and dynamic scenes
Chapter Roadmap
Click any topic to jump in
Volume Rendering
The volume rendering equation, ray marching, and alpha compositing — NeRF's mathematical foundation.
Positional Encoding & MLPs
Fourier features that enable MLPs to represent high-frequency scene detail.
Vanilla NeRF Architecture
View-dependent color, hierarchical sampling, and training data requirements.
Hash encoding for speed, cone tracing for quality
Instant-NGP
Multi-resolution hash encoding for 1000x faster training and real-time rendering.
Mip-NeRF Anti-Aliasing
Cone tracing and integrated positional encoding for scale-aware rendering.
Uncontrolled environments and dynamic scenes
NeRF in the Wild
Handling illumination variation and transient objects in uncontrolled photo collections.
Dynamic NeRF
Deformation fields and time-conditioning for modeling non-static scenes.
Sign up to unlock this chapter
This chapter is part of PixelBank Premium. Create a free account, then upgrade to read the full lesson — concepts, walkthroughs, and exercises.