Constructing
3D Scenes with Code

Benchmarking coding agents that turn open-ended scene descriptions into engine-native 3D scenes in Unreal Engine. Measuring spatial reasoning, task fulfillment and physical validity.

Task Format

Nordic Harbour · Text-to-Scene

An open-ended scene description, an asset catalog and the Unreal Engine editor.

Agent inputText + assets
Task instruction

Build me a compact, sunlit Copenhagen-style canal district with narrow cobblestone streets and rectangular waterways enclosing dense urban blocks.

Townhouses, canals, bridges and a waterfront promenade — with detailed requirements for materials, layout and street furniture.

Given: an empty level and the content pack’s asset catalog.

EvaluationEngine-native scene
CASE SCORE0.877
Detailed Alignment
0.757
Overview Alignment
0.909
Physical Safety
0.900

Task fulfillment, artifact integrity and static physical validity.

0.2 × Detailed + 0.6 × Overview + 0.2 × Physical

+ Full task instructionTEXT-TO-SCENE

Build me a compact, sunlit Copenhagen-style canal district with narrow cobblestone streets and rectangular waterways enclosing dense urban blocks. Arrange roughly thirty attached four- to six-storey townhouses in continuous street and canal-front rows, using slender façades, repetitive white-framed windows, arched doors and carriage entrances, modest cornices, and steep tiled roofs packed with dormers and brick chimneys. Include occasional exposed party walls between staggered building rows. Finish the façades in weathered muted red, mustard yellow, dusty blue, warm grey, beige, and exposed brick, with red, orange, and charcoal roof tiles. Run a principal waterfront street along a stone quay, crossed by smaller streets and linked across the canals by short, gently arched stone-and-metal bridges, including one opening onto a broad paved promenade with rounded landings. Form the canal edges from stepped pale stone, dark timber retaining walls, and iron railings around reflective rippling water. Add regularly spaced leafy trees, ornate black lamps, stone bollards, benches, European road signs, zebra crossings, puddles, grime, and sparse weeds.

20 scenes in the Research Track: affordable, reproducible evaluation for academic and model-development use160 scenes in the Full Benchmark: comprehensive evaluation for leaderboard and final reporting

Leaderboard

Research Track · 20 scenes · 21 coding-agent configurations · re-run in October 2026.

Text-to-scene generation with frontier models is a long-horizon agentic task with substantial inference cost and runtime, which makes repeated full-scale evaluation difficult for many research groups. The Research Track supports affordable, reproducible experimentation; the Full Benchmark provides the more comprehensive evaluation for final model comparison and leaderboard reporting.

Code4Scene Text-to-Scene

20 scenes · score out of 10075 scenes · score out of 100

Swipe to view every configuration →

Sorted by score. Bar labels are scores ×100, rounded down; the table truncates to three decimal places. One color per model provider.

Code4Scene Pareto Frontier

Quality against the median cost of one case · Text-to-Scene, 20 scenes

Swipe to explore all configurations →

Solid: the frontier — nothing cheaper scores higher. One point per configuration, at its evaluated reasoning effort. Cost is the median USD per case. Muse Wonder Full 1.0 (max) is sold by subscription; cost = the token counts its CLI logs, at Muse Wonder's per-token list price. Muse Spark 1.3 (max) is sold by subscription; cost = the token counts its CLI logs, at Muse Spark 1.3's per-token list price. Gemma 4 31B (thinking off) is self-hosted; cost = the token counts its agent logs, at Gemma 4 31B's OpenRouter list price ($0.20 input, $0.40 output per million). Gemma 4 31B (thinking on) is self-hosted; cost = the token counts its agent logs, at Gemma 4 31B's OpenRouter list price ($0.20 input, $0.40 output per million).

21 configurations
Ranking

Research Track, 20 scenes, re-run in October 2026 with every agent in the same sandbox. Case score = 0.2 × Detailed + 0.6 × Overview + 0.2 × Physical; a case without a valid scene scores 0. Detailed, Overview and Physical are means of the per-case scores. Cost is the median per case. *Muse Wonder Full 1.0 (max) is sold by subscription; cost = the token counts its CLI logs, at Muse Wonder's per-token list price. *Muse Spark 1.3 (max) is sold by subscription; cost = the token counts its CLI logs, at Muse Spark 1.3's per-token list price. *Gemma 4 31B (thinking off) is self-hosted; cost = the token counts its agent logs, at Gemma 4 31B's OpenRouter list price ($0.20 input, $0.40 output per million). *Gemma 4 31B (thinking on) is self-hosted; cost = the token counts its agent logs, at Gemma 4 31B's OpenRouter list price ($0.20 input, $0.40 output per million).

