Thinking in Blender: Staged Executable Inverse Graphics with Vision-Language Models

Guangzhao He, Rundong Luo, Wei-Chiu Ma, Hadar Averbuch-ElorarXiv 2026

TL;DR

SEIG (Staged Executable Inverse Graphics) is an agentic framework that reconstructs a 3D scene from a single 2D image directly into editable Blender code using a single, off-the-shelf Vision-Language Model (VLM). By breaking down the complex inverse graphics problem into sequential, human-like artist workflows—geometry, materials, composition, and lighting—SEIG bypasses the need for specialized 3D foundation models or differentiable rendering while achieving state-of-the-art reconstruction fidelity.

What Problem Does This Paper Address?

Inverse graphics—the task of reversing the rendering process to turn a 2D image back into an editable 3D scene—is a classic, highly underconstrained challenge in computer vision. While modern neural representations like NeRFs or 3D Gaussian Splatting produce stunning visual results, they trap scene properties in entangled latent representations. This makes it incredibly difficult for artists to perform standard graphics operations like editing an object, changing the lighting, or running a physics simulation.

Recent attempts have turned to VLMs to generate executable code (like Blender Python scripts) directly from images. However, these monolithic approaches try to solve the entire scene at once. They fail because errors in geometry, material, layout, and lighting compound simultaneously, creating a chaotic search space that causes the VLM to lose track of the overall composition.

Methods

The authors introduce SEIG (Staged Executable Inverse Graphics), an agentic framework that mirrors the step-by-step workflow of a professional 3D artist. Instead of writing a massive Blender script in one go, SEIG uses a single VLM (Claude 4.7 Opus) across five sequential, isolated stages:

  1. Scene Decomposition: The VLM breaks the image down into a hierarchical scene graph of basic geometric primitives.
  2. Scene Initialization: A coarse Blender scaffold is generated. SEIG uses a rollout sampling strategy here, generating multiple initial scaffolds and selecting the one with the best object coverage.
  3. Geometry Refinement: The VLM refines individual object shapes through local mesh edits, scaling, and structural additions.
  4. Material Assignment: Flat placeholder colors are replaced with detailed PBR (Physically Based Rendering) materials, textures, and shader nodes.
  5. Composition & Layout: The spatial transforms (position, rotation, scale) of the finalized objects are adjusted to match the reference image's layout.
  6. Lighting Optimization: The VLM fine-tunes light sources, colors, and intensities to match the final look.

Intra-Stage Generator-Verifier Loop

Within each stage, a generator VLM writes code, and a verifier VLM inspects the rendered output against the target image. Crucially, the verifier provides a structured approval checklist (a concrete to-do list) to guide the next iteration, preventing the model from getting lost in vague critiques. To protect previous progress, the VLM is restricted to stage-specific tools (e.g., the material stage cannot alter geometry).

Fig. 2. Method overview. Our agentic reconstruction pipeline decomposes inverse graphics into four sequential stages of Blender code generation, each consisting of a generator step followed by a verifier step. An initialization stage samples four coarse scene initializations and labels a scene graph for all objects and parts, which is then passed to all subsequent stages for object- and part-centric refinement. The scene graph records each object with attributes such as geometry, material, and spatial relations. The final scene is produced by executing the refined Blender code, reconstructing the reference image.

Datasets

The framework was evaluated on both synthetic and real-world benchmarks:

  • NeRF Synthetic Dataset: Evaluated on 7 classic scenes (excluding the highly specular 'materials' scene), rendering 5 images per scene.
  • Edit3D / VoxHammer: A collection of 13 object-centric scenes used to evaluate precise 3D editing and reconstruction.
  • In-the-wild images: A curated set of real-world photographs used to stress-test the framework against complex, unconstrained scenarios.

Key Insights and Ideas

  • Harness Design > Tool Richness: Surprisingly, SEIG outperforms frameworks like VIGA that rely on specialized 2D/3D vision tools (such as SAM or SAM-3D). This reveals that general-purpose VLMs already possess rich latent 3D and spatial priors; the primary bottleneck is how the task is structured, not the model's inherent knowledge.
  • Disentanglement via Tool Constraints: Forcing strict API boundaries between stages prevents the VLM from accidentally ruining a previous stage's progress (e.g., altering an object's position while trying to fix its texture).
  • The Power of Actionable Feedback: Replacing free-form text critiques with a strict "approval checklist" dramatically improves convergence in agentic loops, preventing the generator from oscillating between conflicting edits.

Key Results

  • Quantitative Superiority: SEIG achieved the highest scores on 5 out of 6 evaluation metrics (including PSNR, SSIM, LPIPS, DreamSim, DINO, and CLIP) across both the NeRF synthetic and Edit3D datasets, comfortably beating monolithic baselines.
  • Downstream Readiness: Because the output is clean, structured Blender code, the reconstructed scenes immediately support complex downstream graphics tasks without any additional training:
  • Relighting: Changing environment maps or adding new lights seamlessly.
  • Object Editing: Duplicating, moving, or re-texturing individual assets.
  • Physics Simulation: Dropping objects or shaking tables using Blender's native rigid-body and soft-body physics engines without needing geometry repair.
Fig. 1. From a single reference image (leftmost inset), SEIG reconstructs an editable Blender scene through a staged generator–verifier loop driven entirely by a pretrained VLM. As the output is a structured Blender program, our approach directly supports novel-view synthesis, editing, and relighting (right).

Limitations and Future Work

  • Cascading Errors: Because the pipeline is sequential and greedy, mistakes made in early stages (like a poorly estimated initial geometry) can propagate downstream, trapping later stages in local minima that they cannot easily correct.
  • High Computational & API Costs: Running multi-round generator-verifier loops across five distinct stages requires numerous sequential calls to a commercial VLM, making it significantly slower and more expensive than single-pass neural network approaches.
  • Future Directions: The authors suggest exploring global refinement passes (backtracking to optimize earlier factors jointly) and extending the framework to multi-image inputs, dynamic environments, and long-horizon interactive editing.

Summary updated

BibTeX
@misc{he2026thinking,
  author = {Guangzhao He and Rundong Luo and Wei-Chiu Ma and Hadar Averbuch-Elor},
  title = {{Thinking in Blender: Staged Executable Inverse Graphics with Vision-Language Models}},
  year = {2026},
  eprint = {2606.02580},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.02580},
}

Loading related content...

Figure