{
 "id": "stylized-gaussian-splatting",
 "title": "Stylized Gaussian splatting (G-Style)",
 "aliases": [],
 "domain": "npr",
 "subdomain": "stylized splatting",
 "stage": "capture",
 "realtime": "interactive",
 "platforms": [
  "cuda",
  "python",
  "desktop-gpu"
 ],
 "year_introduced": 2024,
 "inputs": [
  "gaussians",
  "ldr-image"
 ],
 "outputs": [
  "gaussians"
 ],
 "style": "stylized",
 "dynamic": "static",
 "summary": "Restyles a trained Gaussian splat scene to match a reference image's style by optimising splat colours (and geometry) with a style loss, then renders it at normal splat speeds.",
 "how_it_works": "A scene is first reconstructed with ordinary 3D Gaussian splatting. A style image is then given, and the splat parameters are optimised with a loss computed on rendered views, combining a Gram-matrix-style statistic from a pretrained network with content preservation. The method adds measures to keep geometry stable, such as pruning and control over densification, so that stylization does not introduce floaters. After optimisation, the stylised scene is just another splat file and renders in real time with any splat viewer. The approach is from the arbitrary-style-transfer line applied to a point-based representation.",
 "when_to_use": "Choose it when you need a stylised splat scene that still runs in a normal splat viewer. Prefer `sillage-brush-splatting` for painting by replacing the splat footprint at render time without a per-style optimisation step.",
 "cost": {
  "class": "offline",
  "notes": "Optimisation takes minutes per style on a desktop GPU; rendering is standard splat cost."
 },
 "failure_modes": [
  "Style is baked into the splats; changing style means re-optimising",
  "Multi-view inconsistency can show as flicker between views",
  "Geometry is only weakly altered, so strong stylisation of shape is limited",
  "Depends on a good base reconstruction"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "doi:10.1111/cgf.15259",
   "type": "paper",
   "title": "<i>𝒢</i>‐Style: Stylized Gaussian Splatting",
   "authors": [
    "Áron S. Kovács",
    "Pedro Hermosilla",
    "Renata G. Raidou"
   ],
   "year": 2024,
   "venue": "Computer Graphics Forum",
   "url": "https://doi.org/10.1111/cgf.15259",
   "ids": {
    "doi": "10.1111/cgf.15259"
   },
   "license": null,
   "extra": {
    "csl_type": "journal-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.15259",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.15259",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.15259",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.15259",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1111/cgf.15259",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "kovcs2024style"
  },
  {
   "role": "primary",
   "key": "doi:10.1145/3592433",
   "type": "paper",
   "title": "3D Gaussian Splatting for Real-Time Radiance Field Rendering",
   "authors": [
    "Bernhard Kerbl",
    "Georgios Kopanas",
    "Thomas Leimkuehler",
    "George Drettakis"
   ],
   "year": 2023,
   "venue": "ACM Transactions on Graphics",
   "url": "https://doi.org/10.1145/3592433",
   "ids": {
    "doi": "10.1145/3592433"
   },
   "license": null,
   "extra": {
    "csl_type": "journal-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "kerbl2023gaussianb"
  }
 ],
 "presets": [
  {
   "id": "stylized-gaussian-splatting-live",
   "title": "Stylized Gaussian Splatting (G-Style) — photorealistic 3D Gaussian splats (left) vs style-optimized Van Gogh / Fauvist splat scene (right)",
   "runtime": "glsl-fragment",
   "params": {
    "P_STYLE_STR": 0.9,
    "P_SWIRL": 0.7,
    "P_ORBIT": 0.5,
    "P_SPLIT": 0.48
   },
   "basis": "original",
   "license_note": "MIT — written for this index.",
   "code": "const float P_STYLE_STR = 0.90; // P Style Loss Weight [0.0, 1.0, 0.05]\nconst float P_SWIRL = 0.70; // P Chromatic Swirl [0.0, 1.2, 0.05]\nconst float P_ORBIT = 0.50; // P Camera Orbit [0.0, 1.5, 0.05]\nconst float P_SPLIT = 0.48; // P Photoreal / G-Style [0.0, 1.0, 0.02]\n\nvec2 rot2(vec2 p, float a) {\n  float c = cos(a);\n  float s = sin(a);\n  return vec2(c * p.x - s * p.y, s * p.x + c * p.y);\n}\n\nfloat hash11(float p) {\n  p = fract(p * 0.1031);\n  p *= p + 33.33;\n  p *= p + p;\n  return fract(p);\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 isStyled = screenX >= split;\n  float styleStr = clamp(P_STYLE_STR, 0.0, 1.0);\n  float swirlAmt = clamp(P_SWIRL, 0.0, 1.3);\n  float t = iTime * max(P_ORBIT, 0.0);\n\n  // Photorealistic neutral studio sky vs Starry-Night cobalt-and-gold stylized sky\n  vec3 photoBg = mix(vec3(0.14, 0.16, 0.20), vec3(0.32, 0.38, 0.46), smoothstep(-0.45, 0.55, uv.y));\n  float skyFlow = sin(uv.x * 9.0 + sin(uv.y * 7.0 + t * 0.3) * 1.8) * cos(uv.y * 10.0 - uv.x * 5.0);\n  vec3 styleBg = mix(vec3(0.05, 0.12, 0.34), vec3(0.16, 0.42, 0.72), 0.5 + 0.5 * skyFlow);\n  styleBg += vec3(0.98, 0.80, 0.22) * smoothstep(0.62, 0.96, skyFlow) * 0.45;\n  vec3 bg = isStyled ? mix(photoBg, styleBg, styleStr) : photoBg;\n\n  vec3 accum = vec3(0.0);\n  float trans = 1.0;\n\n  // 36 3D Gaussian splats forming an orbiting architectural arch + floating centerpiece\n  for (int i = 0; i < 36; i++) {\n    float fi = float(i);\n    float u = fi / 36.0;\n    vec3 p3;\n    vec3 photoCol;\n    if (i < 22) {\n      // Sculptural 3D torus/arch ring\n      float ang = (fi / 22.0) * 6.2831853;\n      p3 = vec3(0.38 * cos(ang), 0.30 * sin(ang), 0.12 * sin(ang * 2.0));\n      photoCol = mix(vec3(0.68, 0.64, 0.58), vec3(0.84, 0.78, 0.70), 0.5 + 0.5 * sin(ang));\n    } else {\n      // Inner botanical/ceramic core cluster\n      float ang = ((fi - 22.0) / 14.0) * 6.2831853 * 2.0;\n      float yy = ((fi - 22.0) / 14.0 - 0.5) * 0.36;\n      p3 = vec3(0.16 * cos(ang), yy, 0.16 * sin(ang));\n      photoCol = mix(vec3(0.28, 0.46, 0.36), vec3(0.74, 0.36, 0.28), (fi - 22.0) / 14.0);\n    }\n\n    p3.xz = rot2(p3.xz, t * 0.62);\n    p3.yz = rot2(p3.yz, 0.18 * sin(t * 0.45));\n\n    float zCam = 1.85 - p3.z;\n    vec2 proj = p3.xy / max(zCam * 0.64, 0.3);\n    vec2 d = uv - proj;\n\n    // Style-optimized G-Style aligns splat covariance ellipses tangentially along painterly swirl flow\n    // and transfers Gram-matrix chromatic contrast (ultramarine shadows + cadmium yellow/vermilion highlights!)\n    float photoAng = fi * 0.7;\n    float flowAng = atan(p3.y, p3.x) + 1.5708 + 0.55 * swirlAmt * sin(p3.x * 5.0 + p3.y * 4.0);\n    float angUse = isStyled ? mix(photoAng, flowAng, styleStr) : photoAng;\n    vec2 dl = rot2(d, -angUse);\n\n    vec2 axisPhoto = vec2(0.088, 0.068) / max(zCam * 0.58, 0.35);\n    vec2 axisStyle = vec2(0.125 * (1.0 + 0.25 * swirlAmt), 0.042) / max(zCam * 0.58, 0.35);\n    vec2 axis = isStyled ? mix(axisPhoto, axisStyle, styleStr) : axisPhoto;\n    vec2 q = dl / axis;\n\n    // 3D directional lighting on splat center\n    vec3 approxN = normalize(p3 + vec3(0.0, 0.05, 0.15));\n    float ndl = max(dot(approxN, normalize(vec3(0.6, 0.7, 0.5))), 0.0);\n    vec3 litPhoto = photoCol * (0.28 + 0.88 * ndl);\n\n    // G-Style optimized splat spherical-harmonics color palette (bold Fauvist/Post-Impressionist transfer)\n    vec3 stylePal = mix(vec3(0.09, 0.24, 0.68), vec3(0.98, 0.42, 0.14), smoothstep(0.15, 0.62, ndl));\n    stylePal = mix(stylePal, vec3(1.0, 0.88, 0.26), smoothstep(0.58, 0.92, ndl));\n    if (i >= 22) stylePal = mix(vec3(0.12, 0.72, 0.58), vec3(1.0, 0.62, 0.18), 0.5 + 0.5 * sin(fi * 1.4));\n    vec3 splatCol = isStyled ? mix(litPhoto, stylePal, styleStr) : litPhoto;\n\n    float g = exp(-0.5 * dot(q, q));\n    // Stylized splats sharpen opacity profile slightly for crisp painterly ribbons\n    float alpha = isStyled ? mix(g * 0.78, smoothstep(0.24, 0.72, g) * 0.90, styleStr * 0.75) : (g * 0.78);\n    if (alpha > 0.01) {\n      accum += splatCol * alpha * trans;\n      trans *= (1.0 - alpha * 0.64);\n    }\n  }\n\n  vec3 col = accum + bg * trans;\n  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));\n  col = mix(col, vec3(0.96, 0.98, 1.0), sep);\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": "stylized-gaussian-splatting",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T21:07:26.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.7058,
      "std": 0.1164,
      "min": 0.4733,
      "max": 0.9254
     },
     "image": "/specimens/stylized-gaussian-splatting-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "sillage-brush-splatting",
  "stroke-based-rendering"
 ],
 "extends": [],
 "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/npr/stylized-gaussian-splatting.json"
 },
 "solves": [
  "want my splat scene restyled like a reference image",
  "need artistic look that still runs in a normal splat viewer",
  "style transfer on a captured 3d scene",
  "make a photo capture look like a painting"
 ],
 "authority": "Kovács et al., 2024",
 "url": "https://texelatlas.vercel.app/t/stylized-gaussian-splatting/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 97.14,
  "tier": "extreme",
  "p50_ms": 3.1958,
  "p95_ms": 3.2733,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 32,
  "preset_id": "stylized-gaussian-splatting-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 87.4,
   "tier": "extreme",
   "p50_ms": 1.3896,
   "p95_ms": 1.4019,
   "speedup_x": 2.3,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 70.11,
   "tier": "extreme",
   "p50_ms": 2.0193,
   "p95_ms": 2.0204,
   "speedup_x": 1.58,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}