Programming-by-Example for Batch-Editing Collision Meshes in 3D Software
在 3D 软件中批量编辑碰撞网格的示例编程
Gengyang Xu、Dongwei Xiao、Hengcheng Zhu、Yiteng Peng、Wei Meng、Shuai Wang、Shing-Chi Cheung · arXiv:2607.08804 · 2026-07-09 · cs.GR
随着 3D 软件的激增,软件工件现在已超越代码和 2D 用户界面,包括 3D 资产。在这些资产中,碰撞网格至关重要,因为它们定义了物理引擎用于碰撞检测和物理交互的几何形状。尽管现有工具可以自动从视觉网格生成碰撞网格,但它们通常无法捕获预期的交互行为。因此,开发人员需要手动编辑许多异构碰撞网格,这是一个耗时且难以扩展的过程。为了解决这个问题,我们提出了一种批量神经符号程序合成方法
中文为机器翻译节选,以英文原文为准。
English abstract
As 3D software proliferates, software artifacts now extend beyond code and 2D user interfaces to include 3D assets. Among these assets, collision meshes are critical as they define the geometry used by physics engines for collision detection and physical interaction. Although existing tools can automatically generate collision meshes from visual meshes, they often fail to capture the intended interaction behavior. As a result, developers need to manually edit many heterogeneous collision meshes, a process that is time-consuming and challenging to scale. To address this problem, we present a neuro-symbolic program synthesis approach for batch-editing collision meshes. We formulate the task as a programming-by-example problem: given a family of collision meshes with the same editing intent and a small number of user demonstrations, our approach synthesizes a reusable program that captures…