FastLSM: Fast Lattice Shape Matching for Robust Real-Time Deformation Alec RiversDoug James Cornell University.

Slides:



Advertisements
Similar presentations
Towards Automating Patient- Specific Finite Element Model Development Kiran H. Shivanna 1,4, Brian D. Adams 2,1, Vincent A. Magnotta 3,1,4, Nicole M. Grosland.
Advertisements

Fast and Accurate Voxel Projection Technique in Free-Form Cone-Beam Geometry With Application to Algebraic Reconstruction Mikko Lilja.
Parallax-Interpolated Shadow Map Occlusion
As-Rigid-As-Possible Surface Modeling
Corrélation d'images numériques: Stratégies de régularisation et enjeux d'identification Stéphane Roux, François Hild LMT, ENS-Cachan Atelier « Problèmes.
CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 9: Extrinsic Deformations Fall 2012.
Fast GPU Histogram Analysis for Scene Post- Processing Andy Luedke Halo Development Team Microsoft Game Studios.
Low Complexity Keypoint Recognition and Pose Estimation Vincent Lepetit.
A 3-D reference frame can be uniquely defined by the ordered vertices of a non- degenerate triangle p1p1 p2p2 p3p3.
VIRTUAL ARTHROSCOPIC KNEE SURGERY TRANING SYSTEM Yang Xiaosong The Chinese University of Hong Kong Tsinghua University.
Coupling Continuum Model and Smoothed Particle Hydrodynamics Methods for Reactive Transport Yilin Fang, Timothy D Scheibe and Alexandre M Tartakovsky Pacific.
Meshless Elasticity Model and Contact Mechanics-based Verification Technique Rifat Aras 1 Yuzhong Shen 1 Michel Audette 1 Stephane Bordas 2 1 Department.
1cs533d-winter-2005 Notes  Please read O'Brien and Hodgins, "Graphical modeling and animation of brittle fracture", SIGGRAPH '99 O'Brien, Bargteil and.
1cs533d-winter-2005 Notes  Read “Physically Based Modelling” SIGGRAPH course notes by Witkin and Baraff (at least, rigid body sections) An alternative.
Hierarchical Multi-Resolution Finite Element Model for Soft Body Simulation Matthieu Nesme, François Faure, Yohan Payan 2 nd Workshop on Computer Assisted.
Pauly, Keiser, Kobbelt, Gross: Shape Modeling with Point-Sampled GeometrySIGGRAPH 2003 Shape Modeling with Point-Sampled Geometry Mark Pauly Richard Keiser.
1 CS 599 Physically Based Modeling for Interactive Simulation and Games Case Study: Havok Engine for Game Physics Jernej Barbic University of Southern.
1 7M836 Animation & Rendering Animation Jakob Beetz Joran Jessurun
1cs533d-term Notes  Today 4pm, Dempster 310 Demetri Terzopoulos is talking  Please read Pentland and Williams, “Good vibrations”, SIGGRAPH’89.
Point Based Animation of Elastic, Plastic and Melting Objects Matthias Müller Richard Keiser Markus Gross Mark Pauly Andrew Nealen Marc Alexa ETH Zürich.
Interactive Mesh Sculpting Using a Haptic Device.
1cs533d-winter-2005 Notes. 2 Simplifications of Elasticity.
Adaptive Dynamics of Articulated Bodies. Articulated bodies in Computer Graphics – Humans, hair, animals – Trees, forests, grass – Deformable bodies –
Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces Min Tang, Jin-Xiang Dong College of Computer Science, Zhejiang University {tang_m,
Faculty of Computer Science © 2007 Information Theoretic Measures: Object Segmentation and Tracking CMPUT 615 Nilanjan Ray.
Smooth Geometry Images Frank Losasso, Hugues Hoppe, Scott Schaefer, Joe Warren.
Outline Reprojection and data reuse Reprojection and data reuse – Taxonomy Bidirectional reprojection Bidirectional reprojection.
Computer Graphics Shadows
Deep Screen Space Oliver Nalbach, Tobias Ritschel, Hans-Peter Seidel.
Introduction to virtual engineering László Horváth Budapest Tech John von Neumann Faculty of Informatics Institute of Intelligent Engineering.
Voxelized Shadow Volumes Chris Wyman Department of Computer Science University of Iowa High Performance Graphics 2011.
Orthogonal moments Motivation for using OG moments Stable calculation by recurrent relations Easier and stable image reconstruction - set of orthogonal.
Computer Graphics Group Tobias Weyand Mesh-Based Inverse Kinematics Sumner et al 2005 presented by Tobias Weyand.
UT DALLAS Erik Jonsson School of Engineering & Computer Science FEARLESS engineering Stable Real-Time Deformations Authors: Matthias Muller, Julie Dorsey,
Motion and Stress Analysis by Vector Mechanics Edward C. Ting Professor Emeritus of Applied Mechanics Purdue University, West Lafayette, IN National Central.
Shape Matching for Model Alignment 3D Scan Matching and Registration, Part I ICCV 2005 Short Course Michael Kazhdan Johns Hopkins University.
A Fast Simulation Method Using Overlapping Grids for Interactions between Smoke and Rigid Objects Yoshinori Dobashi (Hokkaido University) Tsuyoshi Yamamoto.
Graduate Programs in Computer Science A Soft Hand Model for Physically-based Manipulation of Virtual Objects Jan Jacobs Group Research.
Haptics and Virtual Reality
A Novel Wave-Propagation Approach For Fully Conservative Eulerian Multi-Material Simulation K. Nordin-Bates Lab. for Scientific Computing, Cavendish Lab.,
GRAVIR / IMAG, Grenoble, FRANCE A joint lab of CNRS, INPG, INRIA and UJF June 12, 2003IS4TM, Juan-Les-Pins, FRANCE Real-time Simulation of Self-Collisions.
Axial Flip Invariance and Fast Exhaustive Searching with Wavelets Matthew Bolitho.
Protein Folding Programs By Asım OKUR CSE 549 November 14, 2002.
GPU-Accelerated Surface Denoising and Morphing with LBM Scheme Ye Zhao Kent State University, Ohio.
Tsinghua University·Beijing Real-time dynamic hybrid testing coupled finite element and shaking table Jin-Ting Wang, Men-Xia Zhou & Feng Jin.
Saarland University, Germany B-KD Trees for Hardware Accelerated Ray Tracing of Dynamic Scenes Sven Woop Gerd Marmitt Philipp Slusallek.
A.H. Gosline ( andrewg [at] cim.mcgill.ca) S.E. Salcudean (tims [at] ece.ubc.ca) J. Yan (josephy [at] ece.ubc.ca) Haptic Simulation of Linear Elastic Media.
1 Implicit Visibility and Antiradiance for Interactive Global Illumination Carsten Dachsbacher 1, Marc Stamminger 2, George Drettakis 1, Frédo Durand 3.
Introduction to Computer Graphics: Object Representation Rama C Hoetzlein, 2010 Univ. of California Santa Barbara Lecture Notes.
Detail-Preserving Fluid Control N. Th ű rey R. Keiser M. Pauly U. R ű de SCA 2006.
A Computationally Efficient Framework for Modeling Soft Body Impact Sarah F. Frisken and Ronald N. Perry Mitsubishi Electric Research Laboratories.
Introduction: Lattice Boltzmann Method for Non-fluid Applications Ye Zhao.
Elliptical Head Tracking Using Intensity Gradients and Color Histograms Stan Birchfield Stanford University Autodesk Advanced Products Group
Reconstruction of Solid Models from Oriented Point Sets Misha Kazhdan Johns Hopkins University.
Stable 6-DOF Haptic Rendering with Inner Sphere Trees René Weller, Gabriel Zachmann Clausthal University, Germany IDETC/CIE.
Beyond Bouncing Boxes Fast, yet still Realistic, Deformation and Fracture Jeff Lander Darwin 3D, LLC Luxoflux James O'Brien U. of California, Berkeley.
Havok FX Physics on NVIDIA GPUs. Copyright © NVIDIA Corporation 2004 What is Effects Physics? Physics-based effects on a massive scale 10,000s of objects.
Houston, Wiebe & Batty. (2004) RLE Sparse Level Sets. RLE Sparse Level Sets Ben Houston Mark Wiebe Christopher Batty Fluids and Level Sets Session.
What are the advantages of using bar code scanner?  Fast  It is fast  It is fast for reading data  It is fast for data input  Accurate  The advantage.
Particle-based Viscoelastic Fluid Simulation Simon Clavet Philippe Beaudoin Pierre Poulin LIGUM, Université de Montréal.
Advanced Games Development Game Physics CO2301 Games Development 1 Week 19.
APE'07 IV INTERNATIONAL CONFERENCE ON ADVANCES IN PRODUCTION ENGINEERING June 2007 Warsaw, Poland M. Nowakiewicz, J. Porter-Sobieraj Faculty of.
1 Interactive Volume Isosurface Rendering Using BT Volumes John Kloetzli Marc Olano Penny Rheingans UMBC.
Interactive Rendering of Translucent Deformable Objects Tom Mertens 1, Jan Kautz 2, Philippe Bekaert 1, Hans-Peter Seidel 2, Frank Van Reeth
CHAPTER 2 - EXPLICIT TRANSIENT DYNAMIC ANALYSYS
Stable 6-DOF Haptic Rendering with Inner Sphere Trees
Geant4 Geometry Speed-ups
Advances in BUB3D-OM Development
Iterative Optimization
FastLSM: Fast Lattice Shape Matching for Robust Real-Time Deformation
Presentation transcript:

FastLSM: Fast Lattice Shape Matching for Robust Real-Time Deformation Alec RiversDoug James Cornell University

Soft body simulation 2

SpeedStability Range of deformation Simplicity Physical accuracy Explicit methods √X√√√ Implicit methods; corotational; invertible FEM [Terzopoulos & Fleischer 1988; Mueller et al. 2002; Irving et al. 2004] X√√X√ Reduced models [Pentland & Williams 1989; Debunne et al. 2001; Grinspun et al. 2002; Barbic & James 2005] √√XX√ Shape matching [Mueller et al. 2005] √√X√X FastLSM √√√√X 3

SpeedStability Range of deformation Simplicity Physical accuracy Explicit methods √X√√√ Implicit methods; corotational; invertible FEM [Terzopoulos & Fleischer 1988; Mueller et al. 2002; Irving et al. 2004] X√√X√ Reduced models [Pentland & Williams 1989; Debunne et al. 2001; Grinspun et al. 2002; Barbic & James 2005] √√XX√ Shape matching [Mueller et al. 2005] √√X√X FastLSM √√√√X 3

SpeedStability Range of deformation Simplicity Physical accuracy Explicit methods √X√√√ Implicit methods; corotational; invertible FEM [Terzopoulos & Fleischer 1988; Mueller et al. 2002; Irving et al. 2004] X√√X√ Reduced models [Pentland & Williams 1989; Debunne et al. 2001; Grinspun et al. 2002; Barbic & James 2005] √√XX√ Shape matching [Mueller et al. 2005] √√X√X FastLSM √√√√X 3

SpeedStability Range of deformation Simplicity Physical accuracy Explicit methods √X√√√ Implicit methods; corotational; invertible FEM [Terzopoulos & Fleischer 1988; Mueller et al. 2002; Irving et al. 2004] X√√X√ Reduced models [Pentland & Williams 1989; Debunne et al. 2001; Grinspun et al. 2002; Barbic & James 2005] √√XX√ Shape matching [Mueller et al. 2005] √√X√X FastLSM √√√√X 3

SpeedStability Range of deformation Simplicity Physical accuracy Explicit methods √X√√√ Implicit methods; corotational; invertible FEM [Terzopoulos & Fleischer 1988; Mueller et al. 2002; Irving et al. 2004] X√√X√ Reduced models [Pentland & Williams 1989; Debunne et al. 2001; Grinspun et al. 2002; Barbic & James 2005] √√XX√ Shape matching [Mueller et al. 2005] √√X√X FastLSM √√√√X 3

SpeedStability Range of deformation Simplicity Physical accuracy Explicit methods √X√√√ Implicit methods; corotational; invertible FEM [Terzopoulos & Fleischer 1988; Mueller et al. 2002; Irving et al. 2004] X√√X√ Reduced models [Pentland & Williams 1989; Debunne et al. 2001; Grinspun et al. 2002; Barbic & James 2005] √√XX√ Shape matching [Mueller et al. 2005] √√X√X FastLSM √√√√X 3

SpeedStability Range of deformation Simplicity Physical accuracy Explicit methods √X√√√ Implicit methods; corotational; invertible FEM [Terzopoulos & Fleischer 1988; Mueller et al. 2002; Irving et al. 2004] X√√X√ Reduced models [Pentland & Williams 1989; Debunne et al. 2001; Grinspun et al. 2002; Barbic & James 2005] √√XX√ Shape matching [Mueller et al. 2005] √√X√X FastLSM √√√√X 3

SpeedStability Range of deformation Simplicity Physical accuracy Explicit methods √X√√√ Implicit methods; corotational; invertible FEM [Terzopoulos & Fleischer 1988; Mueller et al. 2002; Irving et al. 2004] X√√X√ Reduced models [Pentland & Williams 1989; Debunne et al. 2001; Grinspun et al. 2002; Barbic & James 2005] √√XX√ Shape matching [Mueller et al. 2005] √√X√X FastLSM √√√√X 3

Shape matching [Mueller et al. 2005] Particles at mesh vertices Save initial positions as rest configuration Move particles independently Match rest configuration to particles Push particles towards goal positions 4

Shape matching – cont. Quadratic shape matching Multiple clusters 5

Shape matching – limitations Limited range of deformation Can be slow with many clusters Boundary issues No interior volumes 6

Shape matching – limitations Limited range of deformation Can be slow with many clusters Boundary issues No interior volumes 6

Shape matching – limitations Limited range of deformation Can be slow with many clusters Boundary issues No interior volumes 6

Our contributions Lattice shape matching –New framework for shape matching-based deformation –Addresses many of these concerns Fast summation optimization 7

Voxelize mesh Many overlapping small regions Lattice shape matching 8

One region centered at each lattice index Breadth-first search to depth w Region generation w = 1 w = 2 w = 3w = 4 9

Dynamics: Goal position for each particle is average of goal positions relative to each region Flexibility: –Many rigid regions > few quadratic LSM Dynamics 10

Shape matching comparison 11

Material modeling Control rigidity by tuning w Can also tune timesteps / frame 12

Optimization Cost scales with number of particles in each region –O(w 3 ) Define O(1) fast summation operator: 13

Optimization Cost scales with number of particles in each region –O(w 3 ) Define O(1) fast summation operator: ––– O(w 3 ) Naïve O(w) Intermediate ······ O(1) FastLSM w 13

Fast summation 14

… 6.1 … … Fast summation 14

… 6.1 … … Fast summation 14

… 6.1 … … … = … = 39.7 Fast summation 14

… 6.1 … … = = …= 24.6 Fast summation 14

Fast summation 14

Fast summation 14

Fast summation 15

Fast summation – 3D Regions Plates Bars 16

Fast summation After collapsing: n regions,w plates each ~n unique plates,w bars each ~n unique bars,w particles each Total cost: –nw + nw + nw = 3nw = O(nw) –O(w) per region (instead of O(w 3 ) ) Related work: [Crow 1984; Weiss 2006] 17

Constant-time fast summation 18

Constant-time fast summation 18

Constant-time fast summation With constant time: –Each bar, plate, region: add + subtract (2 flops) Total cost: –2n + 2n + 2n = 6n –O(n), independent of w 19

Rigid shape matching using fast summations Definitions: –x i 0 Rest positions –x i Deformed positions –m i Particle masses –m i m i / |R i | –Mr= Translation: Rotation: Goals: 20

Extensions Fast polar decompositions –Track eigenvectors of A r to warm start –Average cost decrease: 2.5 μs → 0.45 μs Fast damping –[Mueller et al. 2006] –Accelerated for LSM using fast summation 21

Timings breakdown Fast summation Polar decompositions Shape matching Damping 22

Extensions – cont. Fracture –High range of deformation allows fracture –Sever links based on strain tolerances Hardware-accelerated rendering –Store mesh in GPU –Upload just particle positions each frame –Deform geometry on GPU ; 23

Results: Complex objects Solid Buddha: 57,626 particles w = ms / timestep 1,680 ms / frame Shell Buddha: 19,957 particles w = ms / timestep 484 ms / frame 24

Results: Complex objects 25

Results: Articulated characters 2,570 particles w = 2 15 ms / timestep 26

Results: Articulated characters 27

Results: Speed 150 particles w = ms / timestep 28

Results: Speed 5 FPS; 0.28 ms/penguin (w=2) 150 penguins w/ 150 particles/penguin (22,500 particles total) “Peng-chinko” 29

Conclusion Advantages: –Fast –Large range of deformation –Stable –Easy to implement 30

Conclusion Disadvantages: –Not physically accurate –Poor control over material properties –Does not conserve volume 31

Future work Theoretical foundations –Material modeling Different particle frameworks –Irregular samplings Apply FastLSM smoothing to other geometric problems 32

Demos and source code available at

Acknowledgements Jernej Barbič, Chris Twigg, Chris Cameron, Giovanni Tummarello Anonymous reviewers Funding and support: –National Science Foundation (CAREER, EMT) –Alfred P. Sloan Foundation –NIH –Pixar –NVIDIA (hardware, graduate fellowship) –Intel –Autodesk –The Boeing Company –The Link Foundation 34

Thanks! Demos and source code available at