#Agent configurationScoreDetailedOverviewPhysicalMedian cost
1Claude Sonnet 5.5 (max)ParetoAnthropic
0.837
0.8030.8120.945$26.93
2Claude Opus 5.5 (max)ParetoAnthropic
0.832
0.7630.8180.943$26.90
3Claude Fable 5.1 (max)ParetoAnthropic
0.800
0.7460.7560.983$23.42
4GPT-6 Astra (max)ParetoOpenAI
0.790
0.7600.8110.759$14.25
5GPT-6.1 Sol (max)ParetoOpenAI
0.784
0.7420.7780.845$2.59
6Gemini 4 Argon (high)Google
0.777
0.6880.7560.930$4.83
7GPT-5.6 Sol (max)OpenAI
0.738
0.6480.7190.886$6.87
8Claude Haiku 5.5 (max)ParetoAnthropic
0.718
0.6520.6670.937$2.43
9Muse Wonder Full 1.0 (max)Meta
0.715
0.6660.6960.819$3.66*
10Grok 4.7 (xhigh)xAI
0.700
0.6910.6860.751$3.98
11Grok 4.6 (xhigh)xAI
0.696
0.6430.7170.689$7.41
12Muse Spark 1.3 (max)Meta
0.696
0.6410.6670.839$3.24*
13Gemini 3.8 Flash (high)Google
0.694
0.5780.6620.905$3.85
14GPT-6 Luna (max)ParetoOpenAI
0.688
0.6060.6660.834$0.16
15GLM-5.3 Flash (max)open weightsZ.ai
0.663
0.6130.6680.699$0.94
16MiMo V2.6 Pro (max)open weightsXiaomi
0.632
0.5720.6150.745$0.92
17Muse Spark Open (max)open weightsMeta
0.611
0.5830.5910.700$2.01
18Gemma 4 31B (thinking off)open weightsParetoGoogle
0.553
0.4870.5070.755$0.04*
19Nemotron 3.5 Super VL (max)open weightsNVIDIA
0.520
0.4680.4590.756$0.14
20Gemma 4 31B (thinking on)open weightsGoogle
0.517
0.4480.4690.731$0.06*
21DeepSeek V4.1 Flash (max)open weightsDeepSeek
0.371
0.3570.3240.526$0.35

75 public cases (25 indoor, 50 outdoor). Case score = 0.8 × Repair F1 + 0.2 × Physical. Repair F1 counts target actors restored to the withheld ground truth.

#Agent configurationScoreRepair F1PhysicalIndoorOutdoorCost / case
1Gemini 3.8 Flash (high)ParetoGoogle
0.581
0.5270.7960.7170.513$1.35
2GPT-6 Astra (max)OpenAI
0.515
0.4450.7960.7850.380$3.32
3Claude Opus 5 (max)Anthropic
0.468
0.3890.7860.6180.393$4.46
4Claude Fable 5.1 (max)Anthropic
0.424
0.3320.7950.5350.369$3.09
5GPT-5.6 Sol (high)OpenAI
0.393
0.3190.6890.4970.341$1.88
6Muse Spark 1.3 (medium)ParetoMeta
0.358
0.2460.8070.6330.221$0.07
7GLM-5.3 Flash (max)open weightsZ.ai
0.320
0.1880.8480.4650.247$0.09
8Qwen 3.8 27B (thinking on)open weightsAlibaba
0.226
0.1180.6600.2970.191$0.26
9DeepSeek V4.1 Flash (high)open weightsParetoDeepSeek
0.210
0.0660.7870.1890.221$0.05
10Qwen 3.8 27B (thinking off)open weightsAlibaba
0.200
0.0830.6670.2660.166$0.28
11Inkling (high)Thinking Machines
0.198
0.0950.6090.1690.213$0.75
12Grok 4.6 (high)xAI
0.184
0.0440.7440.1970.178$0.26
13Gemma 4 31B (thinking on)open weightsParetoGoogle
0.126
0.0030.6150.1270.125$0.03
14Gemma 4 31B (thinking off)open weightsParetoGoogle
0.115
0.0010.5720.1120.116$0.02

