tr2001-11 december 2001 siggraph 2001 … a computationally efficient framework for modeling soft...

6
MITSUBISHI ELECTRIC RESEARCH LABORATORIES http://www.merl.com A Computationally Efficient Framework for Modeling Soft Body Impact Sarah F. Frisken, Ronald N. Perry TR2001-11 December 2001 Abstract While there has been significant progress in simulating collisions between rigid bodies, much remains to be done for modeling interactions between soft bodies. Graphical techniques for representing and deforming soft bodies range from non-physical (e.g., control point-based) to physically plausible (e.g., FFD) to physically realistic (e.g., FEM). All of these techniques re- quire three operations to model interactions between soft bodies: 1) detecting collisions between deforming bodies, 2) computing impact forces when bodies collide, and 3) determining defor- mation forces or contact deformation of the bodies to initialize a deformation technique. In this report, we propose a new framework which performs all three operations quickly, with efficient use of memory, and more accurately than previous methods. The results of these operations can be used in any of the deformation techniques mentioned above. SIGGRAPH 2001 Conference Abstracts and Applications This work may not be copied or reproduced in whole or in part for any commercial purpose. Permission to copy in whole or in part without payment of fee is granted for nonprofit educational and research purposes provided that all such whole or partial copies include the following: a notice that such copying is by permission of Mitsubishi Electric Research Laboratories, Inc.; an acknowledgment of the authors and individual contributions to the work; and all applicable portions of the copyright notice. Copying, reproduction, or republishing for any other purpose shall require a license with payment of fee to Mitsubishi Electric Research Laboratories, Inc. All rights reserved. Copyright c Mitsubishi Electric Research Laboratories, Inc., 2001 201 Broadway, Cambridge, Massachusetts 02139

Upload: vandat

Post on 21-Aug-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

MITSUBISHI ELECTRIC RESEARCH LABORATORIEShttp://www.merl.com

A Computationally Efficient Framework forModeling Soft Body Impact

Sarah F. Frisken, Ronald N. Perry

TR2001-11 December 2001

Abstract

While there has been significant progress in simulating collisions between rigid bodies, muchremains to be done for modeling interactions between soft bodies. Graphical techniques forrepresenting and deforming soft bodies range from non-physical (e.g., control point-based) tophysically plausible (e.g., FFD) to physically realistic (e.g., FEM). All of these techniques re-quire three operations to model interactions between soft bodies: 1) detecting collisions betweendeforming bodies, 2) computing impact forces when bodies collide, and 3) determining defor-mation forces or contact deformation of the bodies to initialize a deformation technique. In thisreport, we propose a new framework which performs all three operations quickly, with efficientuse of memory, and more accurately than previous methods. The results of these operations canbe used in any of the deformation techniques mentioned above.

SIGGRAPH 2001 Conference Abstracts and Applications

This work may not be copied or reproduced in whole or in part for any commercial purpose. Permission to copy in whole or in partwithout payment of fee is granted for nonprofit educational and research purposes provided that all such whole or partial copies includethe following: a notice that such copying is by permission of Mitsubishi Electric Research Laboratories, Inc.; an acknowledgment ofthe authors and individual contributions to the work; and all applicable portions of the copyright notice. Copying, reproduction, orrepublishing for any other purpose shall require a license with payment of fee to Mitsubishi Electric Research Laboratories, Inc. Allrights reserved.

Copyright c©Mitsubishi Electric Research Laboratories, Inc., 2001201 Broadway, Cambridge, Massachusetts 02139

MERLCoverPageSide2

A Computationally Efficient Framework forModeling Soft Body ImpactSarah F. Frisken and Ronald N. Perry, MERL

IntroductionWhile there has been significant progress in simulating collisionsbetween rigid bodies [1], much remains to be done for modelinginteractions between soft bodies. Graphical techniques for repre-senting and deforming soft bodies range from non-physical (e.g.,control point-based) to physically plausible (e.g., FFD) to physical-ly realistic (e.g., FEM) [2]. All of these techniques require threeoperations to model interactions between soft bodies: 1) detectingcollisions between deforming bodies, 2) computing impact forceswhen bodies collide, and 3) determining deformation forces or con-tact deformation of the bodies to initialize a deformation technique.In this sketch, we propose a new framework which performs allthree operations quickly, with efficient use of memory, and moreaccurately than previous methods. The results of these operationscan be used in any of the deformation techniques mentioned above.

