{
 "id": "4d-gaussian-splatting",
 "title": "4D Gaussian Splatting",
 "aliases": [
  "4DGS",
  "dynamic gaussian splatting"
 ],
 "domain": "capture",
 "subdomain": "dynamic scene splatting",
 "stage": "capture",
 "realtime": "realtime",
 "platforms": [
  "cuda",
  "desktop-gpu",
  "python"
 ],
 "year_introduced": 2023,
 "inputs": [
  "photos",
  "camera-poses"
 ],
 "outputs": [
  "gaussians",
  "animation"
 ],
 "style": "photoreal",
 "dynamic": "dynamic",
 "summary": "Extends 3D Gaussian splatting to moving scenes by adding time: either a canonical set of Gaussians deformed per timestamp or primitives that are Gaussian in x, y, z and t.",
 "how_it_works": "There are two main families. Deformation-field methods keep one canonical set of 3D Gaussians and learn a compact network, often a multi-resolution HexPlane over (x, y, z, t) plus a tiny decoder, that predicts per-Gaussian offsets in position, rotation and scale at a query time; the deformed Gaussians then go through the usual splat rasteriser. Native 4D methods instead optimise Gaussians in four dimensions and slice them at time t to get a 3D Gaussian, with spherindrical harmonics for view and time-dependent colour. Training uses multi-view video or monocular video with known poses and the same photometric loss as static splatting, plus regularisers on motion smoothness. Rendering at inference is the standard splat sort and blend, so frame rates stay real time.",
 "when_to_use": "Choose it to capture and replay people or scenes in motion from synchronised multi-view video with free viewpoint. Prefer `gaussian-splatting-3dgs` for static scenes, `nerf`-based dynamic methods when memory per frame matters less than a fixed model, and `web-gaussian-splat-viewers` for playback in a browser once frames are exported; per-frame static splats are simplest but heavy for long clips.",
 "cost": {
  "class": "heavy",
  "notes": "Rendering stays in the real-time range on a desktop GPU per the papers' claims, but training takes tens of minutes per short clip and storage grows with duration."
 },
 "failure_modes": [
  "Fast, large motion or topology changes get smeared or leave floaters because the deformation is smooth in time",
  "Monocular video is under-constrained, so motion and geometry are ambiguous without additional depth or flow cues",
  "Memory and file size grow with sequence length, hurting streaming or web delivery",
  "Time-slicing artifacts appear when sampled time falls between training frames with sparse temporal coverage"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "arxiv:2310.08528",
   "type": "paper",
   "title": "4D Gaussian Splatting for Real-Time Dynamic Scene Rendering",
   "authors": [
    "Guanjun Wu",
    "Taoran Yi",
    "Jiemin Fang",
    "Lingxi Xie",
    "Xiaopeng Zhang",
    "Wei Wei",
    "Wenyu Liu",
    "Qi Tian",
    "Xinggang Wang"
   ],
   "year": 2023,
   "venue": "arXiv preprint (cs.CV)",
   "url": "https://arxiv.org/abs/2310.08528",
   "ids": {
    "arxiv": "2310.08528"
   },
   "license": null,
   "extra": {
    "arxiv_version": "3",
    "category": "cs.CV"
   },
   "provenance": {
    "title": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2310.08528",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2310.08528",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2310.08528",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2310.08528",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2310.08528",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "wu2023gaussian"
  },
  {
   "role": "implementation",
   "key": "gh:hustvl/4dgaussians",
   "type": "code",
   "title": "hustvl/4DGaussians",
   "description": "[CVPR 2024] 4D Gaussian Splatting for Real-Time Dynamic Scene Rendering",
   "authors": [
    "hustvl"
   ],
   "year": 2023,
   "venue": "GitHub",
   "url": "https://github.com/hustvl/4DGaussians",
   "ids": {
    "repo": "hustvl/4DGaussians"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 4049,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2024-10-27T04:07:37Z",
    "language": "Jupyter Notebook",
    "homepage": "https://guanjunwu.github.io/4dgs/",
    "license_name": "Apache License 2.0"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hustvl/4DGaussians",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hustvl/4DGaussians",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hustvl/4DGaussians",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hustvl/4DGaussians",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hustvl/4DGaussians",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/hustvl/4DGaussians",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "hustvl2023hustvl"
  },
  {
   "role": "implementation",
   "key": "gh:logosintelligencelab/4d-gaussian-splatting",
   "type": "code",
   "title": "LogosIntelligenceLab/4d-gaussian-splatting",
   "description": "[ICLR 2024] Real-time Photorealistic Dynamic Scene Representation and Rendering with 4D Gaussian Splatting",
   "authors": [
    "LogosIntelligenceLab"
   ],
   "year": 2023,
   "venue": "GitHub",
   "url": "https://github.com/LogosIntelligenceLab/4d-gaussian-splatting",
   "ids": {
    "repo": "LogosIntelligenceLab/4d-gaussian-splatting"
   },
   "license": "MIT",
   "extra": {
    "stars": 1063,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-10-24T14:38:55Z",
    "language": "Python",
    "homepage": "https://logosintelligencelab.github.io/4d-gaussian-splatting/",
    "license_name": "MIT License"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/LogosIntelligenceLab/4d-gaussian-splatting",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/LogosIntelligenceLab/4d-gaussian-splatting",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/LogosIntelligenceLab/4d-gaussian-splatting",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/LogosIntelligenceLab/4d-gaussian-splatting",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/LogosIntelligenceLab/4d-gaussian-splatting",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/LogosIntelligenceLab/4d-gaussian-splatting",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "logosintelligencelab2023logosintelligencelab"
  }
 ],
 "presets": [
  {
   "id": "4d-gaussian-splatting-live",
   "title": "4D Gaussian Splatting — spacetime hexplane velocity trails (left) vs dynamic 4D splats (right)",
   "runtime": "glsl-fragment",
   "params": {
    "P_TIME_RATE": 1,
    "P_DEFORM_AMP": 0.75,
    "P_SPLAT_RAD": 0.12,
    "P_SPLIT": 0.46
   },
   "basis": "original",
   "license_note": "MIT — written for this index.",
   "code": "const float P_TIME_RATE = 1.0; // P Temporal Speed [0.0, 2.5, 0.05]\nconst float P_DEFORM_AMP = 0.75; // P 4D Motion Amp [0.1, 1.4, 0.04]\nconst float P_SPLAT_RAD = 0.12; // P Splat Radius [0.05, 0.24, 0.01]\nconst float P_SPLIT = 0.46; // P Trajectories / 4DGS [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// Canonical 3D Gaussian i deformed by a smooth HexPlane spatiotemporal displacement field dX(x, t)\nvec3 eval4DPos(float fi, float t, float amp) {\n  float u = fi / 32.0;\n  float phi = fi * 2.3999632; // golden angle\n  float y0 = (u - 0.5) * 1.15;\n  float r0 = 0.42 * sqrt(max(1.0 - y0 * y0 * 0.9, 0.05)) + 0.14;\n  vec3 base = vec3(cos(phi) * r0, y0, sin(phi) * r0);\n\n  // HexPlane time-varying shear, wave ripple & flapping wing motion\n  float wave = sin(t * 2.2 + base.y * 4.2 + phi * 0.5);\n  float wing = cos(t * 1.8 - abs(base.x) * 3.5);\n  vec3 dx = vec3(\n    0.22 * wave * sign(base.x + 1e-4),\n    0.16 * wing + 0.10 * sin(t * 2.6 + phi),\n    0.20 * cos(t * 2.0 + base.y * 3.8)\n  ) * amp;\n  vec3 pos = base + dx;\n  pos.xz = rot2(t * 0.42) * pos.xz;\n  return pos;\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 isTrail = screenX < split;\n  float t = iTime * max(P_TIME_RATE, 0.0);\n  float amp = clamp(P_DEFORM_AMP, 0.05, 1.6);\n  float rad = clamp(P_SPLAT_RAD, 0.04, 0.26);\n\n  vec3 ro = vec3(0.0, 0.14, 2.35);\n  vec3 rd = normalize(vec3(uv, -1.52));\n  vec3 bg = mix(vec3(0.020, 0.026, 0.048), vec3(0.055, 0.072, 0.122), smoothstep(-0.55, 0.55, uv.y));\n\n  vec3 acc = vec3(0.0);\n  float T = 1.0;\n\n  for (int i = 0; i < 32; i++) {\n    float fi = float(i);\n    vec3 pNow = eval4DPos(fi, t, amp);\n    vec3 pPrev = eval4DPos(fi, t - 0.14, amp);\n    vec3 vel = pNow - pPrev;\n    float speed = length(vel);\n    vec3 vDir = vel / max(speed, 1e-4);\n\n    // Current Gaussian response\n    vec3 oc = pNow - ro;\n    float tProj = dot(oc, rd);\n    if (tProj > 0.2) {\n      vec3 perp = oc - rd * tProj;\n      // 4D covariance elongates along instantaneous velocity direction\n      float dV = dot(perp, vDir);\n      vec3 dN = perp - vDir * dV;\n      float stretch = 1.0 + speed * 5.0;\n      float m2 = (dot(dN, dN) + (dV * dV) / (stretch * stretch)) / max(rad * rad, 1e-4);\n      float g = exp(-m2 * 2.1);\n\n      if (g > 0.012) {\n        float a = clamp(g * 0.78, 0.0, 0.92);\n        vec3 baseCol = mix(vec3(0.14, 0.76, 0.96), vec3(0.98, 0.42, 0.24), fi / 32.0);\n        vec3 velCol = mix(vec3(0.18, 0.42, 0.92), vec3(1.0, 0.86, 0.24), clamp(speed * 7.0, 0.0, 1.0));\n        vec3 gCol = isTrail ? velCol : baseCol;\n        acc += T * a * gCol * (0.75 + 0.55 * g);\n        T *= (1.0 - a);\n        if (T < 0.02) break;\n      }\n    }\n\n    // On left side, draw spacetime motion trails (3 past temporal slices)\n    if (isTrail) {\n      for (int s = 1; s <= 3; s++) {\n        float fs = float(s);\n        vec3 pOld = eval4DPos(fi, t - fs * 0.10, amp);\n        vec3 oc2 = pOld - ro;\n        float tp2 = dot(oc2, rd);\n        if (tp2 > 0.2) {\n          vec3 perp2 = oc2 - rd * tp2;\n          float g2 = exp(-dot(perp2, perp2) / max(rad * rad * 0.18, 1e-5));\n          acc += T * g2 * 0.22 * (1.0 - fs * 0.25) * vec3(0.24, 0.92, 0.88);\n        }\n      }\n    }\n  }\n\n  vec3 col = acc + T * bg;\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": "4d-gaussian-splatting",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T20:35:44.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.4601,
      "std": 0.2026,
      "min": 0.1531,
      "max": 0.9014
     },
     "image": "/specimens/4d-gaussian-splatting-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "gaussian-splatting-3dgs",
  "web-gaussian-splat-viewers",
  "gsplat",
  "mip-splatting"
 ],
 "extends": [
  "gaussian-splatting-3dgs"
 ],
 "supersedes": [],
 "combines_with": [
  {
   "id": "structure-from-motion-colmap",
   "why": "Per-frame or first-frame COLMAP poses initialise the cameras and the canonical Gaussian set."
  }
 ],
 "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/4d-gaussian-splatting.json"
 },
 "solves": [
  "splat a scene that has moving people",
  "want free viewpoint video from multi view cameras",
  "reconstructed scene looks frozen when people or objects move",
  "replay captured motion in real time"
 ],
 "authority": "Wu et al., 2023",
 "url": "https://texelatlas.vercel.app/t/4d-gaussian-splatting/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 103.29,
  "tier": "extreme",
  "p50_ms": 3.3984,
  "p95_ms": 3.6849,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 32,
  "preset_id": "4d-gaussian-splatting-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 92.82,
   "tier": "extreme",
   "p50_ms": 1.4758,
   "p95_ms": 1.4847,
   "speedup_x": 2.3,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 72.07,
   "tier": "extreme",
   "p50_ms": 2.0756,
   "p95_ms": 2.0863,
   "speedup_x": 1.64,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}