Click a column to sort. Pareto: on the score-against-cost frontier.

Visualizing agent outputs

Four agents build the same scene: a time-lapse of each build, then an orbit of the result. Pick a scene, or open the gallery for all 21 configurations on all 20 scenes.

Swipe to see all four agents →

Text-to-Scene · re-run, October 2026

Blue City

Build me a compact Moroccan medina street inspired by Chefchaouen, with a tranquil, sunlit atmosphere and roughly fifteen to twenty tightly adjoining two- to four-story buildings arranged along both sides of a broad, straight road. Layer the irregular façades with recessed courtyards, narrow alleys, horseshoe-arched passages, exterior stair landings, projecting timber galleries, small balconies, and overlapping rooflines. Construct the road from worn, slightly reflective paving with broad shallow puddles, pale raised curbs, and narrow dark cobbled sidewalks. Finish the buildings in weathered cobalt and powder blue, white, pale turquoise, dusty coral, and peach stucco, frequently exposing dark stone masonry beneath chipped plaster. Use predominantly orange terracotta roof tiles, punctuated by pale-blue tiled pyramidal roofs and flat blue terraces. Make a tall blue tower house with a dark wooden room projecting below its roof the central landmark. Frame deep-set wooden doors and arched windows with alternating blue-and-white bands, then add flowering vines, tall palms, twin-lantern streetlights, and occasional wooden benches.

  • Claude Opus 5.5 (max)0.747
  • GPT-6 Astra (max)0.814
  • GPT-6.1 Sol (max)0.834
  • Gemini 4 Argon (high)0.803
Compare all 19 agents on this scene ↗

Each tile: the build as a time-lapse, then an orbit of the scene the agent saved. Chips: the case score ×100, rounded down.

Loading 3D scene…Drag to orbit · Scroll to zoom
Text-to-Scene · Showcase

Industrial Harbor

GPT-6 Astra (max) · 3,949 actors, built in one agent session from an empty 130 m stage

An industrial harbor loading dock with shipping containers, barrels, cranes, warehouse props, pallets, and warning signs.
Open at full texture resolution ↗

Streams about 1.2 GB of textures on first load.

Open the case explorer

Takeaways

What the paper's evaluation shows across its 14 agents. Every chart below is drawn from the paper's numbers, not the October 2026 Text-to-Scene re-run above; hover for values.

Takeaway

Spatial Composition remains the weakest requirement family for all 14 agents.

Errors persist even when the required objects are present: generating the right objects does not ensure that their relationships satisfy the specification.

Requirement-family score per agent
Identity & Environmentmean 67Content & Quantitymean 54Attributes & Materialsmean 48Spatial Composition, in the agent’s colourmean 36
One group per agent, in Text-to-Scene rank order: Identity & Environment, Content & Quantity, Attributes & Materials, then Spatial Composition, the lowest bar in every group. Scores ×100 (paper Figure 14b).
The objects are there; the relation is not
Loading 3D scene…Drag to orbit · Scroll to zoom
✓ slab roof 0.95✓ stone coping 0.82✗ slab roof enclosed by the coping 0.78
GPT-5.6 Sol’s saved Egyptian Temple scene. The judge finds the roof and stone coping, but flags their spatial relationship. View the judge’s evidence ↗
Mismatch when the objects are present
0%10%20%30%40%Spatial relation32.0%Distribution19.1%Composition4.3%
Share of checks that fail although every object they name is in the scene, across the benchmark (paper Figure 6a).

Cite This Work

@misc{ye2026code4scene,
  title         = {Code4Scene: Benchmarking Coding Agents for Constructing and Editing 3D Scenes},
  author        = {Xiaokang Ye and Siddhant Hitesh Mantri and Zimeng Chen and Edward Zhang and Zhaoxu Zheng and Yuanheng Li and Yizhao Chen and Tianyang Huang and Lianhui Qin},
  year          = {2026},
  eprint        = {2609.36777},
  archivePrefix = {arXiv},
  primaryClass  = {cs.AI},
  url           = {https://arxiv.org/abs/2609.36777},
}
arXiv GitHub Repository SimWorld Main Site