Utilizing ADFs for Modeling Soft Body ImpactsWe recently proposed adaptively sampled distance fields (ADFs) asa new shape representation and suggested that they might be usefulfor collision detection [3]. ADFs adaptively sample the signed dis-tance field of an object and store the sample values in a spatial hier-archy (e.g., an octree) for fast processing. ADFs have several advan-tages for modeling impacts between soft bodies including: 1) com-pact representations of complex surfaces, 2) trivial inside/outsideand proximity tests, 3) fast localization of potential contact regions,4) more accurate representation of the overlap region, and 5) simplemethods for computing material-dependent contact deformation.

Detecting Collisions, Penetration, and ProximityThe sign of the distance reconstructed from the ADF at any point inspace provides a trivial inside/outside test. When detecting colli-sions between two ADFs, their spatial data structures can be exploit-ed to quickly localize potential regions of overlap. Within theseregions, a new ADF of the shape defined by the intersection of thetwo ADFs is locally generated as illustrated in Figure 1A. (Theintersection is a simple min() operation on the distance fields of thetwo ADFs.) If the intersection ADF is non-empty, a collision isdetected and the region is further processed. To test for proximityrather than collisions, an ADF defined by the intersection of offsetsurfaces can be generated as illustrated in Figure 1B.

Computing Impact ForcesThere are a number of methods for computing impact forcesbetween two interacting bodies [4]. Penalty-based methods computeimpact forces based on how far objects penetrate each other duringa discrete time step. Distance fields have been used [5, 6] to deter-mine penetration depth at sample points along the penetrating sur-face as well as to compute contact forces. From Figure 2, the total

force vector, FV, acting on V due to penetrationof U by V is approximated by the sum of forcesfVi = kU(xi)distU(xi)g(xi), where kU(x) is thematerial stiffness of U at x, distU(x) is the clos-est distance from x to the surface of U, and g(x)is the normalized gradient vector of U’s dis-tance field at x.The intersection ADF represents the volumetricoverlap region to high precision. Previouspenalty methods compute FV from a small num-

ber of points restricted to the penetrating surface. Using ADFs, pen-etration forces can be computed over the surface or the volume ofthe overlap region. Forces can be computed at an arbitrary numberof well-spaced sample points seeded on the surface or throughoutthe volume and we are investigating methods to analytically inter-polate forces throughout the overlap region. These advantages ofADFs provide the opportunity to compute impact forces more accu-rately than previous methods.

Determining Contact DeformationWhen using ADFs, there are two methods for determining the initialcontact deformation. The first follows common practice and usesthe impact forces computed above together with a deformationtechnique. The second uses the implicit nature of distance fields tocompute contact deformation by combining the distance fields with-in the overlap region. Various methods can be used to combine thefields and achieve material dependent deformation [7, 8] (see Figure3). Figure 4 shows a simulation for the impact of two soft bodies.

References[1] M. Lin and S. Gottschalk, "Collision detection between geometric models: a sur-vey", Proc. IMA Conference on Mathematics of Surfaces, 1998.[2] S. Gibson and B. Mirtich, "A survey of deformable modeling in computer graphics",MERL Technical Report, TR97-19, 1997.[3] S. Frisken, R. Perry, A. Rockwood, and T. Jones, "Adaptively sampled distancefields: a general representation of shape for computer graphics", Proc. SIGGRAPH'00,pp. 249-254, 2000.[4] A. Witkin, D. Baraff and M. Kass, “An introduction to physically based modeling”,SIGGRAPH Course Notes 32, ACM SIGGRAPH, 1994.[5] S. Frisken-Gibson, "Using linked volumes to model object collisions, deformation,cutting, carving, and joining", IEEE TVCG, pp. 333-348, 1999.[6] K. Hoff, A. Zaferakis, M. Lin, D. Manocha, "Fast and simple 2D geometric prox-imity queries using graphics hardware", Proc. Interactive 3D Graphics'01, 2001.[7] M. Desbrun and M-P. Gascuel, "Animating soft substances with implicit surfaces",Proc. SIGGRAPH'95, pp. 287-290, 1995.[8] M-P. Cani-Gascuel, "Layered deformable models with implicit surfaces", Proc.Graphics Interface'98, pp. 201-208, 1998.

