arXiv:2610.23173cs.LGOct 2026

Manuscript Offprint

arXiv:2610.23173

Structural Affinity: An Algorithm for Coherent Cage-Based Shape Design

Aviraj Newatia, Shengan Yang, Hantao Zhong, Rika Antonova

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Cage-based deformation (CBD) parametrises 3D geometry through a small set of control handles, effectively enabling a variety of tasks from animation and interactive modelling to tool-based co-design, neural deformation transfer, and aerodynamic shape optimization. Many optimization approaches relying on CBD employ regularisation strategies to reduce the distortion of the deformed mesh by encouraging smooth, regular cage deformations. These techniques offer soft guidance to an optimization algorithm towards desirable deformations, but compete with the task objective rather than changing the deformation parameterization itself. In this work we introduce Structural Affinity for CBD, an explicit regularisation method which enables smooth deformations through control cages by exploiting a two-cage structure to couple cage-handle motion directly. Structural Affinity precomputes an affinity matrix using mean-value coordinates, binding the inner control-cage to a coarser outer-cage. This matrix defines how much a cage handle displacement propagates to neighbouring handles which substantially decreases and often eliminates cage self-intersections, reduces mesh distortion, and adds linear overhead at deformation time. Across robotic control–morphology co-design, source-to-target neural deformation transfer, and aerodynamic wing shape optimization, Structural Affinity produces more regular deformations and substantially reduces reliance on hand-designed structural loss terms. We report consistent gains on three complementary diagnostics: the cotangent Laplacian, a proxy for surface smoothness; cage distortion, capturing whether control handles move coherently; and surface roughness, which measures undesirable oscillation in wing geometry.

1 INTRODUCTION

Algorithmic design and deformation of 3D shapes is employed in computer vision, graphics, and robotics. However, searching the space of arbitrary shapes causes a combinatorial explosion with many degrees of freedom to optimize, and vast regions with irregular, distorted, or degenerate shapes.

Reduced-parameterization modeling techniques such as Cage-Based Deformation (Nieto & Susín, 2013) (CBD) and Free-Form Deformation (Sederberg & Parry, 1986) (FFD) are typically used to reduce the search space over shapes. By preserving desirable attributes of the underlying shape (e.g. mesh topology), such methods reduce the degrees of freedom for shape deformation. This implicitly reducing the complexity of the search space, as compared to directly predicting deltas on mesh vertices, or predicting the vertices and edges themselves. Operating search algorithms or optimization under such parametrizations restricts the search space to a region where desirable attributes are preserved (with respect to the base mesh). Furthermore, in the case of CBD, different classes of attributes can be preserved depending on the weight computation method employed. For instance, Somigliana coordinates (Chen et al., 2023) produce elastic-style deformations.

CBD, however, is still highly sensitive to the movement of its control handles. Poor control of cage handles can lead to distorted, "spiky", and degenerate shapes (e.g. Figure 1). Methods such as the Laplacian Smoothing Loss (Sorkine et al., 2004) aim to alleviate this through loss regularization. Deployments of CBD in learning applications also craft their own loss regularizers to further manage this distortion (Yifan et al., 2020). Such techniques introduce conflicting objectives and optimization methods require careful task-specific parameter tuning to balance competing terms.

{aviraj.newatia,shengan.yang,hantao.zhong,rika.antonova}@cst.cam.ac.uk

In this work we introduce Structural Affinity, an algorithm for explicitly regularizing cage-handle motion. By exploiting the weights of an “outer cage” (a cage enclosing the control cage), we obtain an “affinity” matrix to propagate deformations between control cage handles. This maintains the structure prescribed by the outer cage in displacements on the control cage handles, reducing reliance on loss regularization terms. With N inner-cage handles and L retained off-diagonal affinities, propagation costs O(N+L)\mathcal{O}(N + L) at deformation time and helps avoid the mesh collapse issues of standard CBD.

We show that using CBD-SA enables far easier shape deformation across a range of tasks. In robot morphology co-design, we jointly optimize fingertip shapes and a grasping policy for picking up small objects. In deformation transfer, we train Neural Cages to deform a source shape to match a target. In low-fidelity aerodynamic wing shape optimization, we minimize modeled drag at fixed lift under a geometric bending-energy constraint. By regularising the space of shapes, we enable the more effective

Figure

Figure 1: Top: CBD; bottom: CBD-SA.

use of both gradient-based and non-gradient based optimization for deformation search producing more natural looking shapes.

References (50)