All models

nerfacc_VanillaNeRFRadianceField

The original NeRF MLP: position and view direction in, color and density out, rendered by ray marching.

3D and point clouds · 44 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (26 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
NeRF
Parameters
595.8K
Operations
44
Framework
PyTorch
Recurrent
No
Published
ECCV 2020
Cited by
524 (as of 22 October 2026)
Authors
Ben Mildenhall, Pratul P. Srinivasan, Matthew Tancik and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m7650
Graph hash
33838a928f0f2b5767eb90c91f45caa6e9b6e0ea8a6f61dd57edc8563c0b6ff5
Skeleton hash
b0627118a22a505e252d621a2e2953b616eff3bad362211f4e98c9034b90ac85
Architecture hash
03a0d16bb646d6693d039f847637cc0a24dec0a998f71df9ff905bd383b51fb0
Diagram SHA-256
c8b7c506b3d9db4e66cb8e982c25f05b5534cf5fd9b0883b5e3d26c32ba4510d
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is the original NeRF network, the vanilla MLP that NerfAcc ships as its example radiance field: it takes a 3D position and a viewing direction and returns a color and a volume density. A neural radiance field represents a scene as a fully-connected, non-convolutional deep network whose input is a single continuous 5D coordinate, spatial location plus viewing direction, and whose output is the volume density and view-dependent emitted radiance there. Images are synthesized by querying 5D coordinates along camera rays and projecting the colors and densities into an image with classic volume rendering. Since volume rendering is differentiable, the only input needed is a set of images with known camera poses.

The network first processes the 3D coordinate with 8 fully-connected layers of 256 channels with ReLU activations, outputting the density and a 256-dimensional feature vector. That feature is concatenated with the viewing direction and passed through one more 128-channel layer that outputs the view-dependent RGB color. Two additions make the basic idea work on complex scenes: a positional encoding of the input coordinates so the MLP can represent higher frequency functions, and a hierarchical sampling procedure that reduces the number of queries per ray.

NerfAcc, the toolbox this copy comes from, is a Python library for plugging advanced sampling methods into NeRF-style methods; its paper reports 1.5x to 20x faster training for several NeRF methods.

Key idea. A scene can be stored as an MLP mapping a 5D position and view direction to density and color, fit from posed images through differentiable volume rendering.

  • nerf
  • neural radiance field
  • neural radiance fields
  • vanilla nerf
  • nerfacc
  • view synthesis
  • volume rendering
  • coordinate mlp
  • positional encoding
  • neural rendering

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{mildenhall2020nerfrepresentingscenesneural,
      title={NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis}, 
      author={Ben Mildenhall and Pratul P. Srinivasan and Matthew Tancik and Jonathan T. Barron and Ravi Ramamoorthi and Ren Ng},
      year={2020},
      eprint={2003.08934},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2003.08934}, 
}