{
 "id": "mip-nerf-360",
 "title": "Mip-NeRF 360",
 "aliases": [
  "mip-NeRF 360"
 ],
 "domain": "capture",
 "subdomain": "neural scene representation",
 "stage": "capture",
 "realtime": "offline",
 "platforms": [
  "cuda",
  "python"
 ],
 "year_introduced": 2021,
 "inputs": [
  "photos",
  "camera-poses"
 ],
 "outputs": [
  "radiance-field"
 ],
 "style": "photoreal",
 "dynamic": "static",
 "summary": "Extends NeRF to unbounded 360-degree scenes with a scene contraction, anti-aliased conical frustum sampling and a proposal network, plus a distortion regulariser that removes floaters.",
 "how_it_works": "Three ideas stack. First, rays are modelled as cone frustums and encoded with an integrated positional encoding, so far or low-resolution samples are blurred instead of aliased. Second, a contraction maps unbounded space into a bounded ball: points inside stay linear, outside points are squashed so infinity sits at a finite radius, letting sky and distant buildings be represented. Third, a small proposal MLP predicts coarse weights along each ray, supervised by the full model, and replaces the expensive second NeRF pass for importance sampling. A distortion loss penalises weights that are spread out along a ray, pushing density to concentrate on surfaces and suppressing fog and floaters.",
 "when_to_use": "Choose it when you want the highest-quality offline NeRF baseline on unbounded captures and its benchmark scenes. Prefer `instant-ngp` for speed, `gaussian-splatting-3dgs` for real-time rendering of the same captures, and `mip-splatting` when anti-aliasing across zoom levels is the concern.",
 "cost": {
  "class": "offline",
  "notes": "Hours of training per scene on accelerator hardware; far slower than hash-grid and splat methods."
 },
 "failure_modes": [
  "Slow training and rendering make iteration painful",
  "Residual floaters near cameras and haze at the contraction boundary",
  "Thin structures and distant detail are still lost because contraction squeezes background samples",
  "Quality depends on accurate poses and constant exposure; lighting changes bake into the field"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "arxiv:2111.12077",
   "type": "paper",
   "title": "Mip-NeRF 360: Unbounded Anti-Aliased Neural Radiance Fields",
   "authors": [
    "Jonathan T. Barron",
    "Ben Mildenhall",
    "Dor Verbin",
    "Pratul P. Srinivasan",
    "Peter Hedman"
   ],
   "year": 2021,
   "venue": "arXiv preprint (cs.CV)",
   "url": "https://arxiv.org/abs/2111.12077",
   "ids": {
    "arxiv": "2111.12077"
   },
   "license": null,
   "extra": {
    "arxiv_version": "3",
    "category": "cs.CV"
   },
   "provenance": {
    "title": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2111.12077",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2111.12077",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2111.12077",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2111.12077",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2111.12077",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "barron2021nerf"
  },
  {
   "role": "implementation",
   "key": "gh:google-research/multinerf",
   "type": "code",
   "title": "google-research/multinerf",
   "description": "A Code Release for Mip-NeRF 360, Ref-NeRF, and RawNeRF",
   "authors": [
    "google-research"
   ],
   "year": 2022,
   "venue": "GitHub",
   "url": "https://github.com/google-research/multinerf",
   "ids": {
    "repo": "google-research/multinerf"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 3801,
    "stars_checked": "2026-11-29",
    "archived": true,
    "fork": false,
    "pushed_at": "2023-12-08T20:14:39Z",
    "language": "Python",
    "homepage": null,
    "license_name": "Apache License 2.0"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-research/multinerf",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-research/multinerf",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-research/multinerf",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-research/multinerf",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-research/multinerf",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-research/multinerf",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "googleresearch2022google"
  }
 ],
 "presets": [
  {
   "id": "mip-nerf-360-live",
   "title": "Mip-NeRF 360 — unbounded scene contraction map (left) vs anti-aliased conical IPE 360 scene (right)",
   "runtime": "glsl-fragment",
   "params": {
    "P_IPE_FILTER": 0.75,
    "P_CONTRACT_VIS": 1,
    "P_CAM_ORBIT": 0.55,
    "P_SPLIT": 0.46
   },
   "basis": "original",
   "license_note": "MIT — written for this index.",
   "code": "const float P_IPE_FILTER = 0.75; // P Conical IPE [0.0, 1.5, 0.05]\nconst float P_CONTRACT_VIS = 1.0; // P Contraction Grid [0.2, 1.6, 0.05]\nconst float P_CAM_ORBIT = 0.55; // P Camera Orbit [0.0, 2.2, 0.05]\nconst float P_SPLIT = 0.46; // P Contraction / 360 [0.0, 1.0, 0.02]\n\nmat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }\n\n// Mip-NeRF 360 scene contraction: identity inside ||x||<=1, maps unbounded infinity into ||x||<=2\nvec3 contract360(vec3 x) {\n  float r = length(x);\n  if (r <= 1.0) return x;\n  return (2.0 - 1.0 / max(r, 1e-4)) * (x / max(r, 1e-4));\n}\n\n// Band-limited sinusoidal checkerboard using conical frustum variance (Integrated Positional Encoding)\nfloat evalIPECheck(vec2 p, float coneVar) {\n  float att1 = exp(-0.5 * coneVar * 36.0);\n  float att2 = exp(-0.5 * coneVar * 144.0);\n  float c1 = sin(p.x * 6.0) * sin(p.y * 6.0) * att1;\n  float c2 = sin(p.x * 12.0) * sin(p.y * 12.0) * att2 * 0.45;\n  return 0.5 + 0.42 * c1 + 0.18 * c2;\n}\n\nvec3 aces(vec3 x) {\n  x = max(x, 0.0);\n  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;\n  float screenX = fragCoord.x / max(iResolution.x, 1.0);\n  float split = clamp(P_SPLIT, 0.0, 1.0);\n  bool isContract = screenX < split;\n  float ipeGain = clamp(P_IPE_FILTER, 0.0, 1.8);\n  float gridGain = clamp(P_CONTRACT_VIS, 0.1, 1.8);\n  float spin = iTime * max(P_CAM_ORBIT, 0.0);\n\n  vec3 ro = vec3(0.0, 0.52, 2.15);\n  vec3 rd = normalize(vec3(uv - vec2(0.0, 0.08), -1.35));\n  ro.xz = rot2(spin * 0.42) * ro.xz;\n  rd.xz = rot2(spin * 0.42) * rd.xz;\n\n  // Unbounded 360-degree mountain horizon & twilight sky\n  float az = atan(rd.z, rd.x);\n  float mtnH = 0.06 + 0.08 * sin(az * 3.0) + 0.05 * cos(az * 7.0 + 1.2) + 0.025 * sin(az * 15.0);\n  vec3 sky = mix(vec3(0.95, 0.58, 0.34), vec3(0.10, 0.24, 0.52), smoothstep(-0.02, 0.48, rd.y));\n  vec3 col = (rd.y < mtnH && rd.y > -0.02) ? mix(vec3(0.12, 0.18, 0.30), vec3(0.28, 0.34, 0.46), smoothstep(0.0, mtnH, rd.y)) : sky;\n\n  // Intersect foreground hero sphere (at origin, R=0.52) and unbounded ground plane (y = -0.52)\n  float b = dot(ro, rd);\n  float c = dot(ro, ro) - 0.52 * 0.52;\n  float disc = b * b - c;\n  float tSph = (disc > 0.0 && (-b - sqrt(disc)) > 0.05) ? (-b - sqrt(disc)) : 1e5;\n  float tPl = (rd.y < -0.005) ? ((-0.52 - ro.y) / rd.y) : 1e5;\n  if (tPl < 0.05) tPl = 1e5;\n\n  vec3 lDir = normalize(vec3(0.62, 0.72, 0.45));\n\n  if (tSph < tPl && tSph < 1e4) {\n    vec3 p = ro + rd * tSph;\n    vec3 n = normalize(p);\n    float diff = max(dot(n, lDir), 0.0);\n    float spec = pow(max(dot(n, normalize(lDir - rd)), 0.0), 40.0);\n    vec3 alb = mix(vec3(0.95, 0.44, 0.24), vec3(0.98, 0.80, 0.32), 0.5 + 0.5 * sin(p.y * 10.0 + p.x * 8.0));\n    col = alb * (0.28 + 0.82 * diff) + vec3(1.0) * spec * 0.48;\n  } else if (tPl < 1e4) {\n    vec3 p = ro + rd * tPl;\n    float rWorld = length(p);\n    // Conical frustum radius grows linearly with ray distance t\n    float coneR = tPl * 0.0045 * ipeGain;\n    float coneVar = coneR * coneR;\n\n    if (isContract) {\n      // Left: Mip-NeRF 360 contracted space visualization (shows ||x||=1 core boundary + contracted radial shells!)\n      vec3 pc = contract360(p);\n      float rc = length(pc);\n      float unitBoundary = exp(-abs(rWorld - 1.0) * 14.0);\n      float shells = smoothstep(0.08, 0.02, abs(fract(rc * 6.0) - 0.5));\n      float spokes = smoothstep(0.06, 0.015, abs(fract(atan(pc.z, pc.x) * 12.0 / 6.2831853) - 0.5));\n      vec3 zoneCol = (rWorld <= 1.0)\n        ? vec3(0.16, 0.78, 0.94)\n        : mix(vec3(0.18, 0.36, 0.78), vec3(0.82, 0.28, 0.76), clamp(rc - 1.0, 0.0, 1.0));\n      col = zoneCol * (0.25 + 0.55 * max(shells, spokes * 0.7) * gridGain);\n      col += vec3(1.0, 0.84, 0.24) * unitBoundary * 1.35;\n      col = mix(col, sky, 1.0 - exp(-tPl * 0.04));\n    } else {\n      // Right: Anti-aliased conical IPE unbounded ground plane + subtle foreground reflection\n      float pat = evalIPECheck(p.xz, coneVar);\n      vec3 gCol = mix(vec3(0.14, 0.20, 0.28), vec3(0.74, 0.78, 0.84), pat);\n      // Soft contact shadow under foreground orb\n      float sh = smoothstep(0.32, 0.78, length(p.xz));\n      gCol *= (0.42 + 0.58 * sh);\n      col = mix(gCol, sky, 1.0 - exp(-tPl * 0.055));\n    }\n  }\n\n  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));\n  col = mix(col, vec3(0.95, 0.97, 1.0), sep);\n\n  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);\n}",
   "execution_fidelity": "conceptual-diagram",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-30",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "mip-nerf-360",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T20:35:53.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.753,
      "std": 0.094,
      "min": 0.4777,
      "max": 0.9364
     },
     "image": "/specimens/mip-nerf-360-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "nerf",
  "instant-ngp",
  "mip-splatting"
 ],
 "extends": [
  "nerf"
 ],
 "supersedes": [],
 "combines_with": [],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/capture/mip-nerf-360.json"
 },
 "solves": [
  "nerf fails on large unbounded 360 captures",
  "background in radiance field is blurry or aliased",
  "floaters show up in captured scene renders",
  "need top-quality offline novel views of outdoor scenes",
  "scene extends infinitely and breaks bounded models"
 ],
 "authority": "Barron et al., 2021",
 "url": "https://texelatlas.vercel.app/t/mip-nerf-360/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 3.42,
  "tier": "light",
  "p50_ms": 0.1126,
  "p95_ms": 0.1158,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 32,
  "preset_id": "mip-nerf-360-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 2.73,
   "tier": "light",
   "p50_ms": 0.0434,
   "p95_ms": 0.0441,
   "speedup_x": 2.59,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 2.05,
   "tier": "light",
   "p50_ms": 0.0591,
   "p95_ms": 0.0593,
   "speedup_x": 1.91,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}