ShapeMOD: Macro Operation Discovery for 3D Shape Programs

04/13/2021
by   R. Kenny Jones, et al.
4

A popular way to create detailed yet easily controllable 3D shapes is via procedural modeling, i.e. generating geometry using programs. Such programs consist of a series of instructions along with their associated parameter values. To fully realize the benefits of this representation, a shape program should be compact and only expose degrees of freedom that allow for meaningful manipulation of output geometry. One way to achieve this goal is to design higher-level macro operators that, when executed, expand into a series of commands from the base shape modeling language. However, manually authoring such macros, much like shape programs themselves, is difficult and largely restricted to domain experts. In this paper, we present ShapeMOD, an algorithm for automatically discovering macros that are useful across large datasets of 3D shape programs. ShapeMOD operates on shape programs expressed in an imperative, statement-based language. It is designed to discover macros that make programs more compact by minimizing the number of function calls and free parameters required to represent an input shape collection. We run ShapeMOD on multiple collections of programs expressed in a domain-specific language for 3D shape structures. We show that it automatically discovers a concise set of macros that abstract out common structural and parametric patterns that generalize over large shape collections. We also demonstrate that the macros found by ShapeMOD improve performance on downstream tasks including shape generative modeling and inferring programs from point clouds. Finally, we conduct a user study that indicates that ShapeMOD's discovered macros make interactive shape editing more efficient.

READ FULL TEXT

page 11

page 13

page 16

research
05/09/2023

ShapeCoder: Discovering Abstractions for Visual Programs from Unstructured Primitives

Programs are an increasingly popular representation for visual data, exp...
research
09/17/2020

ShapeAssembly: Learning to Generate Programs for 3D Shape Structure Synthesis

Manually authoring 3D shapes is difficult and time consuming; generative...
research
10/04/2021

Differentiable 3D CAD Programs for Bidirectional Editing

Modern CAD tools represent 3D designs not only as geometry, but also as ...
research
06/12/2023

InstructP2P: Learning to Edit 3D Point Clouds with Text Instructions

Enhancing AI systems to perform tasks following human instructions can s...
research
11/02/2022

AmiGo: Computational Design of Amigurumi Crochet Patterns

We propose an approach for generating crochet instructions (patterns) fr...
research
12/22/2019

Neural Shape Parsers for Constructive Solid Geometry

Constructive Solid Geometry (CSG) is a geometric modeling technique that...

Please sign up or login with your details

Forgot password? Click here to reset