{
 "id": "dreamgaussian",
 "title": "DreamGaussian",
 "aliases": [
  "DreamGaussian text/image-to-3D"
 ],
 "domain": "genai",
 "subdomain": "score-distillation 3D generation",
 "stage": "generation",
 "realtime": "interactive",
 "platforms": [
  "python",
  "cuda"
 ],
 "year_introduced": 2023,
 "inputs": [
  "photos",
  "text-prompt"
 ],
 "outputs": [
  "gaussians",
  "mesh",
  "texture"
 ],
 "style": "both",
 "dynamic": "static",
 "summary": "Generates a 3D asset from one image or a prompt by optimising Gaussian splats with score distillation, then extracting a textured mesh, finishing in about a couple of minutes instead of the hour-scale of NeRF-based pipelines.",
 "how_it_works": "Stage one initialises a few thousand random 3D Gaussians and optimises them with score distillation sampling (see `score-distillation-sampling`): renders from random cameras are scored by a pretrained multi-view or image-conditioned diffusion model (Zero-1-to-3 style for image input), while the input view is also supervised directly. Gaussian splatting converges quickly and its densification schedule is adapted to the stochastic SDS loss, which makes this stage far faster than implicit fields. Stage two converts the splats to a mesh by querying a local density grid with block-wise marching cubes (see `marching-cubes`), computes UVs, back-projects colour from splats into a texture, and refines the texture with an image-to-image diffusion loss on rendered views, using multiview-consistent denoising. Output is a standard textured mesh ready for game engines.",
 "when_to_use": "Choose it for quick single-image or prompt prototyping where a coarse textured mesh in a minute or two beats waiting for a heavy pipeline. Prefer feed-forward image-to-3D such as `triposr`, `instantmesh` or `trellis` when you need seconds and more reliable geometry, `hunyuan3d-2` for higher-fidelity production assets, and `gaussian-splatting-3dgs` reconstruction when you have real multi-view photos.",
 "cost": {
  "class": "heavy",
  "notes": "Minutes per asset on a single modern GPU; optimisation-based, so not interactive per frame."
 },
 "failure_modes": [
  "Janus (multi-face) problem and flat or hollow backs because SDS has no strong 3D prior",
  "Over-saturated, blurry textures typical of score distillation guidance",
  "Floaters and noisy geometry in the splat stage that survive into the extracted mesh",
  "Texture seams and smearing after UV back-projection on thin parts",
  "Single-view ambiguity: occluded sides are hallucinated and may not match intent"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "arxiv:2309.16653",
   "type": "paper",
   "title": "DreamGaussian: Generative Gaussian Splatting for Efficient 3D Content Creation",
   "authors": [
    "Jiaxiang Tang",
    "Jiawei Ren",
    "Hang Zhou",
    "Ziwei Liu",
    "Gang Zeng"
   ],
   "year": 2023,
   "venue": "arXiv preprint (cs.CV)",
   "url": "https://arxiv.org/abs/2309.16653",
   "ids": {
    "arxiv": "2309.16653"
   },
   "license": null,
   "extra": {
    "arxiv_version": "2",
    "category": "cs.CV"
   },
   "provenance": {
    "title": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2309.16653",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2309.16653",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2309.16653",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2309.16653",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2309.16653",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "tang2023dreamgaussian"
  },
  {
   "role": "implementation",
   "key": "gh:dreamgaussian/dreamgaussian",
   "type": "code",
   "title": "dreamgaussian/dreamgaussian",
   "description": "[ICLR 2024 Oral] Generative Gaussian Splatting for Efficient 3D Content Creation",
   "authors": [
    "dreamgaussian"
   ],
   "year": 2023,
   "venue": "GitHub",
   "url": "https://github.com/dreamgaussian/dreamgaussian",
   "ids": {
    "repo": "dreamgaussian/dreamgaussian"
   },
   "license": "MIT",
   "extra": {
    "stars": 4367,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2024-01-02T04:12:09Z",
    "language": "Python",
    "homepage": "https://dreamgaussian.github.io/",
    "license_name": "MIT License"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/dreamgaussian/dreamgaussian",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/dreamgaussian/dreamgaussian",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/dreamgaussian/dreamgaussian",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/dreamgaussian/dreamgaussian",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/dreamgaussian/dreamgaussian",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/dreamgaussian/dreamgaussian",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "dreamgaussian2023dreamgaussian"
  }
 ],
 "presets": [
  {
   "id": "dreamgaussian-live",
   "title": "DreamGaussian — Stage-1 generative 3D Gaussian splats (left) vs Stage-2 UV-textured mesh (right)",
   "runtime": "glsl-fragment",
   "params": {
    "P_SPLAT_SIZE": 0.14,
    "P_REFINE": 0.85,
    "P_ROT_SPEED": 0.65,
    "P_SPLIT": 0.48
   },
   "basis": "original",
   "license_note": "MIT — written for this index.",
   "code": "const float P_SPLAT_SIZE = 0.14; // P Splat Radius [0.06, 0.26, 0.01]\nconst float P_REFINE = 0.85; // P Stage-2 Detail [0.1, 1.0, 0.02]\nconst float P_ROT_SPEED = 0.65; // P Orbit Speed [0.0, 2.2, 0.05]\nconst float P_SPLIT = 0.48; // P Splats / Mesh Split [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\nvec3 hash31(float x) {\n  vec3 p = fract(vec3(x) * vec3(0.1031, 0.1030, 0.0973));\n  p += dot(p, p.yzx + 33.33);\n  return fract((p.xxy + p.yzz) * p.zyx);\n}\n\n// Sculpted stylized crystal-urn creature (smooth union of body, wings, and crown)\nfloat smin(float a, float b, float k) {\n  float h = clamp(0.5 + 0.5 * (b - a) / k, 0.0, 1.0);\n  return mix(b, a, h) - k * h * (1.0 - h);\n}\n\nfloat mapAsset(vec3 p, float spin) {\n  vec3 q = p;\n  q.xz = rot2(spin * 0.52) * q.xz;\n  float body = length(q * vec3(1.0, 0.78, 1.0) - vec3(0.0, -0.06, 0.0)) - 0.44;\n  float head = length(q - vec3(0.0, 0.46, 0.06)) - 0.24;\n  vec3 wq = vec3(abs(q.x), q.y, q.z);\n  float wing = length((wq - vec3(0.42, 0.06, -0.08)) * vec3(0.7, 1.25, 2.1)) - 0.26;\n  float d = smin(body, head, 0.14);\n  d = smin(d, wing, 0.12);\n  return d * 0.85;\n}\n\nvec3 calcNormal(vec3 p, float spin) {\n  vec2 e = vec2(0.0025, 0.0);\n  return normalize(vec3(\n    mapAsset(p + e.xyy, spin) - mapAsset(p - e.xyy, spin),\n    mapAsset(p + e.yxy, spin) - mapAsset(p - e.yxy, spin),\n    mapAsset(p + e.yyx, spin) - mapAsset(p - e.yyx, spin)\n  ));\n}\n\n// Stage-2 refined procedural UV texture\nvec3 stage2Texture(vec3 objP, float detail) {\n  float bands = 0.5 + 0.5 * sin(objP.y * 16.0 + sin(objP.x * 9.0) * 1.4);\n  float plume = 0.5 + 0.5 * cos(atan(objP.z, objP.x) * 8.0 + objP.y * 10.0);\n  vec3 cobalt = vec3(0.14, 0.36, 0.82);\n  vec3 coral = vec3(0.95, 0.42, 0.26);\n  vec3 gold = vec3(0.98, 0.80, 0.28);\n  vec3 col = mix(cobalt, coral, smoothstep(-0.35, 0.45, objP.y));\n  col = mix(col, gold, smoothstep(0.55, 0.92, bands * plume) * detail);\n  return col;\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  float splatR = clamp(P_SPLAT_SIZE, 0.05, 0.28);\n  float detail = clamp(P_REFINE, 0.05, 1.0);\n  float spin = iTime * max(P_ROT_SPEED, 0.0);\n\n  vec3 ro = vec3(0.0, 0.08, 2.35);\n  vec3 rd = normalize(vec3(uv, -1.55));\n  vec3 bg = mix(vec3(0.025, 0.032, 0.054), vec3(0.068, 0.085, 0.132), smoothstep(-0.55, 0.55, uv.y));\n  vec3 col = bg;\n\n  if (screenX < split) {\n    // Left: Stage-1 generative 3D Gaussian Splats (28 anisotropic 3D Gaussians alpha-blended front-to-back)\n    vec3 accum = vec3(0.0);\n    float T = 1.0;\n    for (int i = 0; i < 32; i++) {\n      float fi = float(i);\n      vec3 h = hash31(fi * 7.13 + 1.9);\n      float theta = h.x * 6.2831853;\n      float y = (h.y - 0.48) * 1.15;\n      float rad = (y > 0.26) ? 0.22 : (0.42 + 0.22 * step(0.68, h.z));\n      vec3 cObj = vec3(cos(theta) * rad, y, sin(theta) * rad * (h.z > 0.68 ? 0.45 : 0.9));\n      vec3 cWorld = cObj;\n      cWorld.xz = rot2(-spin * 0.52) * cWorld.xz;\n\n      // Project 3D Gaussian center onto ray\n      vec3 oc = cWorld - ro;\n      float tProj = dot(oc, rd);\n      if (tProj > 0.2) {\n        vec3 dPerp = oc - rd * tProj;\n        // Anisotropic stretch along tangent direction\n        float aniso = 0.65 + 0.85 * h.z;\n        float dist2 = dot(dPerp, dPerp) / max(splatR * splatR * aniso, 1e-5);\n        float g = exp(-dist2 * 2.2);\n        if (g > 0.015) {\n          float alpha = clamp(g * 0.72, 0.0, 0.92);\n          vec3 gCol = stage2Texture(cObj, 0.85) * (0.65 + 0.55 * clamp(cWorld.z + 0.6, 0.0, 1.0));\n          // Slight Gaussian ellipsoid rim\n          float core = smoothstep(0.65, 0.95, g);\n          accum += T * alpha * (gCol + vec3(0.18, 0.22, 0.28) * core);\n          T *= (1.0 - alpha);\n          if (T < 0.02) break;\n        }\n      }\n    }\n    col = accum + T * bg;\n  } else {\n    // Right: Stage-2 extracted UV mesh with refined PBR shading\n    float t = 0.0;\n    bool hit = false;\n    for (int i = 0; i < 56; i++) {\n      float d = mapAsset(ro + rd * t, spin);\n      if (d < 0.0025) { hit = true; break; }\n      t += d;\n      if (t > 5.0) break;\n    }\n    if (hit) {\n      vec3 p = ro + rd * t;\n      vec3 n = calcNormal(p, spin);\n      vec3 objP = p;\n      objP.xz = rot2(spin * 0.52) * objP.xz;\n\n      vec3 l1 = normalize(vec3(0.55, 0.82, 0.52));\n      vec3 l2 = normalize(vec3(-0.68, -0.20, 0.55));\n      float diff1 = max(dot(n, l1), 0.0);\n      float diff2 = max(dot(n, l2), 0.0);\n      float spec = pow(max(dot(n, normalize(l1 - rd)), 0.0), 42.0);\n      float fres = pow(1.0 - max(dot(n, -rd), 0.0), 3.0);\n\n      vec3 alb = stage2Texture(objP, detail);\n      col = alb * (0.28 + 0.85 * diff1 + 0.26 * diff2)\n          + vec3(1.0, 0.96, 0.90) * spec * 0.45\n          + vec3(0.32, 0.75, 1.0) * fres * 0.38;\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": "dreamgaussian",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T20:35:47.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.4807,
      "std": 0.2233,
      "min": 0.1766,
      "max": 0.9014
     },
     "image": "/specimens/dreamgaussian-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "score-distillation-sampling",
  "gaussian-splatting-3dgs",
  "zero-1-to-3",
  "triposr",
  "instantmesh",
  "trellis",
  "large-reconstruction-model",
  "marching-cubes"
 ],
 "extends": [
  "score-distillation-sampling",
  "gaussian-splatting-3dgs"
 ],
 "supersedes": [],
 "combines_with": [
  {
   "id": "marching-cubes",
   "why": "A density grid sampled from the splats is meshed by marching cubes to get the exportable surface."
  }
 ],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/genai/dreamgaussian.json"
 },
 "solves": [
  "turn a single image into a 3d model in a couple of minutes",
  "need fast text to 3d prototype with a mesh export",
  "previous score distillation pipelines take an hour per asset",
  "want gaussian splat output from one photo",
  "generated 3d asset needs a textured mesh not just splats"
 ],
 "authority": "Tang et al., 2023",
 "url": "https://texelatlas.vercel.app/t/dreamgaussian/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 28.63,
  "tier": "heavy",
  "p50_ms": 0.9419,
  "p95_ms": 0.9653,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 32,
  "preset_id": "dreamgaussian-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 20.16,
   "tier": "heavy",
   "p50_ms": 0.3206,
   "p95_ms": 0.395,
   "speedup_x": 2.94,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 19.72,
   "tier": "moderate",
   "p50_ms": 0.568,
   "p95_ms": 0.5881,
   "speedup_x": 1.66,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}