Palenge · BLOG

Pulsa Esc para cerrar · / para abrir

Uncategorized

[3dcodeverse] The 3D Game World That Has to Prove Itself

In a game studio, a world is finished twice before anyone plays it. The first verdict is mechanical: the level opens, nothing floats above the floor, no wall passes through another, the camera finds the lighthouse without clipping through it. The second is visual: someone walks the map or looks at a screenshot, and the fog is beautiful or the island feels dead. Both verdicts arrive before the game exists, and both are expensive. 3DCodeVerse is a research ecosystem that automates the pair for 3D content written as raw code, and a game world is exactly that kind of content.

It is the official code release of the 3DCodeVerse paper, Apache-2.0 on the code side, and it ships in three pieces: a curated corpus of about two million executable 3D programs, a harness where coding agents write and refine 3D code, and fine-tuning recipes that teach open models to do the same. The claim underneath is narrow and testable: an agent should not be trusted on its word that a 3D program works. It should be run, measured, rendered and judged, round after round, until the program holds up.

Making a game with it starts with a sentence. You describe the world, and the harness plans it; a DAG of sub-agents splits the work into parts — the island, the lighthouse, the rowboat, the path down to the shore — and each part is written as raw code, not an editor project. Three.js for scenes, Blender’s Python and CadQuery for objects, GLSL and OpenGL for the graphics. The harness then executes the result, probes the scene, renders labelled multi-view montages, and hands them to a VLM judge scoring against a rubric. Measurements carry veto power: a wall that looks right but intersects the floor is caught numerically, with per-part correction hints. Failures become localized repair tasks, the agent fixes them, and the best-scoring round is the deliverable. No human sits in the loop, and every round is kept in git, so the versions that lost stay in the record too.

Where it pays off is the greybox grind. Getting a world where parts touch the ground, proportions hold and framing works is the slow, thankless half of building a game, and here that half is settled by execution rather than a tired pair of eyes. Where it does not pay off is the part that makes a game a game. No rubric in the harness has a line for fun. Whether a controller feels right or a level has a rhythm, no render can prove. What comes back is a scene, not an engine: source files for the world’s structure and look, ready to be wired to gameplay you still have to design. It decides none of that.

For readers who want the machinery: the harness covers four tracks — static objects, articulated objects, scenes and graphics — across seven dialects, and it hands the writing to vendor CLIs such as claude-code, codex and Antigravity’s agy, or to any chat model directly. A spatial toolbox is served to the agent over MCP; an optional texturing pass has a VLM plan the materials and paints the result onto world-metre UVs; every run ends with renders, a record.json, and a 3dcode gallery serve command that opens the lot in a browser. The numbers support the loop: inside the harness, Gemini 3.8 Flash climbs from 13% to 87% human preference on text-to-3D prompts against its own coding harness, and fine-tuning lifts an open Qwen3.5-9B from 0.0% to 84.9% execution on 3DCodeBench.

bash harness/setup.sh
3dcode make "a playable island at dusk with a lighthouse and a rowboat" --track scene --language scene_threejs
3dcode gallery serve

The fine print, in the project’s own spirit: setup asks for Linux, Python 3.13 and Node 20.6+, the vendor CLIs or API keys are yours to bring, and per-round costs are documented rather than hidden. The code is Apache-2.0 while the published datasets are non-commercial, and there is no CI — this is research software that wants to be read before it is trusted. Point it at a game and the trade is plain: the harness will not build the game for you, but it will refuse to believe in a world that does not run. That refusal is worth a great many grey boxes.

flowchart LR
  A[Describe the game world] --> B[Plan and split into sub-agent tasks]
  B --> C[Write raw 3D code]
  C --> D[Execute, measure, render]
  D --> E[Rubric judge]
  E -->|defects| F[Localized repairs]
  F --> C
  E --> G[Best round is the deliverable]

Fuentes

Generado con IA · Revisado y curado por palenge

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *