Large Reconstruction Model (LRM)
A big transformer that regresses a triplane NeRF from a single image in one forward pass, trained on about a million multi-view object renders; the template for most later feed-forward image-to-3D systems.
Also known as LRM
In the family Generative & learned 3D, feed-forward image-to-3D
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | Not applicable | Offline reconstruction/generative method, not an engine feature. |
| Unity | None found | |
| Unreal 5.7 | None found | |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
A pretrained vision transformer encodes the image into tokens. A transformer decoder with learned triplane queries cross-attends to those tokens and outputs a triplane feature grid, which a small MLP turns into density and colour. Training renders the predicted NeRF from other known camera views of the same object and minimises image and mask losses, so no 3D-specific supervision beyond multi-view renders is needed. At test time a single forward pass gives the reconstruction, which can be volume-rendered or meshed with marching cubes. The scaling insight was that data and model size matter more than hand-built 3D priors.
When to choose it
Reach for it when
- want 3d from a single image in seconds
- optimisation per object is too slow
- need a feed-forward image-to-3d baseline
- predict a neural 3d representation without per-scene training
Choose it as the conceptual baseline for single-image to 3D in seconds. In practice use TripoSR (permissive, packaged) or InstantMesh (mesh-focused with multi-view diffusion front end) rather than the original model, which has no official public weights. Prefer Zero-1-to-3 plus Score Distillation Sampling (DreamFusion) when no feed-forward model fits your category and you can wait.
Field marks
- Back of the object is blurry or mirrored because only one view is visible
- Fine texture and text are smoothed by the triplane resolution
- Out-of-distribution inputs (scenes, cluttered photos, unusual camera FOV) give melted shapes
- Triplane NeRF extraction yields staircase or noisy meshes without extra regularisation
Presets
Large Reconstruction Model (LRM) — single-view cross-attention tokens (left) vs triplane 3D NeRF decode (right)
{
"P_ATTN_GLOW": 1,
"P_SIGMA": 5.5,
"P_ROT_SPEED": 0.6,
"P_SPLIT": 0.45
}Show GLSL (96 lines)
const float P_ATTN_GLOW = 1.0; // P Attention Glow [0.0, 1.8, 0.05]
const float P_SIGMA = 5.5; // P NeRF Density [1.5, 10.0, 0.25]
const float P_ROT_SPEED = 0.60; // P Orbit Speed [0.0, 2.2, 0.05]
const float P_SPLIT = 0.45; // P Tokens / 3D Recon [0.0, 1.0, 0.02]
mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }
// Stylized architectural teapot/capsule asset decoded from LRM triplane NeRF
void evalLRM(vec3 q, out float sigma, out vec3 rgb) {
float body = length(q * vec3(1.0, 1.25, 1.0)) - 0.48;
float dome = length(q - vec3(0.0, 0.36, 0.0)) - 0.26;
float ring = length(vec2(length(q.xz) - 0.56, q.y + 0.06)) - 0.085;
float d = min(min(body, dome), ring);
sigma = exp(-max(d, 0.0) * 20.0) * smoothstep(0.14, -0.04, d);
float band = smoothstep(-0.1, 0.1, sin(q.y * 14.0));
rgb = mix(vec3(0.18, 0.54, 0.92), vec3(0.96, 0.72, 0.26), band * 0.65);
rgb = mix(rgb, vec3(0.95, 0.34, 0.42), smoothstep(0.45, 0.56, length(q.xz)));
}
vec3 aces(vec3 x) {
x = max(x, 0.0);
return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
float screenX = fragCoord.x / max(iResolution.x, 1.0);
float split = clamp(P_SPLIT, 0.0, 1.0);
float attn = clamp(P_ATTN_GLOW, 0.0, 2.0);
float sigmaGain = clamp(P_SIGMA, 1.0, 12.0);
float spin = iTime * max(P_ROT_SPEED, 0.0);
vec3 bg = mix(vec3(0.022, 0.030, 0.052), vec3(0.062, 0.084, 0.138), smoothstep(-0.55, 0.55, uv.y));
vec3 col = bg;
if (screenX < split) {
// Left: DINO image patch grid (input single-view tokens) sending cross-attention beams into triplane tokens
vec2 p = uv + vec2(0.32, 0.0);
float boxMask = step(max(abs(p.x), abs(p.y)), 0.34);
vec2 patchUV = (p + 0.34) / 0.68;
vec2 cell = floor(patchUV * 8.0);
vec2 cf = fract(patchUV * 8.0);
// Input silhouette inside the patch token grid
float sil = smoothstep(0.30, 0.22, length(p * vec2(1.0, 1.2)));
float ringSil = smoothstep(0.06, 0.02, abs(length(p - vec2(0.0, -0.02)) - 0.24));
vec3 patchCol = mix(vec3(0.07, 0.11, 0.19), vec3(0.24, 0.62, 0.94), sil);
patchCol = mix(patchCol, vec3(0.98, 0.44, 0.36), ringSil);
float scan = exp(-abs(cell.y - mod(iTime * 5.0, 8.0)) * 0.9);
patchCol += vec3(0.98, 0.82, 0.32) * scan * 0.35 * attn;
float gridL = smoothstep(0.08, 0.02, min(cf.x, cf.y));
patchCol = mix(patchCol, vec3(0.18, 0.88, 0.96), gridL * 0.35);
col = mix(col, patchCol, boxMask);
// Cross-attention streams radiating rightward toward the 3D triplane
float rays = exp(-abs(sin(uv.y * 24.0 + uv.x * 6.0 - iTime * 3.5)) * 6.0) * smoothstep(-0.02, 0.35, uv.x + 0.25);
col += vec3(0.22, 0.78, 0.98) * rays * 0.35 * attn * (1.0 - boxMask * 0.7);
} else {
// Right: Feed-forward 3D triplane NeRF volume rendered from novel orbiting view
vec3 ro = vec3(0.0, 0.22, 2.25);
vec3 rd = normalize(vec3(uv - vec2(0.10, 0.03), -1.52));
ro.xz = rot2(spin * 0.62) * ro.xz;
rd.xz = rot2(spin * 0.62) * rd.xz;
float b = dot(ro, rd);
float c = dot(ro, ro) - 1.0 * 1.0;
float disc = b * b - c;
if (disc > 0.0) {
float t0 = max(-b - sqrt(disc), 0.1);
float t1 = -b + sqrt(disc);
float dt = (t1 - t0) / 44.0;
vec3 acc = vec3(0.0);
float T = 1.0;
vec3 lDir = normalize(vec3(0.55, 0.80, 0.45));
for (int i = 0; i < 44; i++) {
float t = t0 + (float(i) + 0.5) * dt;
vec3 p = ro + rd * t;
float s; vec3 rgb;
evalLRM(p, s, rgb);
s *= sigmaGain;
vec3 n = normalize(p + vec3(1e-4));
float diff = max(dot(n, lDir), 0.0);
float spec = pow(max(dot(n, normalize(lDir - rd)), 0.0), 32.0);
vec3 lit = rgb * (0.35 + 0.75 * diff) + vec3(1.0) * spec * 0.38;
float a = 1.0 - exp(-s * dt);
acc += T * a * lit;
T *= (1.0 - a);
if (T < 0.015) break;
}
col = acc + T * bg;
}
}
float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
col = mix(col, vec3(0.95, 0.97, 1.0), sep);
fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}Attribution: MIT — written for this index.
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| large-reconstruction-model-live | Tesla T4 1920x1080 | 38.5× baseline (heavy) · 1.27 ms / 1.29 ms | opengl-timer-query · 32 frames · GPU Weight Atlas · Colab T4 sweep |
| large-reconstruction-model-live | NVIDIA L4 1920x1080 | 29.6× baseline (heavy) · 0.471 ms / 0.474 ms · 2.7× faster on L4 | opengl-timer-query · Cross-architecture validation |
| large-reconstruction-model-live | NVIDIA A100-SXM4-40GB 1920x1080 | 25.8× baseline (heavy) · 0.743 ms / 0.747 ms · 1.7× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
From the citation graph (Crossref reference lists): its primary source cites Shap-E, Zero-1-to-3, Point-E, Score Distillation Sampling (DreamFusion), Instant NGP (Multiresolution Hash Encoding), Mip-NeRF 360, DeepSDF (neural signed distance functions); cited by Hunyuan3D 2.1, Hunyuan3D 2.0, Hunyuan3D-Paint, InstantMesh, MeshAnything, TRELLIS (Structured 3D Latents), TripoSR, VGGT (Visual Geometry Grounded Transformer).
Sources
- primaryYicong Hong, Kai Zhang, Jiuxiang Gu, Sai Bi, Yang Zhou, Difan Liu et al. (2023). LRM: Large Reconstruction Model for Single Image to 3D. arXiv preprint (cs.CV).Verified via arxiv · 2026-11-29arXiv:2311.04400
- implementation3DTopia (2023). 3DTopia/OpenLRM. An open-source impl. of Large Reconstruction ModelsGitHub API · license Apache-2.0 · 2026-11-29