{
 "id": "view-projected-texture-painting",
 "title": "View-projected AI texture painting",
 "aliases": [
  "trompe",
  "blockout texturing"
 ],
 "domain": "genai",
 "subdomain": "camera-planned image-model painting and projection",
 "stage": "generation",
 "realtime": "offline",
 "platforms": [
  "webgl2",
  "webgpu",
  "python"
 ],
 "year_introduced": 2026,
 "inputs": [
  "mesh",
  "text-prompt"
 ],
 "outputs": [
  "texture",
  "uv-atlas"
 ],
 "style": "photoreal",
 "dynamic": "static",
 "summary": "Textures a whole level from grey geometry by planning cameras where a player can stand, having an image model paint each view, projecting the paintings back onto the mesh and baking one texture atlas.",
 "how_it_works": "A camera planner picks views covering the surfaces a player can see. For each view an image model paints the depth-conditioned grey render under a flat, overcast lighting prompt so the result approximates albedo. Each painting is projected onto the mesh with visibility tests and blended into a shared UV atlas, and the final atlas is baked so the engine lights it with real shadows. Trompe runs planning, projection and baking in the browser on the GPU and calls hosted image models; the potemkin3D extension adds view-aware atlas density, geometry checks and surface relief for close-up walkthroughs.",
 "when_to_use": "Choose it to dress an existing blockout level or large scene mesh quickly in a realistic style, viewed from a few metres or more. Prefer `syncmvd`, `text2tex` or `paint3d` for single-object texturing, `hunyuan3d-paint` for image-referenced single assets, and hand-authored tiling materials when the style must be stylised or close-up detail matters.",
 "cost": {
  "class": "offline",
  "notes": "Per-view image-model calls dominate; the trompe README quotes cost per view and minutes per level, qualitative here."
 },
 "failure_modes": [
  "One shared atlas for the level blurs texture at first-person ground distance",
  "Seams and colour shifts where different painted views meet",
  "Image model adds grime and uneven colour; stylised looks are hard to achieve",
  "Named objects in the prompt get painted onto walls",
  "Depends on hosted image-model APIs"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "gh:patch-gg/trompe",
   "type": "code",
   "title": "patch-gg/trompe",
   "description": "Texture a whole game level from a gray blockout with image models: plan cameras, paint, project, bake. Real shadows, glTF out.",
   "authors": [
    "patch-gg"
   ],
   "year": 2026,
   "venue": "GitHub",
   "url": "https://github.com/patch-gg/trompe",
   "ids": {
    "repo": "patch-gg/trompe"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 235,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-11-13T08:43:42Z",
    "language": "TypeScript",
    "homepage": "https://patch.gg",
    "license_name": "Apache License 2.0"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/patch-gg/trompe",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/patch-gg/trompe",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/patch-gg/trompe",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/patch-gg/trompe",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/patch-gg/trompe",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/patch-gg/trompe",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "patchgg2026patch"
  },
  {
   "role": "implementation",
   "key": "gh:wrong-nebula/potemkin3d",
   "type": "code",
   "title": "wrong-nebula/potemkin3D",
   "description": "AI-painted 3D environments and real-time walkthroughs, extending Patch Trompe with view-aware atlases, geometry checks and surface relief.",
   "authors": [
    "wrong-nebula"
   ],
   "year": 2026,
   "venue": "GitHub",
   "url": "https://github.com/wrong-nebula/potemkin3D",
   "ids": {
    "repo": "wrong-nebula/potemkin3D"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 30,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": true,
    "pushed_at": "2026-11-19T10:03:14Z",
    "language": "TypeScript",
    "homepage": "https://patch.gg",
    "license_name": "Apache License 2.0"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/potemkin3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/potemkin3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/potemkin3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/potemkin3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/potemkin3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/potemkin3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "wrongnebula2026wrongc"
  }
 ],
 "presets": [],
 "related": [
  "text2tex",
  "syncmvd",
  "paint3d",
  "hunyuan3d-paint"
 ],
 "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/genai/view-projected-texture-painting.json"
 },
 "solves": [
  "need to texture a whole blockout level quickly",
  "large scene mesh is grey and needs realistic look",
  "paint environment from player-view camera positions",
  "project ai images back onto level geometry",
  "bake one atlas for a big scene from generated views"
 ],
 "authority": "patch-gg, 2026",
 "url": "https://texelatlas.vercel.app/t/view-projected-texture-painting/",
 "execution_fidelity": "none",
 "fidelity_label": "No Live Specimen",
 "benchmark_eligible": false
}