Organizations: University of Science and Technology of China · South China University of Technology · Department of Computer Science and Engineering, The Chinese University of Hong Kong
Reliable 3D scenes provide a foundation for interactive experiences and embodied simulation. Coding agents offer a flexible way to build and edit these scenes through executable programs that describe geometry, appearance, and layout. These tasks, however, require not only executable code and convincing renderings, but also coherent layouts and physically plausible object relationships. Assessing these requirements is challenging, since spatial relationships are complex and meshes are often not clearly grouped into objects. We introduce ReWorldBench, a benchmark for code-based reconstruction and editing of realistic 3D scenes. First, we construct a dataset using a multi-agent pipeline for reference-image analysis and a three-stage workflow for Blender Python code generation, yielding 50 scenes across 20 categories with 2,350 assets. Second, we define three complementary tasks: image-conditioned reconstruction, asset-constrained layout, and instruction-guided editing. Together, they comprise 200 task instances spanning indoor and outdoor environments. Third, we establish a task-specific evaluation framework that assesses execution validity, task fulfillment, visual quality, and physical plausibility. Experiments on eight frontier coding agents show that, while leading agents reliably produce executable code, no single agent excels across all three tasks. These results highlight the gap between executable code and visually faithful, physically plausible, and controllable 3D scenes.
Figures & tables
Figure 2: Why explicit asset boundaries matter. (a) Unknown component ownership leaves part assembly and object collision indistinguishable. (b) Fixed assets separate permitted internal overlap from unintended interpenetration.
Setting
Data
Evaluation
Benchmark
Platform
Task
Indoor/Outdoor Coverage
GT Level
Visual
Physical validation
Task-specific
3DCodeBench [ 11 ]
Blender
Recon.
—
Object
✓
—
—
VoxelCodeBench [ 51 ]
Unreal
Recon.
—
—
✓
—
—
WorldCoder-Bench [ 26 ]
Three.js
Recon.
—
—
—
✓
✓
Code4Scene [ 47 ]
Unreal
Recon. / Edit.
✓
Scene
✓
✓
✓
PhysCodeBench [ 42 ]
Genesis / MuJoCo
Recon.
—
Sim.
✓
✓
✓
Table 1: Comparison of representative 3D benchmarks. ✓ : reported; —: not reported. ReWorldBench covers reconstruction, layout, and editing across indoor and outdoor scenes, combining task-specific rubrics with object-level physical checks and agent-based validation.
Figure 3: Overview of the ReWorldBench data construction pipeline. Reference images are transformed into executable 3D scenes with reusable assets, followed by physical and visual validation and multi-view image refinement.
Figure 4: Instruction-guided scene editing: examples of six task settings and their distribution across 100 instances. T4 illustrates an invalid execution; the expected response is refusal.
Image-Conditioned Reconstruction
Asset-Constrained Layout
Instruction-Guided Editing
Model
E ↑
S ↑
V ↑
P ↑
Score ↑
E ↑
A ↑
P ↑
Score ↑
T1 ↑
T2-1 ↑
T2-2 ↑
T3 ↑
T4 ↑
T5 ↑
Score ↑
GPT-6 Astra
96.00
62.92
54.53
88.71
68.14
98.00
70.43
59.15
64.79
72.50
70.77
80.09
40.00
45.00
84.39
63.76
GPT-6.1 Sol
100.00
65.21
56.33
92.57
70.75
98.00
71.23
58.51
64.87
90.00
71.42
55.31
37.00
35.00
80.64
58.54
GLM-5.3-Flash
52.00
26.93
23.49
38.24
29.29
78.00
41.90
31.89
36.89
74.00
56.34
69.93
36.50
5.00
67.45
48.13
Kimi-K3.1-Pro
98.00
61.79
55.30
91.08
68.63
96.00
71.05
50.95
61.00
81.50
66.63
73.84
32.00
15.00
78.04
54.23
Claude Opus 5.5
94.00
61.54
51.40
92.15
67.68
98.00
87.68
67.63
77.66
84.00
62.18
66.38
61.50
95.00
85.50
76.08
Table 2: Performance across the three ReWorldBench tasks (0–100; higher is better). Bold indicates the best result, and underlining indicates the second-best result in each column.
Figure 5: Qualitative results for image-conditioned reconstruction on indoor (top) and outdoor (bottom) scenes, with references in the first column. MiniMax-M3.1-Flash submitted no valid code for either scene and is omitted.
Model
Code errors
Agent failures
Total
GPT-6 Astra
6
1
7
GPT-6.1 Sol
4
1
5
GLM-5.3-Flash
34
14
48
Kimi-K3.1-Pro
6
3
9
Claude Opus 5.5
3
5
8
DeepSeek-V4.1-Flash
9
19
28
Table 3: Execution failure counts across the three tasks.
Figure 6: Overall and conditional scores (0–100). Conditional subsets retain successful reconstruction/layout outputs and editing responses without code or submission errors, including refusals. Conditional scores average retained instances.
Figure 7: Effects of input views and visual feedback on Task 1 using GPT-6.1 Sol on 20 scenes. Round 0 is the four-view baseline without feedback.
Figure 8: Agreement between automatic judges and human evaluators on Task 1 for S , V , and P . (a) Spearman’s correlation, averaged over three evaluators. (b) Mean score difference (automatic minus human).
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 9: Two types of modeling problems addressed by the memory library during dataset construction. The left and right columns show the initial and revised results, respectively.
Figure 10: Representative indoor and outdoor scenes with their categories. The playground image is an original Blender render; the remaining images are task reference images.
Figure 11: Reconstruction trajectories under visual feedback. Each row shows one reference image, the four-view baseline (R0), and three successive revisions (R1–R3). The four renders in each row use the same main evaluation camera. Numbers below the renders indicate overall scores on a 0–100 scale.
Figure 12: Human–agent agreement on physical scoring across 232 paired rubric items from 40 reconstruction outputs. (a) Mean ratings on the 0–4 scale. (b) Mean absolute rating differences. (c) Exact agreement rates. Numbers in parentheses indicate paired item counts.
Frontier coding agents can now write and execute code that authors 3D environments, but whether they reliably understand 3D structure and precisely control scene state remains unclear. The generated 3D scene is a persistent, executable artifact: a convincing render can hide incorrect spatial relations, intersecting objects, or unintended modifications. We introduce Code4Scene, a benchmark of 170 Unreal Engine cases built from human-assembled scenes that evaluates coding agents on two complementary settings under a shared execution interface. Construction tests scene-level spatial reasoning from open-ended language specifications, where many realizations are valid; editing tests precise control of scene state, where the agent must recover the target scene from reference images while preserving everything else. Rather than scoring code or rendered views, Code4Scene evaluates the generated engine-native scene for task fulfillment, artifact integrity, and static physical validity, with edits additionally compared against withheld ground truth. Across 14 coding-agent systems on the 83-case public set, construction and editing performance are strongly correlated but not interchangeable (Spearman ρ=0.67): Claude Fable 5.1 leads construction, Gemini 3.8 Flash leads editing. Spatial Composition is the weakest construction category for every agent, while editing remains imprecise: the best Repair F1 is only 0.562, and 34.2% of edits that fully recover the target still introduce unintended changes elsewhere in the scene. These results expose a gap between plausible 3D generation and reliable spatial reasoning and state control. The project webpage is at https://simworld.org/code4scene.
Xiaokang Ye, Siddhant Hitesh Mantri, Zimeng Chen +6
Coding agents combine visual understanding with program execution, offering a new route to automated 3D creation. By translating images and instructions into editable programs, they bring reconstruction, generation, and editing into a shared workflow. Yet existing benchmarks fragment evaluation across task scopes and protocols, leaving their capabilities across construction levels unclear. We propose Frontier3DBench, a unified benchmark of 145 tasks across 9 categories spanning object, scene, and interactive open-world creation, with joint evaluation of appearance, structure, and behavior. Experiments with 11 model-harness configurations reveal strengths that vary by level: GPT-6.1-sol leads the object and scene levels and achieves the highest overall score of 66.02/100, whereas GPT-6-astra leads interactive world construction. However, all configurations score lower on reference reconstruction than on text-driven generation in object and scene tasks. Producing plausible content thus remains easier than reproducing specified geometry, layouts, and visual details. Moreover, generated worlds average 83.08/100 on local mechanisms but only 20.82 on motion clearance and 30.26 on stateful workflows: individual mechanisms often function, whereas complete activities that require coordinated actions and persistent state remain difficult. These results identify reference fidelity and coordinated activity completion as central bottlenecks for coding agents in 3D creation.
Language models increasingly create 3D content through code, with practical workflows often relying on editing existing programs rather than regenerating them, for speed and precise control. Such edits require understanding what a program builds and foreseeing how a change reshapes it, yet prior benchmarks mostly evaluate generation or simple edits against a reference. In this paper, we introduce 3DCodeEdit, a benchmark of 2,592 instruction-guided editing tasks over 108 Blender programs that construct objects entirely in code. Its edits range from parameter to structural changes, style redesign, and scene composition, and are judged from renders against human-reviewed checklists. Across 17 models, the average success rate is only 37%, and even the strongest models complete fewer than 60% of structural and style edits. As models become more capable, their failures shift to geometric foresight, where the code runs but builds the wrong shape. We therefore study whether multi-turn feedback can compensate for this missing foresight. Feedback from a separate reviewer model that describes how the renders differ from the request helps most, more than maximum reasoning effort or an agent harness, and can let a 27B model surpass the single-shot rate of a 2.8T-parameter model.
Binjie Wang, Xinran Zhao, Shoubin Yu +8
New York University · Carnegie Mellon University · UNC, Chapel Hill +3