# instant-ngp

> Instant neural graphics primitives: lightning fast NeRF and more

- Type: agent or tool
- Field: ML & AI
- Repository: https://github.com/NVlabs/instant-ngp
- GitHub stars: 17577
- Licence: NOASSERTION
- Language: Cuda
- Last push: 2026-02-02
- Page: https://imutechz.in/agents/instant-ngp

## What it is
Instant-ngp is an implementation of four neural graphics primitives: neural radiance fields (NeRF), signed distance functions (SDFs), neural images, and neural volumes. It trains and renders an MLP with multiresolution hash input encoding using the tiny-cuda-nn framework. It is aimed at researchers and developers working with neural graphics on NVIDIA GPUs, and ships with an interactive GUI for exploring trained primitives.

## Features
- Trains and renders NeRF, SDF, neural image, and neural volume primitives
- Uses multiresolution hash input encoding via tiny-cuda-nn
- Interactive GUI with comprehensive controls and a VR mode
- Save and load snapshots to share primitives
- Camera path editor for creating videos
- NeRF- Mesh and SDF- Mesh conversion, plus camera pose and lens optimization

## Best for
- Training NeRF models from photo datasets
- Fitting SDFs from meshes such as OBJ files
- Rendering neural images and volumes
- Exploring neural graphics primitives interactively in a GUI

## Pros
- Prebuilt Windows releases for several NVIDIA GPU generations
- Works with any NeRF-compatible dataset
- Includes an interactive GUI with VR mode and snapshot sharing

## Cons
- Linux users, Python bindings, and unlisted GPUs require building it yourself
- Prebuilt Windows releases are tied to specific GPU generations

## Usage
```
./instant-ngp data/nerf/fox
```

Tags: nerf, neural-graphics, cuda, nvidia, sdf, volume-rendering, tiny-cuda-nn, gpu
