<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Guaranteed globally injective 3D deformation processing</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>08/01/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10290706</idno>
					<idno type="doi">10.1145/3450626.3459757</idno>
					<title level='j'>ACM Transactions on Graphics</title>
<idno>0730-0301</idno>
<biblScope unit="volume">40</biblScope>
<biblScope unit="issue">4</biblScope>					

					<author>Yu Fang</author><author>Minchen Li</author><author>Chenfanfu Jiang</author><author>Danny M. Kaufman</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Fig. <ref type="figure">1</ref>. Making Dumplings. Injective Deformation Processing (IDP) enables reliable and efficient deformation with a guarantee of injectivity for a wide range of tasks. Here, applied for modeling and layout with a tetrahedral mesh, we can emulate manual steps with IDP to directly form a complex model from simple primitives in just a few steps. Once complete, we copy-paste the model. Then layout, with non-intersection enforced, provides natural variation for the copies as we nudge the plated dumplings for a final arrangement.</p><p>We extend recent advances in the numerical time-integration of contacting elastodynamics <ref type="bibr">[Li et al. 2020]</ref> to build a new framework, called Injective Deformation Processing (IDP), for the robust solution of a wide range of mesh deformation problems requiring injectivity. IDP solves challenging 3D (and 2D) geometry processing and animation tasks on meshes, via artificial time integration, with guarantees of both non-inversion and non-overlap. To our knowledge IDP is the first framework for 3D deformation processing that can efficiently guarantee globally injective deformation without geometric locking. We demonstrate its application on a diverse set of problems and show its significant improvement over state-of-the-art for globally injective 3D deformation.</p><p>CCS Concepts: &#8226; Computing methodologies &#8594; Shape modeling;</p><p>&#8226; Mathematics of computing &#8594; Continuous optimization.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>A wide array of geometry processing and animation tasks boil down to minimizing a deformation objective while seeking to achieve both targeted boundary conditions and injectivity. If we loosen our requirements to satisfying just local injectivity, or else to focus solely on 2D problems, then recent advances in distortion optimization offer many promising solutions <ref type="bibr">[Jiang et al. 2017;</ref><ref type="bibr">Kovalsky et al. 2016;</ref><ref type="bibr">Sch&#252;ller et al. 2013;</ref><ref type="bibr">Smith and Schaefer 2015;</ref><ref type="bibr">Su et al. 2020;</ref><ref type="bibr">Zhu et al. 2018]</ref>.</p><p>However, when it comes to optimizing 3D mesh deformations with global injectivity, very few options are available. At the same time, existing methods come with strong limitations on performance and, perhaps even more restrictive, significant modes of failure.</p><p>In summary (we detail the work in Section 3), there is currently an undesirable trade-off between reliability and expressiveness in computing globally injective deformations in 3D. On the one hand, many methods apply iterative contact-processing modules from physics-based animation <ref type="bibr">[Bridson et al. 2002]</ref> to resolve intersections in geometry processing. These methods are efficient and easily support large deformations. However, this efficiency and expressiveness come at the cost of reliability: intersections are rarely fully resolved (convergence) while inversions are generally ignored. On the other hand, recent attention has also focused on applying fictitious domain methods from computational mechanics <ref type="bibr">[Pagano and Alart 2008]</ref> to reliably provide bijective maps <ref type="bibr">[Jiang et al. 2017</ref>]. To enforce bijectivity, negative space is separately discretized by a compatible triangulation. However, without refinement, this triangulation introduces increasingly severe locking from sheared elements as it distorts with the primary mesh. While in 2D this locking can be alleviated by global remeshing, in 3D it cannot (tractability); and here local remeshing <ref type="bibr">[Jiang et al. 2017;</ref><ref type="bibr">M&#252;ller et al. 2015</ref>] still suffers from severe locking.</p><p>Towards providing a robust, reliable, general-purpose solution we follow this well-worn path from physics modeling to geometry processing. We port and extend Incremental Potential Contact (IPC) <ref type="bibr">[Li et al. 2020</ref>], a recent method for simulating contacting elastodynamics, to enable globally injective optimization of deforming meshes with guarantees of both non-overlap and non-inversion. This enables us to build a new framework called Injective Deformation Processing (IDP) for the robust solution of a wide range of 3D and 2D optimization problems on meshes requiring injectivity and satisfaction of boundary conditions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Contributions</head><p>IDP is a general-purpose framework for deformation processing focusing on expressiveness and reliability with guarantees of stability, non-interpenetration and, when desired and appropriate, noninversion on both triangular and tetrahedral meshes. To our knowledge IDP is the first framework for 3D deformation processing that can efficiently guarantee globally injective deformation without geometric locking. To formulate IDP our contributions include:</p><p>&#8226; A simple and direct extension of the IPC model from elastodynamics to the artificial time integration solution of a wide range of deformation problems requiring injectivity; &#8226; A comprehensive comparison with the 3D state-of-the-art on a new benchmark set of stress-test examples demonstrating IDP's advances -we show IDP enables results and guarantees not achievable with existing methods; and &#8226; Demonstration and analysis of applications this enables on a range of practical and challenging geometry processing and animation tasks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">PROBLEM STATEMENT</head><p>We phrase a wide range of geometric tasks on meshes in terms of a simple optimization framework. We begin each task with a reference triangulation &#119879; (triangles or tetrahedra depending on application) with &#119899; vertex locations in &#119889;-dimensional space stored in vector x &#8712; R &#119889;&#119899; and a corresponding starting geometry &#119909; 0 &#8712; R &#119889;&#119899; .</p><p>Our most simple task is to evolve the mesh from &#119909; 0 to a local minimizer of a generally nonlinear and nonconvex energy &#119864; (&#119909;, x) = &#119864; x (&#119909;) defined w.r.t. x. Solutions are &#119909; * satisfying &#8741;&#8711;&#119864; x (&#119909; * )&#8741; &#8804; &#120598;.</p><p>Boundary Conditions. Full or partial constraints on the boundary geometry can be imposed. Our task then extends to evolving &#119909; 0 to a geometry &#119909; * = argmin &#119909; &#119864; x (&#119909;) s.t. &#119909; satisfying all boundary conditions<ref type="foot">foot_0</ref> .</p><p>Injectivity. When we additionally impose injectivity constraints we require the path traversed from &#119909; 0 to &#119909; * be non-inverting and/or nonoverlapping. A path that is both non-inverting and non-overlapping gives a globally injective deformation.</p><p>Time-varying conditions. Finally, in many tasks we consider the optimization further parameterized with additional terms &#119906;, so that we minimize &#119864; x (&#119909;, &#119906;). Here parameters &#119906; can vary over the optimization process during evolution from &#119909; 0 to &#119909; * , parameterized in turn by artificial time variable &#119905; &#8712; R. "Time-varying" &#119906; enable a rich range of applications and optimization tasks including scripted boundary conditions (e.g. for animation), homotopies of geometry and/or energy, and even online optimization to provide user-in-theloop interaction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">RELATED WORK</head><p>While IDP is also an effective tool for globally injective deformation in 2D (see Section 7.4), a range of efficient methods have been recently developed <ref type="bibr">[Jiang et al. 2017;</ref><ref type="bibr">Smith and Schaefer 2015;</ref><ref type="bibr">Su et al. 2020]</ref> for this task. Likewise, we note that for applications where a 3D target domain's boundary is fully fixed, recently developed methods <ref type="bibr">[Du et al. 2020;</ref><ref type="bibr">Kovalsky et al. 2015</ref>] robustly and efficiently obtain bijective maps. Here we target IDP primarily on underserved 3D tasks and so focus here on 3D globally injective deformation processing efforts and related advances.</p><p>Computer graphics has enjoyed a friendly sharing of techniques across borders between physics simulation and geometry processing; see e.g., <ref type="bibr">Bouaziz et al. [2012]</ref> and <ref type="bibr">Bouaziz et al. [2014]</ref>. This has lent itself to complementary advances and useful borrowings. Most germane to our discussion are a number of intertwined developments in injective mapping and contact mechanics. Broadly, methods seeking globally injective 3D deformation with partial or fully free boundaries have so far followed one of two routes.</p><p>In the first route, iterative physics-based collision-response methods <ref type="bibr">[Bridson et al. 2002;</ref><ref type="bibr">Harmon et al. 2008</ref>] have been extended for geometry processing tasks <ref type="bibr">[Brochu and Bridson 2009;</ref><ref type="bibr">Harmon et al. 2011;</ref><ref type="bibr">Sacht et al. 2015</ref>]. These methods successively step, detect intersection and then correct with iterative sweeps. Modules for these separate components are well-polished (and so readily available and easy to adapt), often parallelized and generally very efficient. However, as touched upon above, these solvers generally do not handle inversion, have no guarantees of convergence and, in practice, generally cannot and do not resolve all interpenetrations <ref type="bibr">[Li et al. 2020]</ref>.</p><p>In turn, even small interpenetrations in meshes lead to unacceptable errors that vary with application, including intersecting animations, unsightly rendering artifacts, downstream cloth simulation failures, and geometries that cannot be 3D-printed. To redress these failures many pipelines in physics have been further augmented with failsafes and correctives <ref type="bibr">[Baraff et al. 2003;</ref><ref type="bibr">Buffet et al. 2019;</ref><ref type="bibr">Volino and Magnenat-Thalmann 2006;</ref><ref type="bibr">Wicke et al. 2006;</ref><ref type="bibr">Wong Fig. 2</ref>. Rhododendron. We model a Rhododendron pattern starting with just a thin box that we fold to form a single petal. Instancing and arranging the folded shape, and then pulling the copies together with contact creates natural variations in the petals and forms our final flower on the right. <ref type="bibr">et al. 2018;</ref><ref type="bibr">Ye et al. 2017</ref><ref type="bibr">Ye et al. , 2015]]</ref>. While often helpful, these methods in turn incur cost, complexity and often have unintended consequences. Corrections often distort the geometry with undesirable deformations which also introduce new, subsequent artifacts such as inversion, that require further clean up.</p><p>In the second route, fictitious domain methods from computational mechanics, see e.g., <ref type="bibr">Pagano and Alart [2008]</ref>, have been extended for both physics-based animation <ref type="bibr">[Misztal and Baerentzen 2012;</ref><ref type="bibr">M&#252;ller et al. 2015</ref>] and for the reliable computation of bijective maps <ref type="bibr">[Jiang et al. 2017]</ref>. While effective and efficient in 2D, in 3D, as we cover above in Section 1, they suffer from unavoidable and unacceptable locking. See Section 6 for our analysis of this behavior.</p><p>Here we explore a new route, extending the recently developed IPC model <ref type="bibr">[Li et al. 2020]</ref> for elastodynamic contact, to 3D injective deformation processing. IPC employs an unsigned-distance, regularized barrier-based approach with continuous collision detection (CCD) applied within nonlinear optimization solves per time steps. We extend IPC to locking-free injective deformation problems by casting optimizations as artificial time stepping of barrier-augmented deformation objectives.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">METHOD 4.1 Artificial Time Stepping</head><p>We include diverse terms in our objective &#119864; depending on tasks and needs. To minimize &#119864; we apply artificial time integration via the gradient system &#119872; &#119909; = -&#8711;&#119864; x (&#119909;), where &#119872; is a mass matrix of the triangulation. For time integration we choose implicit Euler (IE) -selected for its stiff decay <ref type="bibr">[Ascher and Petzold 1998</ref>] enabling larger time steps &#8462;. Concretely, towards solving &#119909; * = argmin &#119909; &#119864; x (&#119909;), starting with &#119909; 0 we evolve the system forward per step with 2</p><p>Resolving each time step then requires the nonlinear minimization of (1). We solve these minimizations via Newton iteration with globalization; see below. Each geometry process is thus divided into time intervals and then further subdivided into subintervals -each defined by a Newton iterate. In order to satisfy injectivity constraints throughout this process we ensure that all steps -that is both between outer time steps and between inner iterations, satisfy non-intersection and/or non-inversion.</p><p>2 &#8741;&#119910; &#8741; 2 &#119872; = &#119910; &#119879; &#119872; &#119910;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">IPC Barrier Energies</head><p>To enforce strict non-intersection guarantees we add the regularized, unsigned distance barrier, &#119861;(&#119909;), from IPC <ref type="bibr">[Li et al. 2020]</ref> to our system energy. The IPC barrier considers unsigned distances &#119889; &#119894; (&#119905;) &#8805; 0, between all non-incident point-triangle and all non-adjacent edgeedge pairs &#119894; in a surface mesh. These are indexed in &#119862;. We begin with choice of a target, d &gt; 0, specifying the distance at which barrier repulsions can begin. Then, the IPC barrier per distance &#119889; is</p><p>and the corresponding full barrier is then</p><p>with &#120581; &gt; 0 an adaptive conditioning parameter automatically controlling the barrier stiffness <ref type="bibr">[Li et al. 2020]</ref>. A few details are worth pointing out here. First, while barriers for all necessary surface pair combinations are included in (3), any pair currently at a distance farther than d provide no contribution and can safely be removed from current evaluation, while still preserving sufficient continuity for computing barrier Hessians. This enables efficient solutions by minimizing assembly costs and fill-in for linear (Hessian) system solves. Second, the barrier functions &#119887; are indeed &#119862; 2 . However, distance functions evaluated would be &#119862; 0 for unavoidable configurations; i.e., parallel edge-edge cases. In turn these discontinuities can hamper convergence, and often even stop it altogether. To this end IPC provides careful mollification and numerical treatment that enables stable and smooth optimization throughout <ref type="bibr">[Li et al. 2020</ref>].</p><p>Minimizing our objective with the barrier &#119861; included extremizes the remaining terms subject to enforcement of one-sided noninterpenetration constraints. While such constraints are usually nonsmooth, here, because the barrier is regularized we can compute both its gradient and Hessian. This allows the barrier to be directly incorporated as an additional potential in our time-stepper and so optimized with second-order information for higher-order convergence. For each step we then apply the Newton-type IPC time-step solver from <ref type="bibr">Li et al. [2020]</ref> to ensure non-intersecting descent steps with filtered line-search. See our supplemental document for details of our solver.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Boundary Conditions</head><p>When applied, Dirichlet boundary conditions (BC) specify a subset of positionally constrained vertices B &#8834; [1, &#119899;]. For every vertex &#119909; &#119896; , &#119896; &#8712; B, we have a corresponding target position x&#119896; . We first Fig. <ref type="figure">3</ref>. Shy Armadillo. Left to right: moving a sparse set of hand and torso handles (feet fixed) IDP's barriers and deformation enable easy scripting of a complex sequence. We first bend just the armadillo's hands. Contacts then pushes it to bury its head while its nose peeks out without intersection. Next, we rotate the torso -collapsing the hiding armadillo onto it into its legs.</p><p>allocate a quota of &#119898; steps to reach these targets. Allocation can be determined both by application goals and efficiency. See our discussion below per application in Section 7. We then apply the first &#119898; time steps to evolve from &#119909; 0 to the geometry at time step &#119898;, &#119909; &#119898; , satisfying all boundary conditions. From here we can continue to time step in order to further reduce the objective while preserving the achieved boundary conditions.</p><p>We subdivide x&#119896; -&#119909; 0 &#119896; into &#119898; subsegments, creating a sequence of intermediary target positions x&#119905; &#119896; for &#119905; &#8712; [1, &#119898;]. In the first Newton iterate of each of time step solve &#119905;, we then start by checking the full step taking all bound vertices in B to their prescribed targets. We find, via CCD and inversion detection (see our supplemental document for details), a largest possible feasible size step towards these targets that causes neither inversion nor intersection, and conservatively apply it to update all bound vertices. We then add a simple, adaptive quadratic penalty to the objective</p><p>where &#119898; &#119896; is vertex &#119896;'s lumped mass. We adaptively increase &#120581; B by 2&#215; whenever the current Newton iterate is close to convergence (via norm of gradient measure) and current targets are not satisfied.</p><p>Alternately, if the current iterate satisfies the time step's targets, we simply fix the bound vertices to their target positions, discard &#119875; from the objective and continue Newton iteration to convergence.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Energies</head><p>For measuring deformation from geometry x to &#119909; we employ linear finite elements and, where needed, hinge stencils. This gives us corresponding deformation gradients per element &#119905; &#8712; &#119879; of &#119865; &#119905; (&#119909;, x) = &#119883; &#119905; ( X&#119905; ) -1 where &#119883; &#119905; and X&#119905; respectively store deformed and effective rest state frames. E.g, for tetrahedra &#119905; with vertices &#119909;1, &#119909;2, &#119909;3, &#119909;4 we have</p><p>Similarly, for 3D shell models we compute the discrete bending/curvature measure from the dihedral angles of each interior edge. To enable elastic deformation behaviors we add standard distortion energies &#936; to our objective &#119864;. Giving us contributions to the objective in the form of</p><p>where &#119907; &#119905; &gt; 0 is the area or volume of the rest shape of element &#119905;. To enforce non-inversion we apply barrier distortion measures, e.g., neo-Hookean (NH) <ref type="bibr">[Ogden 1997</ref>] and symmetric Dirichlet (SD) <ref type="bibr">[Smith and Schaefer 2015]</ref>, and correspondingly add <ref type="bibr">Smith and Schaefer's [2015]</ref> inversion filter to our line-search. Alternately, when we do not require inversion control we can apply a wide range of non-barrier distortion energies <ref type="bibr">[Alexa et al. 2000;</ref><ref type="bibr">Igarashi et al. 2005;</ref><ref type="bibr">Sorkine and Alexa 2007]</ref>. Finally, in either case, as needed for shell models we apply discrete shell bending energy <ref type="bibr">[Grinspun et al. 2003</ref>].</p><p>While geometric distortion measures like SD on their own generally do not provide parameters for changing distortion results, physically motivated measures like NH enable interesting control of deformation shape by changing material moduli, see Section 6. Likewise we enable balancing the relative weighting of multiple terms in the objective &#119864; to obtain further fine-grain control of deformation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.5">Time-Varying Conditions</head><p>Handles. For modeling, sculpting, animation and many other applications the sequence of time-stepped deformations (and not just the final achieved state) provides a useful feedback and often even a final desired output. Binding handles to boundary conditions allows scripted or interactive, time-varying changes to boundary conditions. Here, (rather than precomputing per-time-step targets w.r.t. final destination -as above) we instead provide a sequence or online stream of per-step target locations x&#119905;+1 &#119896; . Our process for resolving them per time step remains otherwise unchanged from Section 4.3 above.</p><p>Shape. Once again taking advantage of the discrete time step framework we are also able to script changes in geometry per step and so correspondingly drive the optimization path. Transformations, for example expansions and contractions, of local or global reference shapes, scripted over time, are simply enabled by direct transform of X&#119905; at the start of each step. Similarly, in modeling, sculpting and other applications, it is often useful to allow the optimizations to "bake" a current deformation as a new reference (e.g, rest) shape. For example this can be applied at the end of a time step whenever a modeling stage is complete. Finally, changes to reference shapes need not be integrable. For geometric operations plastic deformation is often desirable in order to sculpt and model changes that are not fully resisted by elasticity. To model controllable plasticity effects we apply return mapping from solid mechanics <ref type="bibr">[Dunne and Petrinic 2005;</ref><ref type="bibr">Gao et al. 2017</ref>] that apply operators &#119885; to project deformation gradients to limit-surfaces. This allows us to record plastic change by simply updating X&#119905; . Given current deformation gradients from the last time step, this amounts to just a simple projection, per element, at start of step: X -1 &#119905; &#8592; &#119883; -1 &#119905; &#119885; (&#119865; &#119905; ). Mesh. Finally, during extreme deformation regions of large change can be better resolved with re-meshing. Continuous optimization of &#119864; with re-meshing would introduce nonsmooth jumps (slowing progress). Here, however, by time stepping with a first order system we can simply and directly remesh our domain at the end of any time step. When remeshing (we use TetGen <ref type="bibr">[Si 2015</ref>]) we preserve boundaries, optionally adding Steiner points on the mesh surfaces, and so do not introduce overlaps.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">IDP FRAMEWORK</head><p>Together the above components form our simple and efficient framework, IDP, for globally injective deformation tasks. At each time step IDP minimizes the step energy</p><p>For minimization we implement our Newton solver in C++, applying CHOLMOD <ref type="bibr">[Chen et al. 2008]</ref>, compiled with Intel MKL LAPACK and BLAS for linear solves and Eigen for remaining linear algebra routines <ref type="bibr">[Guennebaud et al. 2010</ref>]. To enable future applications, development and testing we will release our implementation of the IDP framework as an open source project and include in our supplemental both input and output meshes from our benchmark testing and demonstration applications below. In the following all our experiments and evaluations are executed on a Macbook Pro with 2.3 GHz 8-Core Intel Core i9, or Ubuntu Desktops with 4.2 GHz 4-core Intel Core i7-7700K, 3.7 GHz 6-core Intel Core i7-8700K, 3.0 GHz 8-core Intel Core i7-9700, or 3.6 GHz 8-core Intel Core i9-9900K as detailed per experiment below.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Time Step Size</head><p>Examining (6) we see that time step size &#8462; balances the often strongly nonlinear and nonconvex energies in &#119864; against a positive definite quadratic damping term. Larger &#8462; advances farther per time step at the cost of more challenging Newton solve and so more iterates per step. While our system offers great flexibility in choosing time step size here, for simplicity, we apply throughout all examples a time step size of &#8462; = (0.04) 2 . We select this size for two reasons. First, we note this step size performs well across examples. Second, in cases where we wish to export a deformation sequence, time steps at this size have the visual effect of stepping a highly damped animation with frame-rate sized time steps of &#8730; &#8462; (24 fps).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Setting Distance Accuracy</head><p>For differing applications specifying a choice of d controls how tightly surfaces can conform. Relatively small d, e.g. 10 -3 in our benchmark below, give imperceptible spacing between boundaries. While for other applications, e.g. to create 3D-printable geometries or to enable animation clean-up, we may wish to push to greater size gaps and so allow selection of larger d for these tasks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3">Guarantees</head><p>By construction, when both our barrier, &#119861;, and a non-inverting distortion energy are included in the objective, the IDP time stepper guarantees that every step taken in each inner Newton iterate, and so correspondingly every step taken from &#119909; 0 , is both non-inverting and non-intersecting. The resulting final step we end with is then correspondingly guaranteed to give a globally injective deformation.</p><p>In turn, as discussed above, it also straightforward to disable all or some of these constraints when desired. To allow interpenetration the user simply does not add the barrier to the objective, while allowing inversion just requires the user to not apply a barrier distortion energy -instead applying non-barrier distortions, e.g. StVK or ARAP, if desired. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.4">Tolerance</head><p>In turn we solve each time step with controllable accuracy w.r.t. the Newton decrement &#119899;(&#119909;) = &#8711; 2 &#119878; &#119905; (&#119909;) -1 &#8711;&#119878; &#119905; (&#119909;), terminating each at a user selected tolerance of &#8741;&#119899;(&#119909;)&#8741; &#8804; &#120598; &#119904; . With smaller tolerances each solved step better resolves deformation energy (and so for example better improves distortion) near &#119909; &#119905; . However, irrespective of the tolerance a user selects, applied injectivity constraints are preserved. For many applications, for example in creating geometry, we observe that large tolerances are more than suitable and often even offer an interesting and useful range of effects as we vary &#120598; &#119904; . For example, consider Figure <ref type="figure">4</ref> where we get different patterning for the same triangle mesh across differing &#120598; &#119904; . On the other hand in other cases, e.g., if we seek to tightly minimize a distortion, smaller tolerances are best. Here IDP exposes the tolerance to the user and converges to requested accuracy per step and, when desired, to convergence of the energy minimized. See below in Section 7 for examples of these applications.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.5">Restrictions</head><p>Finally, we should note specific design choices we have made in building &#119868;&#119863;&#119875;. To enforce global injectivity we require a globally injective initial state, &#119909; 0 . In turn, while &#119868;&#119863;&#119875; will then always preserve injectivity, across every step of deformation, this comes with a restriction too. If the steps prescribed by a sequence of imposed BCs, starting from &#119909; 0 , does not allow an intersection-and inversion-free path (over all variations of injective deformations satisfying the incremental BCs at each step) then &#119868;&#119863;&#119875; will not reach the target.</p><p>Likewise, an interesting corollary also follows: if &#119909; 0 has starting intersections, &#119868;&#119863;&#119875; will preserve them throughout its steps. Consider, for example, five initially nested deformable sphere volumes. They start interpenetrating and so their surfaces subsequently cannot intersect. IDP thus preserves the nested arrangement throughout deformation (see inset). In practice this is often useful as starting geometries frequently have (by artist construction) interpenetrations that are a feature, see e.g. the finger nails of the mannequin model in Section 7.3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.6">Summary</head><p>IDP does not fail for self-intersecting input and also does not disentangle. This is handy in applications like animation cleanup where mesh subcomponents often have "by-design" intersections from artist modeling. More generally IDP ensures that a mesh without self-intersections will remain continuously interpenetration-free throughout its deformation solely via unsigned distances barriers defined on the boundary surface mesh. Vertex penetrations not present in the input can not occur and so are not considered in the barrier. This allows nesting if input meshes are contained in each other and likewise, if any mesh-surface primitive pairs are interpenetrating on input they will remain so throughout the IDP deformation. For 2D triangular meshes and 3D tetrahedral meshes we additionally ensure non-inversion for all elements whenever barrier deformation energies are applied (e.g. NH or SD). Correspondingly, if invertible energies (e.g. ARAP) are applied and/or 3D triangular meshes are deformed we do not. This means that, when desired and appropriate, IDP continuously ensures that deformations are injective throughout the process while only ensuring non-interpenetration otherwise.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">BENCHMARK</head><p>Currently Simplicial Complex Augmentation Framework (SCAF) <ref type="bibr">[Jiang et al. 2017]</ref> is the only reported method for achieving guaranteed, globally injective deformation processing in 3D. In Section 7 below we demonstrate a wide range of applications that are enabled by injective mapping in 3D and hope that new methods building off of our framework will open the door to many more. Here we begin, however, by testing with a benchmark inspired by the bunny-in-box stress test demonstrated by <ref type="bibr">Jiang et al. [2017]</ref> for the SCAF method.</p><p>To start we place a watertight bunny model inside an 10.7&#215; larger enclosing box. In the original SCAF test the bunny's mesh is endowed with ARAP energy on its surface and then "grown" by assigning a 27&#215; scaling of the same mesh as the deformation energy's rest shape. Here the bunny should grow to fill the box (but never intersect it) while likewise ensuring non-intersection. To do so the SCAF method creates a tetrahedral scaffolding (inflated with the SD energy) both inside the model and also outside, conforming to the box boundary. We expect improved behavior (with of course  corresponding cost increases) as meshes increase resolution. Here we consider the behavior of methods on this expansion test across triangle meshes of the bunny with respectively 700, 3K, 13.5K and 54K vertices. In a comparable volumetric set-up for IDP we tetrahedralize the same bunny, endow the entire mesh with an NH energy and similarly grow it (without remeshing), by enlarging rest shape, to fill the box. See Figure <ref type="figure">5</ref> for set up and respective results for IDP and SCAF.</p><p>Across all meshes and over a wide range of stiffnesses and tolerances (and so outputs with controllably varying deformation) IDP rapidly reaches the box boundary without self-intersection nor leaving the box. As expected, as we go to larger mesh resolutions with IDP the bunny's deformation increasingly conforms to both its own boundary and box limits, until by 54K vertices it fills almost the entire box volume with just 0.07% left empty; see Figure <ref type="figure">5</ref> bottom right.</p><p>In comparison, despite a 27&#215; scaling being much larger than the box, we find that SCAF does not expand to significantly fill voids between the bunny and box even as we scale to the 54K mesh. We note comparable results illustrated in Jiang et al <ref type="bibr">[2017]</ref>. In order to push SCAF output to reach full expansion we next disable its fixed, upper iteration limit and instead let it run until stationarity (max &#120575;&#119909; &lt; 10 -5 ). Here we still observe significant gaps at termination. See Figure <ref type="figure">6</ref> left, where we illustrate the final shape SCAF's growth achieves for the 27&#215; scaling. Next, in order to increase the effective weight of the ARAP energy's expansion against the weak resistance of its soft SD energy in the scaffold mesh, we experiment with successively increasing the rest shape. In Figure <ref type="figure">6</ref> middle and right we see some of the successive results as we increase scaling, still with significant voids separating both between the SCAF bunnies' boundaries as well as between bunnies and box. At a 4096&#119883; increase in rest shape we observe best growth for SCAF. Here, for the 54K vertex example, SCAF fills 60.9% of the volume. See Figure <ref type="figure">5</ref> top right, for the corresponding gaps in the final SCAF mesh. We note that despite these differences SCAF and IDP have comparable timings throughout the scaling tests. Similarly, replacing the NH energy with SD, we observe comparable behavior for IDP on all tests, albeit with slightly improved timings corresponding to lower numbers of contacts processed. Please see our supplemental for a full summary of statistics for these tests.</p><p>Here we see the challenges for SCAF (and more generally 3D fictitious mesh methods -see discussion in <ref type="bibr">M&#252;ller et al. [2015]</ref>) where an entire remeshing of the domain in 3D is not practical. SCAF (as in <ref type="bibr">M&#252;ller et al.)</ref> adopts the strategy of local remeshing operations for 3D and so obtains shear-locked configurations of scaffolding elements which, as we see above, resist deformation irrespective of how relatively weak the scaffold energy becomes. Fig. <ref type="figure">7</ref>. Cylinder in cylinder comparison. We illustrate locking in a simple test in which we attempt to grow a cylinder mesh enclosed in a larger cylinder cage (left). SCAF, despite no obstructions in the cage, quickly locks after 57 iterations (mesh in yellow, scaffolding in grey) with no further progress (middle). IDP (mesh in orange) completely fills the cage after 60 time steps (right).</p><p>The bunny-box test, due to its simple boundary, exercises constrained deformation only moderately. Next, we apply two new tests to further push constrained deformation. First, to further investigate locking we propose a simple variation: inserting a 4.4K vertex cylinder (height: 1, radius 0.5) inside a larger, enclosing 5.5K vertex cylinder cage (height: 3.2, radius 0.55), we grow the cylinder by 1024&#215; and 27&#215; respectively for SCAF and IDP, until each method terminates with max &#120575;&#119909; &lt; 10 -5 . Here in 60 time steps IDP completely fills the cage while SCAF, at 57 iterations, is locked, unable to make further progress with imperceptible growth. See Figure <ref type="figure">7</ref> for steps in the respective deformations including final states and scaffold configuration. SCAF IDP Fig. <ref type="figure">8</ref>. Octocat in hourglass comparison. We expand an octocat model inside an hourglass cage with the goal of enabling deformation to fill the cage and so pass through the tight hourglass constriction (left). Here SCAF grows moderately (mesh in yellow, scaffolding in grey), until locked without filling the bottom lobe (middle). In contrast IDP (mesh in orange) passes through the neck and deforms, without intersection nor inversion to fill the cage volume (right). SCAF IDP Fig. <ref type="figure">9</ref>. Bunny in hourglass comparison. Following the experiment in Figure <ref type="figure">8</ref> we replace the enclosed octocat with a simpler bunny geometry.</p><p>Here too SCAF is unable to fill the bottom lobe while IDP fills the entire hourglass cage.</p><p>Finally, to fully stress IDP we propose an hourglass test where we place respectively bunny (13.5K vertices) and octocat (17.1K) models inside hourglass cages (4.5K); see Figures <ref type="figure">8</ref> and<ref type="figure">9</ref> for SCAF and IDP results. We apply a growth of 166&#215; and 9261&#215; (best growth factors found) respectively for SCAF bunny and SCAF octocat, with the goal of enabling deformation to fill the cage and so pass through the tight hourglass constriction. Here SCAF grows moderately without filling the either bottom lobe until stopping progress altogether. See Figures <ref type="figure">8</ref> and<ref type="figure">9</ref> for SCAF steps and the final locked configurations of its scaffoldings. In contrast for both models, each with applied 27&#215; growth, IDP is able to pass through the hourglass neck and deform, without intersection nor inversion, with bunny and octocat filling respectively 98.3% and 97.8% of the hourglass cage volume.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">APPLICATIONS</head><p>Here we demonstrate and analyze a wide range of deformation tasks enabled by the IDP framework.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.1">Sparse Handle Deformation</head><p>Inspired by <ref type="bibr">Zhu et al. [2018]</ref> we begin with two sparse handle deformations tasks. We apply scripted sequences of Dirichlet BCs to a bar (5.5K vertices) and armadillo (43K vertices) meshes -each equipped with NH energy. Bending the bar, we fix its two ends and then rotate it through 2 rounds of twists. We demonstrate three variations, left to right in Figure <ref type="figure">10</ref>: in red we demonstrates a plastic twist with barrier -here a more symmetric model is achieved due to the less elastic resistance while preserving global injectivity; in purple we demonstrate a globally injective twist with just the barrier -here elasticity resists the constraints more and so creates a buckled shape; finally, in green, we remove the barrier and solely enforce non-inversion.</p><p>For the armadillo model we consider an example animation task and script a small "embarrassed" sequence without plasticity. See Figure <ref type="figure">3</ref> and our supplemental video. We apply just a small set of handles on hands and torso -letting the barrier and deformation take care of the rest. We first bend its hands to its head inside them. Here the collision between face and arms allows its nose to peek out (without intersection). Next, we rotate the armadillo's torso to hide -collapsing it into its legs. With a model height of 2&#119898; we exercise the barrier with an imperceptible gap, applying d = 10 -3 &#119898;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.2">Normal Flow</head><p>Here we investigate the application of globally injective normal flows. While flows are of course extensively investigated, to our knowledge this is the first demonstration of normal flows that ensure non-intersection, rather than merging or removing degenerate regions; see e.g., <ref type="bibr">Mullen et al. [2007]</ref>.</p><p>IDP applies per time step normal direction, Neumann boundary conditions on mesh surfaces. The objective at time &#119905; is then</p><p>where &#119873; &#119905; is the normal vector field of the surface at start of time step &#119905;, &#120573; is flow speed (either positive or negative), &#119871; is the element volume weighted Laplacian matrix with negative diagonal entries, and &#120574; smoothing intensity. The statistics for all our normal flow examples are summarized in our supplemental document while we detail applications below.</p><p>Positive flows. Outward flow with IDP effectively inflates surfaces where contacting surfaces form creases where standard flow would merge. These highlight concavities while smoothing small surface details, giving us cute cats and cartoon-like hands. See Figure <ref type="figure">12</ref>. Similarly, adding random noise to an ellipsoid obtains brain-like creased shapes after outward flow (Figure <ref type="figure">12 (c)</ref>).</p><p>Negative flows. Inward flow, again without removing degenerate regions, obtains shape skeletons that remain watertight and non-intersecting throughout (Figure <ref type="figure">13</ref>). Over steps we quickly see exceedingly thin, delicate structures appear as we watch the flow (see our supplemental video). As our Neumann conditions are set uniformly on the surface, in the extreme our inward flow provides a shape quite similar to the medial axes representation of the input, however here we preserve shape topology. For negative flows in addition to &#119873; &#119905; we also recompute &#119872; and &#119871; per time step, obtaining a more pleasing, smoother seqeunce.</p><p>Inflation. Inflating curves <ref type="bibr">[Baran and Lehtinen 2009]</ref> gives exciting variations to geometries. Here observing the puffy, balloon-like crinkling our outward flows produce we experiment with creating 3D font variations with standard 2D type-faces. Triangulating fonts we fix boundaries and flow the interior to produce inflated fonts with crinkled geometries. For each time step taken we gain ever-expanding versions of fonts enabling animation (see our supplemental video) and a range of 3D type shapes which can be further controlled by modulating smoothing intensity. In Figure <ref type="figure">14</ref> we experiment with number of time steps and smoothing intensities on a range of fonts and characters (Figure <ref type="figure">14</ref>). We first demonstrate two Chinese characters from Ma Shan Zheng font, "Tao" and "Peng" ("the philosophy behind everything" and "contact"), with more and less steps respectively. With more steps Tao's volume grow larger, generating more wrinkles and inter-stroke contacts. We then test two words, "Delicious" and "Seriously", in Linux Libertine O and Arial respectively. With larger smoothing intensity applied to "Seriously", less wrinkles form with odd but interesting bulges at T-junctions, while "Delicious" demonstrates pleasing wrinkles in concavities and bulging where letters collide.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.3">Animation Repair</head><p>Animation sequences often contain unacceptable intersection artifacts. Resulting interpenetrations can be unsightly and obvious (see e.g., Figure <ref type="figure">15</ref>) or they can instead be visually subtle (and so hard  to notice) but still cause significant failures (see e.g., Figure <ref type="figure">17</ref>) in downstream tasks like cloth simulation <ref type="bibr">[Baraff et al. 2003;</ref><ref type="bibr">Buffet et al. 2019</ref>]. IDP performs animation cleanup starting with an input of &#119898; consecutive frames all sharing the same mesh topology and varying vertex positions stored in the sequence &#119891; 1 , ..., &#119891; &#119898; &#8712; R &#119889;&#119899; . Setting &#119909; 1 = &#119891; 1 and starting from the second frame, &#119891; 2 IDP fixes each consecutive frame, &#119891; &#119904; , as a single "backward" time step where the target frame, &#119891; &#119904; , is applied both as a proxy for the last time step, so we don't stray far, and as reference shape for deformation energies, to minimize difference. Specifically, to obtain an intersection-free fixed frame &#119909; &#119904; close to &#119891; &#119904; we solve the minimization</p><p>initialized from last fixed frame &#119909; &#119904;-1 . For objective we apply</p><p>, with an StVK membrane energy (&#936; memb ) and discrete shell bending (&#936; bend ). After each solve of (8), to process the next frame, &#119891; &#119904;+1 , we again initialize the optimization with fixed frame &#119909; &#119904; and repeat through the sequence until we obtain a final, fully cleaned sequence. When the direct, linear path between a cleaned frame &#119909; &#119904; and the next input frame &#119891; &#119904;+1 is interpenetration-free, this process leaves the frame unmodified (&#119909; &#119904;+1 = &#119891; &#119904;+1 ). Otherwise, minimizing the energy for each step will continue to fix frames, starting from the last, with deformation away from the target frame balanced against the barrier. Statistics for IDP animation repair tasks are summarized in our supplemental document. Mousey. We start by demonstrating our cleanup on an animation sequence created by a commercial rigging tool<ref type="foot">foot_4</ref> . Here, meshes bound via skinning to a generic skeleton motions often create large and generally unusable intersections. In Figure ref and our supplemental video we demonstrate both an original "mousey" intersecting animation input sequence as well as the corrected sequence produced by IDP at corresponding frames. For example the original mousey sequence has severe intersections where its hand almost fully disappears into its belly (Figure <ref type="figure">15</ref>). IDP successfully create an indentation on the belly as pushed by the hand while removing intersection from the frame. Here we set d = 0.001&#119898; and so obtain tight conforming contact in the animation. We also apply a large stiffness (Young's modulus 10 5 &#119875;&#119886;) to maintain smooth surface curvature.</p><p>Mannequin. Next we apply IDP to a set of three animation sequences, again created with the same rigging pipeline, with a mannequin mesh <ref type="bibr">[Li et al. 2018b</ref>] (13K vertices) intended for downstream application with cloth simulation. Both before and after IDP's intersection cleanup, the animation output is, on quick visual inspection, nearly identical. However, a more careful look reveals that many frames with smaller but severe intersections are corrected; see Figure <ref type="figure">16</ref>. Since we minimize both intrinsic and extrinsic surface differences, the fixed regions remain smooth with curvatures close to original geometries where possible. Because these sequences are next intended for cloth simulation we can make this following job easier by not only ensuring non-interpenetration, but also promoting bigger gaps between surfaces with a large d = 0.01&#119898;. In Figure <ref type="figure">17</ref> we then compare the effects of IDP fixed vs. starting mesh input for cloth simulation. Here IDP is applied solely to fix intersections in the underlying animated mannequin geometry and is not used to model the garments draped on the mannequin. After IDP repair of the mannequin's geometry in the sequence, a simulator modeling cloth dynamics <ref type="bibr">[Li et al. 2021</ref>] drapes a garment on both the repaired and un-repaired mannequin sequences. In the simulated output we  see that the unintended bunching, pinching and scratching artifacts generated by simulation with the original input sequence are all avoided when simulation instead uses the fixed sequence.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.4">Min-Max Distortion Optimization</head><p>While primarily focused on 3D deformation processing, IDP also supports 3D&#8594; 2D parameterization and 2D deformation tasks. Here  we apply IDP to optimize globally injective, min-max distortion problems for 3D and 2D deformation, and parameterization. As demonstrated in Section 7.1, deformation tasks often focus on minimizing energies (5), that discretize distortion measures, &#936;, over triangulations. As we've already seen, this provides an excellent means of driving down average distortion. However, in many cases this can still leave some elements with severe distortion concentrations. In turn, these small concentrated regions can have an outsized negative impact by creating severe artifacts and/or numerical challenges for downstream applications like rendering and simulation.</p><p>To improve worst-element distortions we formulate a regularized min-max optimization for IDP by applying a &#119901;-norm extension to (5) with with exponential factor &#119901; &gt; 1,</p><p>Here &#119903; (&#119901;) calibrates the modified energy so that the &#119901;-norm extension does not change stress derivatives at reference shapes x.</p><p>Energy &#119864; &#119901; then effectively adds weighting to elements with larger distortion, to minimize them more. In turn, weighting for worst elements increases as &#119901; grows large and so optimization approaches the solution of min &#119909; max &#119905; &#936;(&#119865; &#119905; ). 3D&#8594;2D. Applying SD for distortion measure, &#936;, we add the extended energy &#119864; &#119901; and barrier &#119861; to the IDP objective to improve maps. In Figure <ref type="figure">18</ref> we take as input two SD-optimized maps produced by OptCuts -a recent seam-cutting method from <ref type="bibr">Li et al. [2018a]</ref>. While OptCuts minimizes over both seam placement and distortion energy (average distortion in input is 4.1), worst-case distortion (see Figure <ref type="figure">18</ref>) in the input still reaches above 15 -nearly 3&#215; isotropic stretch/compression. Starting with these results as input and applying &#119901; = 10, IDP then drives worst-case distortion below 6 (4 is isometric) for both camel head (28K vertices in 12.9s) and hand (23K vertices in 13.4s) models while preserving bijective maps. The optimization is terminated after it first reaches a time step requiring a single Newton iteration to converge.</p><p>2D. Min-max optimization can also be applied to for handledriven deformation. In Figure <ref type="figure">19</ref> we apply the same objective we composed above for map improvement. The task now is to drive four boundary handles of a 64&#119870; vertex disk (top, bottom, left and right) inwards with both &#119901; = 10 and &#119901; = 1 (for baseline comparison). Both solutions converge satisfying global injectivity and handle targets. Direct optimization of the SD energy (&#119901; = 1) obtains a worst case distortion of nearly 100, while with &#119901; = 10 we obtain improved worst-case distortion with all triangles below 14. In terms of performance, optimizing with high p-norm adds no overhead here (at 0.23min per time step) when compared direct SD minimization (at 0.3min per time step). 3D. Similarly in 3D, with the same energies in the objective, we fix the center of a 22K vertex tetrahedral mesh cylinder and apply two bone handles (two thin boxes of interior axis vertices) to bend it; see Figure <ref type="figure">20</ref>. With &#119901; = 5 worst case distortion drops to 30.29 from the max of 92.78 obtained with &#119901; = 1. In Figure <ref type="figure">20</ref> we can see the subtle geometric differences resulting from the different stress concentrations at the bend. Here, timing increases from 13.7min to 22.2min for the 100 time steps optimized with &#119901; = 1 and &#119901; = 5 respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.5">Modeling and Layout</head><p>IDP enables modeling and layout of complex geometries directly from primitive shapes, by emulating real-world manual steps with handles. As demonstrations we follow rough "directions" to make dumplings and a vase of decorative flowers. For our dumpling process please follow along in Figure <ref type="figure">1</ref>. With plasticity enabled (von-Mises projection <ref type="bibr">[Fang et al. 2019]</ref>), we first take a soft sphere volume (NH energy) and squash it down with a translated rigid plane to form a wrapper. Placing an ellipsoid (also NH volume) filling on top, we set handles along the outer two halfs of the wrapper. Folding the handles inwards gives the basic dumpling shape. Next Fig. <ref type="figure">21</ref>. A delicious dumpling layout combines our dumplings (Figure <ref type="figure">1</ref>) and our inflated 3D font art (Figure <ref type="figure">14</ref>). we pinch the dumpling with a simple symmetric motion of 8 rigid ellipsoids. We finished the dumpling by squashing again around the sealing with two more rigid cutouts. With our dumpling geometry completed we can instance it and place it on plate. With deformation still enabled, despite each copied model being initially identical, deformation and nudging give each dumpling a final unique shape in the layout. See our video for our full modeling steps and our supplemental materials for the final dumpling model.</p><p>With these illustrative steps as reference, we can next dive a bit more into the details. Given the large shape changes (enabled by the plastic deformation) our tetrahedral meshes can become poorly-shaped after even a single modeling step. At the same time, after each modeling application we have achieved a new shape target that we may wish to keep. As discussed in Section 4 with IDP we enable the option to "bake in" the current shape after any time step (and so after any completed handle sequence). Here this first applies surface-preserving remeshing <ref type="bibr">[Si 2015</ref>] followed by a simple reset of the reference mesh to the current modeled shape. Each following stage of modeling then pulls towards the last until the next baking operation is applied (e.g., after the next operation is completed). Likewise, we find it useful to expose deformation stiffness as a controllable parameter. For example here we found it useful to make the "dough" stiffer (&#119884; = 10 5 ) when squashing and then make it softer for finer detailing, for example when pinching the creases (&#119884; = 10 4 ).</p><p>With this workflow in place we apply the same set of operations (handle manipulation, baking, instancing, stiffness variation and layout) to follow instructions for creating molded and folded flowers in a vase. Please see Figures 2, 11 and 22 and our video for details of the process, and our supplemental materials for the final modeled geometries.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8">DISCUSSION</head><p>Timings and statistics for all applications, as well as for our benchmark tests, are summarized in our supplemental document. In it we observe that where SCAF is able to make some progress, IDP provides both significantly improved deformation and comparable or better timings. However, IDP's key contribution is not in speed but in its ability to provide high-quality, convergent, and interpenetrationfree deformations of 3D domains where this was not previously possible with prior methods. As discussed, SCAF is prevented for practical 3D applications by locking while (as discussed in Section 3) prior methods are unable to ensure non-interpenetration due to reliance on iterative collision-response routines. While we look forward to making IDP faster, we note that current timings range from half a second (font inflation) up to a max of 12 minutes (for a large mesh deformation) per frame. Timings vary as expected with application (nonlinearity of terms in objective), severity of deformation (as reflected in number of iterations required), mesh size and constraints (contacts) processed. E.g., Dumpling Fold uses up to 14K nodes, processes 5.7K constraints and requires 35 iterations per frame, while Rose is 8K nodes, processes only 0.6K constraints and requires only 5 iterations per frame.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8.1">A Note on Locking and Feasibility</head><p>The term locking is utilized in diverse ways across the literature.</p><p>Here we specifically apply it to broadly refer to artifacts that unduly restrict the deformation enabled by a computational mesh (i.e. the primary triangulated or tetrahedralized domain), caused by discretization applied to enforce global injectivity. Concretely, in Section 6 we see that the SCAF method suffers from shear locking where tetrahedra in the fictitious domain are severely sheared (even after local remeshing) and so oppose deformation of the primary mesh. This means that non-interpenetration in SCAF comes at the cost of artificially restricting desired deformations and often even (see Section 6) preventing them altogether.</p><p>We contrast this with feasibility which we describe as an intersectionfree (and, when desired, inversion-free) deformation of the mesh. As discussed in Section 5.5, when a traversed deformation path can not be continued due to infeasibility, IDP will not proceed. In many applications not proceeding into intersection may be a desirable result. While certainly in other applications it may not. For these latter cases, enabling infeasible progress towards a final feasible solution remains a challenging open problem.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>9</head><p>Extending recent results in physical simulation we have developed IDP, the first framework for robustly deforming in 3D with injectivity guarantees. We have performed extensive benchmark testing to confirm IDP's reliable behavior in practice, and have constructed a wide range of applications demonstrating its utility. Here we see opportunity for effectively endless further possibilities -of which our current examples only scratch the surface. Looking ahead we are excited to see what geometries users will be able to create with IDP, and likewise what new applications it will be able to support. To enable such future applications and extensions we will be releasing our code for IDP. In terms of most immediate steps, while in many applications IDP is able to create geometries rapidly and certainly matches 3D SCAF in timings, much more remains to be done in terms of speeding IDP's time step computations. Much of this is low level optimization, but algorithmic improvements in the Newton stepper, for example leveraging efficient preconditioning and aggressive tolerances should also be investigated. Likewise, we have only begun in terms of both energies and operations that could extend injective deformation processing further. Similarly, although we have yet to find a need for it, automatic remeshing, based on local mesh quality should be a useful and easy extension support. Likewise, topology change to enable cutting and seaming is also another natural operation to investigate in future work. Finally, as discussed, IDP cannot compute injectivity when starting from an input geometry that does not have it. Extending injective deformation processing to find injectivity (with guarantees) for noninjective initializers is an exciting and long-term direction of investigation.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>Here and throughout argmin and min denote respectively local minimizer and minimum. ACM Trans. Graph., Vol. 40, No. 4, Article 75. Publication date: August</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2021" xml:id="foot_1"><p/></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_2"><p>ACM Trans. Graph., Vol. 40, No. 4, Article 75. Publication date: August 2021.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_3"><p>ACM Trans. Graph., Vol. 40, No. 4, Article Publication date: August 2021.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_4"><p>www.mixamo.com   </p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_5"><p>ACM Trans. Graph., Vol. 40, No. 4, Article 75. Publication date: August 2021. Guaranteed Globally Injective 3D Deformation Processing &#8226; 75:13</p></note>
		</body>
		</text>
</TEI>
