Command Palette
Search for a command to run...
3DCodeBench: 코드를 통한 Agentic Procedural 3D 모델링 벤치마킹
3DCodeBench: 코드를 통한 Agentic Procedural 3D 모델링 벤치마킹
Yipeng Gao Lei Shu Genzhi Ye Xi Xiong Ameesh Makadia Meiqi Guo Laurent Itti Jindong Chen
초록
코드를 통한 절차적 3D 모델링은 점점 더 다용도적인 패러다임으로 부상하고 있으며, 신경망 기반 3D 생성 모델이 본질적으로 결여하고 있는 결정론적이고(deterministic), 엔진 준비 상태(engine-ready)이며 정밀하게 수정 가능한 자산을 제공하는 장점을 지니고 있습니다. 그러나 이러한 절차적 콘텐츠의 작성에는 3D 소프트웨어 API, 파라메트릭 디자인, 코드 수준의 기하학적 추론에 대한 심도 있는 전문 지식이 필요합니다. 본 논문에서는 3D 모델링 소프트웨어에서 절차적 3D 생성을 위한 비전-언어 모델(Vision-Language Model, VLM) 에이전트를 평가하기 위한 체계적인 벤치마크인 '3DCodeBench'를 제안합니다. 구체적으로, 3DCodeBench는 12개의 고급 VLM이 텍스트 및 이미지 참조를 3D 모델링 소프트웨어용 절차적 코드로 변환하여 절차적 3D 모델러로서 얼마나 효과적으로 기능할 수 있는지를 평가합니다. 자동화된 평가 지표가 3D 형상의 지각적 품질(perceptual quality)을 완전히 포착하지 못할 수 있음을 인지하고, 생성된 3D 출력물에 대한 쌍별 인간 선호도(pairwise human preferences)를 기반으로 하는 순위 매김 플랫폼인 '3DCodeArena'를 구축했습니다. 광범위한 평가와 결과를 통해 다음과 같은 사실을 관찰하였습니다: (1) 실패의 주원인은 API 불일치에서 비롯되나, 성공적으로 렌더링된 결과물 역시 단절되거나 공중에 떠 있는(disconnected or floating) 3D 기하학적 컴포넌트를 여전히 포함하는 경우가 많습니다. (2) 테스트 타임 스케일링(test-time scaling), 예를 들어 더 높은 추론 예산(thinking budgets)과 다중 턴 개선(multi-turn refinement)은 전반적인 성능을 향상시킵니다. 우리의 발견은 상용 VLM을 발전시키기 위해 고품질의 절차적 코딩 데이터가 절실하게 필요함을 강조합니다. furthermore, 효과적인 절차적 3D 모델링을 위해서는 반복적 개선을 위한 고신뢰도 피드백을 제공할 수 있는 견고한 실행 환경이 필수적입니다. 우리는 다중모달(텍스트/이미지) 프롬프트, 절차적 코드, 3D 객체 트리플릿(3D object triplets), 평가 프로토콜, 그리고 공개된 3DCodeArena 플랫폼을 포함한 3DCodeBench를 출시하며, 이는 VLM 기반 절차적 3D 모델러를 탐색하기 위한 기초 도구kit(foundation toolkit)으로 제공됩니다.
One-sentence Summary
The paper proposes 3DCodeBench, a benchmark evaluating 12 advanced vision-language models on translating text and image prompts into procedural 3D code, paired with 3DCodeArena for pairwise human preference ranking, revealing that failures mainly arise from API mismatches and disconnected or floating geometry while test-time scaling via higher thinking budgets and multi-turn refinement improves performance, and releasing the curated dataset and platform to advance VLM-based procedural generation.
Key Contributions
- The paper introduces 3DCodeBench, a benchmark for evaluating vision-language model agents on procedural 3D generation, built through an agentic curation pipeline that yields a dataset of 212 object categories with multimodal prompts, executable Blender scripts, and human-verified 3D triplets.
- This work constructs 3DCodeArena, a public platform that collects pairwise human preferences over generated 3D outputs, and demonstrates that SigLIP-2 view similarity can serve as a robust automated proxy for human judgment.
- Extensive evaluation of 12 frontier VLMs shows that test-time compute scaling and multi-turn agentic refinement improve procedural code quality, while identifying API mismatches and disconnected geometry as the predominant failure modes.
Introduction
Procedural 3D modeling through code is essential for creating deterministic, editable, and engine-ready assets in gaming, industrial design, and robotics simulation, but authoring such code demands deep expertise in 3D APIs and geometric reasoning. Prior benchmarks either lack the aligned procedural code needed for evaluating generative models, focus on simplistic shapes or scene editing rather than from-scratch generation, or ignore the iterative refinement loops that real 3D design workflows require. The authors introduce 3DCodeBench, a standardized benchmark that pairs 26K multimodal prompts with executable Blender code and 3D geometries across 212 diverse categories, and they complement it with 3DCodeArena, a platform for collecting pairwise human preferences. Their extensive evaluation of 12 frontier vision-language models demonstrates that while models can produce executable scripts, physical plausibility and geometric coherence remain major bottlenecks, and that multi-turn agentic refinement using runtime feedback significantly improves output quality.
Dataset
The authors construct two complementary datasets from Infinigen’s procedural factories, using an agentic curation pipeline with human verification. The benchmark, 3DCodeBench, is a compact evaluation set, while a larger curated corpus provides fine-tuning data for code-generation models.
-
3DCodeBench (evaluation benchmark)
- 212 distinct asset categories spanning organic entities, manufactured objects, and architectural fragments.
- Each instance is a high-fidelity (prompt, standalone Python code, 3D mesh) triplet.
- Scripts are complex (median 387 lines, mean 531 lines, some over 1,000 lines) and require reasoning about 3D structure and new Blender API functions.
- Used exclusively for zero-shot or few-shot evaluation of 3D code generation.
-
Curated 3D Code Data (fine-tuning corpus)
- 12,963 instances derived from 212 random-seed-parameterized factories (filtered from 243 full object factories).
- Each instance provides:
- A text prompt paired with three caption styles (object description, procedural-modeling instruction, factory-level specification).
- 4 canonical multi-view reference images (45°, 135°, 225°, 315°).
- Two Blender 5.0 Python scripts: a textured factory script and a geometry-only variant, yielding ~26K code samples in total.
- A baked GLB ground-truth mesh.
- All triplets passed the full agentic curation pipeline and human-in-the-loop verification.
- Used for supervised fine-tuning of 3D code generation models.
-
Agentic curation pipeline
- Transforms deeply nested procedural factories into clean, standalone scripts.
- Skills Library provides objective feedback: a Code Simplifier, a sandboxed Blender 5.0 simulator, a VLM-based Visual Critic that compares multi-view renders to reference images, and a Mesh Analyzer for structural checks.
- Experience Library accumulates reusable knowledge: class deduplication to maintain diversity, parts-assembly templates, Blender 5.0 API migration rules, and code organization standards.
- Human-in-the-loop verification acts as final quality control; annotators manually review execution reliability, caption accuracy (via Gemini 3.1 Pro), and visual alignment, and intervene with targeted feedback when agents fail.
-
Multi-view image processing
- All reference renders follow a strict studio product-photography style: single object centered, occupying 70–80% of the frame, plain light-gray/off-white background, soft diffuse lighting from above-front, three-quarter front view (~30–45° rotation, ~15° above eye level), no scene elements, no text or labels, and photorealistic, true-to-life colors.
Method
The authors formulate procedural3D generation as a policy learning problem where a model synthesizes executable code that a 3D software runtime compiles into a target object. Formally, given a condition c comprising text and optional reference images, a policy π produces a script:
fπ=π(c)
A deterministic operator E then executes this script to yield a mesh:
Mπ=E(fπ)
The authors instantiate this formulation on Blender 5.0, making fπ a Blender Python script, though the approach is software-agnostic.
The high-level process of generating 3D objects via procedural code is illustrated in the figure below, where image or text prompts are processed by VLMs to produce procedural codes that a compiler executes into 3D objects.
The detailed architecture, as shown in the figure below, involves Coding Agents that take inputs such as text instructions, reference images, and procedural simulators. These agents interact with VLM and Human Checkers to produce high-quality data pairs consisting of prompts and corresponding procedural code.
The framework is supported by two key libraries. The Skills Library provides tools such as a Code Simplifier, a Simulator, a Visual Critic, and a Mesh Analyzer. The Experience Library accumulates knowledge regarding the Blender 5.0 API, class deduplication, code organization, and parts assembly.
To ensure robust code generation, the authors employ strict system prompts for both text-to-3D and image-to-3D tasks. These prompts enforce three critical constraints: a strict output format requiring raw Blender 5.0 Python without Markdown formatting, a target environment limited to a closed allow-list of libraries, and behavioral code requirements such as generating a single object at the origin without rendering or file I/O.
For image-to-3D tasks, the model receives reference images and must infer unseen sides, cross-reference multiple views to resolve depth and proportions, and reproduce geometric details as real geometry rather than flat surfaces.
To probe agentic capabilities, the authors permit T≥1 refinement iterations. At step t, the policy updates fπ(t) based on execution logs or visual feedback. In the multi-turn error-feedback loop, if a script fails to execute, the system provides the previous code and truncated Blender stderr to the model in a stateless manner, asking for a corrected script.
For visual self-critique, the model evaluates baseline-OK instances. It compares the generated render against the reference and outputs a decision in the format NEEDS_FIX:NO or NEEDS_FIX:YES followed by an assessment and corrected code. The authors introduce a conservatism bias, preferring NEEDS_FIX:NO when the render is good enough to avoid breaking working code. Additionally, for a text-to-image-to-3D pipeline, a meta-prompt first generates a photographic reference image from a text description, which is then fed into the image-to-3D code generator.
Experiment
The evaluation combines per-mesh quantitative metrics with a human-vote arena to rank vision-language models on procedural 3D generation. Increased reasoning budgets consistently help lightweight models but quickly saturate for frontier models, while multi-turn error-feedback lifts executability across the board by addressing superficial API mismatches. Agent harnesses further improve reliability but leave conditional shape fidelity unchanged, and visual self-critique proves task-asymmetric, beneficial only for text-to-3D. LLM-as-a-judge agrees reasonably with humans when shown rendered images but is less reliable from code alone, and a sampling temperature of 0.7 is the recommended choice.
The authors evaluate the impact of varying the number of input views on the image-to-3D track across multiple model backbones. Results show that conditioned quality metrics remain largely stable as the input-view budget increases, with executability and perceptual similarity scores showing minimal variation. While some models exhibit modest gains in 3D structural alignment with additional views, there is no consistent improvement in view-based similarity over using a single input view. Increasing the number of input views yields negligible changes in executability and perceptual fidelity across all tested backbones. Structural alignment metrics show slight improvements for certain models with more views, but the gains are marginal and not universally consistent. Extra input views provide no consistent similarity gains over a single view, so the authors use multiple views primarily to test spatial understanding capabilities.
The authors evaluate multiple frontier Vision-Language Models on a 3D code generation benchmark, assessing executability, perceptual fidelity, 3D-shape accuracy, and human preference. GPT-5.5 emerges as the top performer overall, leading in human preference rankings and most quality metrics, while Claude Opus 4.7 achieves the highest script executability. The results demonstrate a clear capability gap, where heavier frontier models significantly outperform lighter variants in both generating valid code and producing accurate 3D geometry. GPT-5.5 achieves the highest human preference ranking and leads in most perceptual and geometric quality metrics. Claude Opus 4.7 demonstrates the strongest code executability among all tested models. Lighter models exhibit substantially lower executability and shape fidelity compared to their larger counterparts.
The authors evaluate a text-to-image-to-3D pipeline that inserts an intermediate image generation step before 3D code generation. Results show that relying solely on the generated image degrades performance compared to direct text-to-3D generation, particularly for lighter models. However, combining the generated image with the original text prompt recovers this loss and improves perceptual similarity for higher-capacity backbones. The image-only pipeline configuration consistently reduces SigLIP-2 similarity scores across all tested backbones compared to the direct text-to-3D baseline. The combined mode, which pairs the generated image with the original text prompt, improves SigLIP-2 scores over the baseline for high-capacity models such as Gemini 3.1 Pro and Gemma 4. Lighter models suffer significant performance drops in the image-only mode and fail to recover in the combined mode due to limited reasoning budgets.
The authors evaluate whether frontier LLMs and VLMs can replicate human judgments in a 3D modeling arena using either rendered images or raw code. Results show that image-based judging achieves substantial agreement with human voters, significantly outperforming code-based judging which yields only fair-to-moderate correlation. Among the models tested, Gemini 3.1 Pro performs best as an image judge, while Gemini 3.1 Pro and Gemini 3 Flash tie for the top spot in code judging. Image-based judging achieves substantially higher accuracy and correlation with human preferences compared to code-based judging. Gemini 3.1 Pro leads image judging performance but exhibits lower coverage due to its frequent use of tie and both bad verdicts. Image judges perform consistently better on image-track prompts than text-track prompts, likely due to the additional visual anchor provided by reference views.
The the the table presents a pairwise win-rate matrix from a public human-vote arena, comparing 3D models generated by different frontier vision-language models. The models are sorted by their overall Elo rating, revealing a clear hierarchy in generative capability. Top-ranked models consistently defeat lower-ranked models across the majority of direct matchups, while models at the bottom of the leaderboard lose most of their pairwise comparisons. The highest-ranked model achieves dominant win rates, defeating nearly all other models in head-to-head comparisons and demonstrating superior 3D generation quality. The matrix exhibits a strong transitive ordering, where models higher on the leaderboard consistently beat those below them, creating a distinct pattern of wins and losses across the grid. Smaller or lighter models struggle against frontier-scale backbones, frequently losing pairwise matchups and indicating a significant capability gap in procedural 3D code generation.
Across several evaluations, the authors probe frontier vision-language models on procedural 3D code generation, studying the effects of input-view count, model scale, and intermediate image synthesis. Increasing the number of input views yields negligible and inconsistent gains in executability or perceptual fidelity, serving mainly to test spatial understanding, while a clear capability gap emerges where large models like GPT-5.5 substantially outperform lighter counterparts in both code validity and geometric accuracy. Inserting a generated image before 3D code generation degrades performance when used alone, especially for smaller models, but pairing the image with the original text prompt recovers and even improves quality for high-capacity backbones. Human preference arenas and automated judging experiments further show that image-based evaluation aligns well with human judgments, whereas code-based assessment lags behind, and that top-ranked models dominate pairwise comparisons in a strongly transitive hierarchy.