█

AI/TLDR

Buy me a coffee
Buy me a coffee

Instant NGP

Train a NeRF in seconds, then explore it in an interactive GUI

3D Reconstruction & Radiance FieldsOpen source
Language
CUDA
License
NVIDIA Source Code License for instant neural graphics primitives (not an OSI open-source licence)
IN SHORT

What is Instant NGP?

Instant NGP is Train a NeRF in seconds, then explore it in an interactive GUI. In every case the model is a small MLP fed by a multiresolution hash input encoding, trained and rendered through NVIDIA's tiny-cuda-nn framework. It sits in the 3D Reconstruction & Radiance Fields category of the Multimodal Generation tools and is open-source, written in CUDA and licensed NVIDIA Source Code License for instant neural graphics primitives (not an OSI open-source licence).

Overview

Instant NGP is NVIDIA Research's implementation of four neural graphics primitives — neural radiance fields (NeRF), signed distance functions (SDF), neural images and neural volumes — released alongside the SIGGRAPH 2022 paper "Instant Neural Graphics Primitives with a Multiresolution Hash Encoding" by Thomas Müller, Alex Evans, Christoph Schied and Alexander Keller. In every case the model is a small MLP fed by a multiresolution hash input encoding, trained and rendered through NVIDIA's tiny-cuda-nn framework.

The hash encoding is the whole point. It replaces the large coordinate network that made earlier NeRFs slow with a compact learned lookup structure, which collapses training from hours to seconds — the README's own framing is training a NeRF of a fox in under five seconds. Because the same encoding works for SDFs, images and volumes, one codebase covers reconstruction, implicit geometry and gigapixel image fitting.

It ships as an interactive application rather than a script. The GUI lets you explore a primitive with full camera controls, view it in VR through a headset, save and load "snapshots" to share a trained scene, edit a camera path to render video, convert NeRF→Mesh and SDF→Mesh, and optimise camera pose and lens parameters. Python bindings are available for scripted use.

Windows users can download a prebuilt release matching their GPU generation — Blackwell (RTX 5000 series), Ampere and Ada (RTX 3000/4000, A4000–A6000), Turing (RTX 2000, Titan RTX, Quadro RTX 4000–8000) or Pascal (GTX 1000, Titan Xp, Quadro P1000–P6000) — and run instant-ngp.exe directly. Linux users, anyone wanting the Python bindings, and owners of Hopper, Volta or Maxwell cards build from source. Note the licence: the repository is under the NVIDIA Source Code License for instant neural graphics primitives, not an OSI open-source licence, and the README points business enquiries at NVIDIA's research licensing form.

What it does

  • Four primitives from one codebase: NeRF, signed distance functions, neural images and neural volumes
  • Multiresolution hash input encoding over tiny-cuda-nn, cutting NeRF training from hours to seconds
  • Interactive GUI with comprehensive camera controls, plus a VR mode for viewing primitives in a headset
  • Snapshots for saving, loading and sharing a trained primitive
  • Camera-path editor for rendering videos, and NeRF→Mesh / SDF→Mesh conversion
  • Camera pose and lens optimisation during training
  • Prebuilt Windows binaries per GPU generation, plus Python bindings when built from source

Getting started

On Windows, download the release for your graphics card and extract it — no build required. On Linux, for the Python bindings, or on Hopper/Volta/Maxwell GPUs, build instant-ngp from source following the repository's build instructions.

Install on Windows

Download the archive matching your card — RTX 5000 series and other Blackwell cards, RTX 3000/4000 and other Ampere & Ada cards, RTX 2000 series and other Turing cards, or GTX 1000 series and other Pascal cards — extract it, and start instant-ngp.exe.

bashbash
# Extract the downloaded archive, then:
instant-ngp.exe

Train the bundled NeRF

Drag the data/nerf/fox folder into the window, or pass it on the command line. Any NeRF-compatible dataset works the same way.

bashbash
./instant-ngp data/nerf/fox

Fit a signed distance function

Point the same binary at a mesh to fit an SDF instead of a radiance field.

bashbash
./instant-ngp data/sdf/armadillo.obj

Fit an image

The neural-image primitive takes an image file directly. For the gigapixel results, convert a large image to the custom .bin format first with the bundled script.

bashbash
./instant-ngp data/image/albert.exr

python scripts/convert_image.py <large image>

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Reconstructing a scene from photos fast enough to iterate on the capture itself
  • Fitting signed distance functions to meshes for implicit-geometry research or downstream rendering
  • Exporting a mesh from a NeRF or SDF for use in a conventional 3D pipeline
  • Gigapixel image fitting and neural-volume experiments on a single GPU

How Instant NGP compares

Instant NGP alongside other open-source 3d reconstruction & radiance fields tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
3D Gaussian Splatting★ 24.6kThe authors' implementation of 3D Gaussian Splatting: optimise a scene captured in photos into millions of anisotropic 3D Gaussians, then render novel views of it in real time at 1080p.
Instant NGP★ 17.6kTrain a NeRF in seconds, then explore it in an interactive GUI
COLMAP★ 13.3kA Structure-from-Motion and Multi-View Stereo pipeline with a GUI and CLI that recovers camera poses and dense geometry from ordered or unordered photo collections.
Meshroom★ 13.1kA node-based visual programming framework for photogrammetry and imaging pipelines, shipping with computer-vision and machine-learning plugins and running locally or on a render farm.