cs.CVJun 9, 2026

3D-CoS: A New 3D Reconstruction Paradigm Based on VLM Code Synthesis

Authors: Yuhao WangPuyi WangLinjie LiZhengyuan YangKevin Qinghong LinYu Cheng

Organizations: 1Shanghai Jiao Tong University · 2The Chinese University of Hong Kong · 3Microsoft · University of Oxford

Abstract

Most recent 3D reconstruction and editing systems operate on implicit and explicit representations such as NeRF, point clouds, or meshes. While these representations enable high-fidelity rendering, they are fundamentally low-level and hard to control programmatically. In contrast, we propose and systematically evaluate a new 3D reconstruction paradigm, 3D Code Synthesis (3D-CoS), where 3D assets are constructed as executable Blender code, a programmatic and interpretable medium. To assess how well current VLMs can use code to represent 3D objects, we evaluate representative open-source and closed-source VLMs in code-based reconstruction under a unified protocol. We further introduce a suite of structured code-synthesis workflows, including blueprint-based planning, Retrieval-Augmented Generation (RAG) over Blender API documentation, few-shot geometric demonstrations, and a component-level Agent workflow for part-wise code generation. To demonstrate the unique advantages of this representation, we further evaluate localized text-driven modifications and compare our code-based edits with a point-cloud-based 3D editing baseline. Our study shows that code as a 3D representation offers strong controllability and locality, yielding stronger edit fidelity and better preservation of unedited regions in our targeted editing evaluation. Our work also analyzes the potential of this paradigm, delineates the current capability frontier of VLMs for programmatic 3D modeling, and highlights code synthesis as a promising direction for editable 3D reconstruction.

Explore similar work

CardsList
  1. Nova3D: Code-Native Generation of Programmable 3D Assets

    Jul 22, 2026Nimra Noor, Muhammad Bilal, Abdullah Hussain +13D Assets3D Generative Models

  2. 3D Primitives are a Spatial Language for VLMs

    May 12, 2026Junze Liu, Kun Qian, Florian Dubost +83D Spatial Reasoning