U V

SV SU

U V

SUfV3

fV4

fV2

fV1

fV5

fV6

fV7fV8

SV

U V U V U V

Figure 1. A) The overlap region (in blue) of shapes U and V is determined by local gen-eration of the intersection of U and V. B) The overlap region of the offset surfaces of Uand V can also be easily generated for determining proximity information.

Figure 2. Forces actingon SV in the overlapregion of Figure 1A.

Figure 3. Contact deformation of the objects of Figure 1 with A) similar material den-sities, B) V softer than U, and C) volume preserving deformation (after [7, 8]).

Figure 4. Indentation of a sphere after impact with an ADF of a complex cow model.Contact deformation of the sphere after impact with A) a soft cow and B) a hard cow.

C

B

B

BA

A

A

Model-A and Model-B

ADF GeneratorADF-A and ADF-B Generation Parameters

Process Next Time Step

Determine potential overlappingregions of ADF-A and ADF-Busing their respective spatialdata structures (e.g., octrees)

Overlapping Regions

Within the overlapping regions,generate a new ADF, ADF-Int,

which represents the intersectionof ADF-A and ADF-B

Force computation method: sample surface,sample volume, analytic integration

Generation Parameters. The distancefunction reconstructs the distances at a

requested location for ADF-A and ADF-B andthen determines the minimum of the

distances.

Compute Forces

ADF-Int

Forces

Using a physical simulator, alterthe ADFs according to the

forces. Then proceed to the nexttime step.

A data flow diagram for a system computing forces from the intersection ADF; the resultingforces serve as input to a physical simulator which determines the deformed shapes for the

current time step.

Model-A and Model-B

ADF GeneratorADF-A and ADF-B Generation Parameters

Process Next Time Step

Determine potential overlappingregions of ADF-A and ADF-Busing their respective spatialdata structures (e.g., octrees)

Overlapping Regions

Generate new cells in ADF-Awithin the overlapping regions

according to the materialproperties of ADF-A and ADF-Band the deforming procedure.Generate new cells in ADF-Bwithin the overlapping regions

according to the materialproperties of ADF-A and ADF-Band the deforming procedure.Then proceed to the next time

step.

Material properties of ADF-A and ADF-B anda deforming procedure which computes anew distance value at a requested location

according to the material properties of ADF-Aand ADF-B at that location and the distances

and gradients of ADF-A and ADF-B at thatlocation.

Reconstruct distances andgradients for ADF-A and ADF-B

at a requested location

A data flow diagram for a system that deforms interacting bodies represented as ADFs byapplying a deformation (blending) procedure on the ADFs.

Model-A and Model-B

ADF GeneratorADF-A and ADF-B Generation Parameters

Process Next Time Step

Determine potential overlappingregions of ADF-A and ADF-Busing their respective spatialdata structures (e.g., octrees)

Overlapping Regions

Generate new cells in ADF-Awithin the overlapping regions

according to the materialproperties of ADF-A and ADF-Band the deforming procedure,

producing ADF-A'. Generate newcells in ADF-B within the

overlapping regions according tothe material properties of ADF-Aand ADF-B and the deformingprocedure, producing ADF-B'.

Material properties of ADF-A and ADF-B anda deforming procedure which computes anew distance value at a requested location

according to the material properties of ADF-Aand ADF-B at that location and the distances

and gradients of ADF-A and ADF-B at thatlocation.

Reconstruct distances andgradients for ADF-A and ADF-B

at a requested location

ADF-A' and ADF-B'

Use deformed shapes ADF-A'and ADF-B' as initial input to a

physical simulator whichdetermines the final deformedshapes. Then proceed to the

next time step.

Material properties of ADF-A and ADF-B

A data flow diagram for a system that deforms interacting bodies represented as ADFs byapplying a deformation (blending) procedure on the ADFs; the resulting ADFs serve as input

to a physical simulator which determines the final deformed shapes.