Skip to content

Video understanding, tracking, generation, and world models · World models and dynamic 3D · VID064 · Model

D-NeRF

Represents a dynamic scene by mapping time-dependent points into a canonical radiance field. It supports rendering novel views at different times from posed images, connecting video to continuous 3D scene reconstruction.

Explained here Component demo, not a trained model CodeSplash's run and the reference's record

In CodeSplash

Documented in the Academy only. There's no Set up button.

Availability
Explained here
Code example
Component demo, not a trained model
Who ran it
CodeSplash's run and the reference's record
CodeSplash's run
The reference's example ran in Python and R here, and they agree.
The reference's record
Python: Ran in the reference's review. The report doesn't record which version of the code ran. R: Reviewed but not run: R wasn't available to the reference's authors.

Purpose

Represents a dynamic scene by mapping time-dependent points into a canonical radiance field. It supports rendering novel views at different times from posed images, connecting video to continuous 3D scene reconstruction.

Question / objective

Predict, control or reconstruct dynamic visual scenes under an explicit observation/action/camera model. This is a learning or inference objective, not a test of a statistical null hypothesis.

Method type and supervision

model · World models and dynamic 3D. Mixed: passive video learning, interaction-conditioned learning, or scene fitting from calibrated observations.

Architecture / computational structure

Time-conditioned deformation network, canonical radiance field and differentiable volume renderer.

Assumptions

Inputs must satisfy the temporal, modality and annotation protocol described below. Deformation and geometry are ambiguous with limited views. Assumed scene behavior may fail for topology changes, occlusions or rapidly changing illumination; reconstruction is not unconditional video generation.

Formula / computational definition

xc=x+Δθ(x,t)x_c=x+\Delta_\theta(x,t) maps a point to canonical coordinates, then (σ,c)=Fϕ(xc,d)(\sigma,c)=F_\phi(x_c,d) supplies density and color for viewing direction dd. Volume rendering integrates these values along camera rays.

Parameters and notation

Learned/estimated quantities: Learned quantities depend on the system: dynamics/representation weights or scene-specific geometry, motion, appearance and opacity; planning actions are optimized inputs. Symbols specific to the objective are defined with the equation. Hyperparameters and design choices: Camera calibration, time encoding, deformation capacity, ray sampling, scene bounds and regularization matter.

Fitting, fine-tuning, and adaptation

Optimize scene-specific fields and deformation with fixed calibrated cameras first. This is typically per-scene fitting rather than generic classifier fine-tuning; validate novel times and views. Use a separate adaptation validation split, monitor the target metric and retention of previously useful behavior, and save the exact preprocessing and training configuration.

How to use and calibrate

Fix the input protocol and target before fitting; choose design settings on held-out source videos, then freeze the evaluation procedure. Hold out camera views and times; report image quality plus geometry/temporal consistency where ground truth exists.

Example application

Render a moving object from a camera viewpoint absent from training.

Interpretation / pitfalls

Watch out

An optimized training objective or a favorable example does not establish generalization. Hold out camera views and times; report image quality plus geometry/temporal consistency where ground truth exists. The example below isolates one mechanism and cannot substantiate a full-model benchmark claim.

Python and R code examples

Component: Composite densities and colors along a neural-rendering ray. Dependencies: NumPy in Python; base R in R; run the shared setup above. Python component: executed successfully. R component: unexecuted. No complete model training or pretrained inference was executed.

Full implementation route — Python: Implement deformation and canonical field networks with differentiable ray rendering, or use the authors' code. R: Compute small ray-compositing examples in R; bridge optimization and rendering through Python because full neural rendering is computationally intensive.

Python and R

The reference's own programs, shown as written. A component demo shows one central piece of the method; it doesn't train a full model.

Python

Component demo, not a trained model — Composite densities and colors along a neural-rendering ray.

Shared setup for this chapter
import numpy as np

def softmax(x):
    z = np.asarray(x, dtype=float)
    e = np.exp(z - z.max())
    return e / e.sum()
density = np.array([.5,1.,.2]); delta = np.ones(3)*.4
color = np.array([.2,.8,.5])
alpha = 1-np.exp(-density*delta)
transmittance = np.r_[1.,np.cumprod(1-alpha)[:-1]]
rendered = np.sum(transmittance*alpha*color)
print("ray color",rendered,"residual background weight",np.prod(1-alpha))
R

Component demo, not a trained model — Composite densities and colors along a neural-rendering ray.

Shared setup for this chapter
softmax <- function(x) {
  e <- exp(x - max(x))
  e / sum(e)
}
density <- c(.5,1,.2); delta <- rep(.4,3); color <- c(.2,.8,.5)
alpha <- 1-exp(-density*delta)
transmittance <- c(1,head(cumprod(1-alpha),-1))
print(sum(transmittance*alpha*color)); print(prod(1-alpha))

Sources

From the CodeSplash reference, entry VID064.