Real-Time Shape Editing using Radial Basis Functions

Similar documents
An Intuitive Framework for Real-Time Freeform Modeling

12 - Spatial And Skeletal Deformations. CSCI-GA Computer Graphics - Fall 16 - Daniele Panozzo

03 - Reconstruction. Acknowledgements: Olga Sorkine-Hornung. CSCI-GA Geometric Modeling - Spring 17 - Daniele Panozzo

GPU-Based Multiresolution Deformation Using Approximate Normal Field Reconstruction

Def De orma f tion orma Disney/Pixar

Digital Geometry Processing

Assignment 4: Mesh Parametrization

Efficient Linear System Solvers for Mesh Processing

Shape Modeling with Point-Sampled Geometry

(Sparse) Linear Solvers

Surfaces, meshes, and topology

Why Use the GPU? How to Exploit? New Hardware Features. Sparse Matrix Solvers on the GPU: Conjugate Gradients and Multigrid. Semiconductor trends

Geometric Modeling in Graphics

Easy modeling generate new shapes by deforming existing ones

Surface Reconstruction. Gianpaolo Palma

Subdivision Surfaces

Shape Modeling and Geometry Processing

05 - Surfaces. Acknowledgements: Olga Sorkine-Hornung. CSCI-GA Geometric Modeling - Daniele Panozzo

Large Mesh Deformation Using the Volumetric Graph Laplacian

THIS paper presents the recent advances in mesh deformation

(Sparse) Linear Solvers

Parameterization of Meshes

Accurate Reconstruction by Interpolation

Assignment 5: Shape Deformation

Lecture 2 Unstructured Mesh Generation

Introduction to Computer Graphics. Modeling (3) April 27, 2017 Kenshi Takayama

Advanced Computer Graphics

Journal of Engineering Research and Studies E-ISSN

Mesh-Based Inverse Kinematics

Geometric Modeling Assignment 5: Shape Deformation

CS 523: Computer Graphics, Spring Differential Geometry of Surfaces

A meshfree weak-strong form method

Deformation Transfer for Detail-Preserving Surface Editing

Scientific Visualization Example exam questions with commented answers

This work is about a new method for generating diffusion curve style images. Although this topic is dealing with non-photorealistic rendering, as you

A Multi-scale Approach to 3D Scattered Data Interpolation with Compactly Supported Basis Functions

Interpolating and Approximating Implicit Surfaces from Polygon Soup

CS 523: Computer Graphics, Spring Shape Modeling. Differential Geometry of Surfaces

CS 523: Computer Graphics, Spring Shape Modeling. Skeletal deformation. Andrew Nealen, Rutgers, /12/2011 1

Subdivision Curves and Surfaces

CS-184: Computer Graphics. Today

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 36

1.7.1 Laplacian Smoothing

Geometric Modeling and Processing

CSE 554 Lecture 6: Fairing and Simplification

Triangle meshes I. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2017

Subdivision Surfaces

Triangle meshes I. CS 4620 Lecture 2

CS Object Representation. Aditi Majumder, CS 112 Slide 1

Understanding Gridfit

Registration of Deformable Objects

Advanced Computer Graphics

Freeform Shape Representations for Efficient Geometry Processing

PERFORMANCE CAPTURE FROM SPARSE MULTI-VIEW VIDEO

Geodesics in heat: A new approach to computing distance

C P S C 314 S H A D E R S, O P E N G L, & J S RENDERING PIPELINE. Mikhail Bessmeltsev

Fast Radial Basis Functions for Engineering Applications. Prof. Marco Evangelos Biancolini University of Rome Tor Vergata

CS-184: Computer Graphics

Overview of Traditional Surface Tracking Methods

Introduction to Computer Graphics. Image Processing (1) June 8, 2017 Kenshi Takayama

Geometric modeling 1

Fast marching methods

Contents. I Basics 1. Copyright by SIAM. Unauthorized reproduction of this article is prohibited.

Justin Solomon MIT, Spring Numerical Geometry of Nonrigid Shapes

Progressive Mesh. Reddy Sambavaram Insomniac Games

Approximating Subdivision Surfaces with Gregory Patches for Hardware Tessellation

A Global Laplacian Smoothing Approach with Feature Preservation

As a consequence of the operation, there are new incidences between edges and triangles that did not exist in K; see Figure II.9.

Semester Final Report

FFD, mesh morphing & reduced order models: Enablers for efficient aerodynamic shape optimization

An Optimization Method Based On B-spline Shape Functions & the Knot Insertion Algorithm

CS354 Computer Graphics Surface Representation IV. Qixing Huang March 7th 2018

SETTLEMENT OF A CIRCULAR FOOTING ON SAND

The HybridTree: Mixing Skeletal Implicit Surfaces, Triangle Meshes and Point Sets in a Free-form Modeling System

Skeletal deformation

GEOMETRY MODELING & GRID GENERATION

3/1/2010. Acceleration Techniques V1.2. Goals. Overview. Based on slides from Celine Loscos (v1.0)

Surface Reconstruction

Cross-Parameterization and Compatible Remeshing of 3D Models

CS 475 / CS 675 Computer Graphics. Lecture 16 : Interpolation for Animation

All the Polygons You Can Eat. Doug Rogers Developer Relations

Mesh Morphing and the Adjoint Solver in ANSYS R14.0. Simon Pereira Laz Foley

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

For each question, indicate whether the statement is true or false by circling T or F, respectively.

Parallel Computation of Spherical Parameterizations for Mesh Analysis. Th. Athanasiadis and I. Fudos University of Ioannina, Greece

A Continuous 3-D Medial Shape Model with Branching

10 - ARAP and Linear Blend Skinning

Multi-View Stereo for Static and Dynamic Scenes

Example 24 Spring-back

Topology-Invariant Similarity and Diffusion Geometry

High Quality Mesh Morphing Using Triharmonic Radial Basis Functions

1.2 Numerical Solutions of Flow Problems

Normals of subdivision surfaces and their control polyhedra

Abstract. 1 Introduction

T6: Position-Based Simulation Methods in Computer Graphics. Jan Bender Miles Macklin Matthias Müller

UNIVERSITY OF CALGARY. Subdivision Surfaces. Advanced Geometric Modeling Faramarz Samavati

Input Nodes. Surface Input. Surface Input Nodal Motion Nodal Displacement Instance Generator Light Flocking

Motivation. Freeform Shape Representations for Efficient Geometry Processing. Operations on Geometric Objects. Functional Representations

LECTURE 13: SOLUTION METHODS FOR CONSTRAINED OPTIMIZATION. 1. Primal approach 2. Penalty and barrier methods 3. Dual approach 4. Primal-dual approach

Triangle meshes I. CS 4620 Lecture Kavita Bala (with previous instructor Marschner) Cornell CS4620 Fall 2015 Lecture 2

Transcription:

Real-Time Shape Editing using Radial Basis Functions, Leif Kobbelt RWTH Aachen

Boundary Constraint Modeling Prescribe irregular constraints Vertex positions Constrained energy minimization Optimal fairness Euler-Lagrange PDE Solve (bi- or tri-) Laplacian system per frame

Differential Constraint Modeling Prescribe differential constraints Laplace coordinates Poisson gradient editing Laplacian editing Deformation gradients Solve (least squares) Laplacian systems

Surface-Based Deformation Problems with Highly complex models Topological inconsistencies Geometric degeneracies

Space Deformation 1. Control. Prescribe (irregular) constraints: c i c i 2. Fitting. Smoothly interpolate constraints by a displacement function in space: d : IR 3 IR 3 with d (c i ) = c i 3. Evaluation. Displace all points: p i d (p i ) p i S

How to interpolate? Represent deformation by RBFs d (x) = j w j ϕ ( c j x ) + p (x) Well suited for scattered data interpolation Smooth interpolation Irregular constraints

Which basis function? Triharmonic RBF ϕ (r) = r 3 C 2 boundary constraints High fairness (energy minimization) Globally supported RBF Works well for irregular constraints But linear systems are dense

Which basis function? Compactly supported functions... are more efficient (sparse systems) but yield inferior fairness Don t trade quality for efficiency! Use triharmonic functions Accelerate involved computations

Overview Introduction RBF Modeling Setup Incremental Least Squares Solver Precomputed Basis Functions GPU Implementation Results

Handle Metaphor Affinely transformed control handle Fixed vertices Handle vertices f i f i h i h i

Curve Metaphor Deform spline curve on the surface Fixed vertices f i f i Curve points c (t i ) c (t i )

C 2 Boundary Constraints Three rings of constrained points Finite difference approximation to exact C 2 constraints

RBF Fitting Place m centers at m constraints {c i } = {f i } {h i } Solve m m system for weights ( ) F Φ W = H {w j } Rows i constraints Columns j basis functions

Overview Introduction RBF Modeling Setup Incremental Least Squares Solver Precomputed Basis Functions GPU Implementation Results

RBF Fitting Computation time should depend on... deformation complexity not surface complexity Simple deformation, complex surface? Not all m basis functions needed Solve up to error tolerance

Incremental RBF Fitting 1. Start with a few basis functions only 2. Iteratively refine approximation i. Add one basis function ii. Recompute fitting iii. Break if error < tolerance which one? how to re-fit efficiently? how to check efficiently?

Carr et al. SG 2001 Exactly interpolate n chosen constraints Solve upper n n block for n = 1 to m do Φ W = B

Incremental Least Squares Compute optimal L 2 approximation Solve left m n block (least squares) for n = 1 to m do Φ W = B

Least Squares QR Method Overdetermined system Ax = b A = Q 1 Q 2 R 0 b Q 1 Q T 1 b Least Squares solution Rx = Q T 1 b rg (A) L 2 error b Ax = Q T 2 b

Incremental QR Solver In each iteration... add one more basis function add one more column do one QR iteration (Householder) Slight adjustment of standard QR Iterate until error < tolerance Then solve Rx = Q T 1 b Comes at no performance penalty!

Which centers to choose? Farthest point sampling of RBF centers Linearly independent columns Good matrix condition 3.5 number matrix condition 3 2.5 2 1.5 1 0.5 4 x 108 FP centers Random centers [CBC*01] centers 0 # basis # basis functions 50 100 150 200 250

Surface Deformation 270k blue vertices, 4136 constraints Naive LU solver (4136 RBFs): 153s Incr. QR solver (160 RBFs): 1.99s

Overview Introduction RBF Modeling Setup Incremental Least Squares Solver Precomputed Basis Functions GPU Implementation Results

Precomputed Basis Functions Affine coordinate system for handle H = M (a, b, c, d) T =: M C

Precomputed Basis Functions Affine coord. system for handle H depends linearly on C Fitting: pseudo inverse W depends linearly on H Evaluation: matrix multiplication P depends linearly on W P depends linearly on C

Precomputed Basis Functions In terms of displacements: P = P + B δc Simplifies fitting & evaluation to weighted sum of 4 displacements Works for curve metaphor as well Curve points are affine combination of control points

Surface Deformation 270k blue vertices, 4136 constraints Naive LU solver (4136 RBFs): 153s Incr. QR solver (160 RBFs): 1.99s Basis precomp.: 7.5s CPU per-frame: 0.27s

Overview Introduction RBF Modeling Setup Incremental Least Squares Solver Precomputed Basis Functions GPU Implementation Results

GPU Implementation Analytic space deformation Transform points p i = d (p i ) Transform tangents Transform normals t i n i = J d (p i ) t i = J d (p i ) T n i Precompute basis functions for Deformation Jacobian d ( ) J d ( ) B B x, B y, B z Requires 16 floats per vertex

GPU Implementation Each point is handled individually Easily computed in vertex shader Now all geometry data is static Store in video memory Only affine frame changes Global shader variable (12 floats)

Surface Deformation 270k blue vertices, 4136 constraints Naive LU solver (4136 RBFs): 153s Incr. QR solver (160 RBFs): 1.99s Basis precomp.: 7.5s CPU per-frame: 0.27s Basis precomp.: 7.5s GPU per-frame: 0.01s

Overview Introduction RBF Modeling Setup Incremental Least Squares Solver Precomputed Basis Functions GPU Implementation Results

1M vertices, 355k active vertices

984k vertices, 880k active vertices

Local & Global Deformations

Bad Meshes

Bad Meshes 3M triangles 10k components Not oriented Not manifold

Point-Based Models Transform splat axes by Jacobian Integrates seamlessly into GPU rendering methods

Point-Based Models

Comparison Surface-based methods offer more control Segment-wise boundary continuity Geodesic anisotropy

Comparison Surface Freeform Surface Multires Space Freeform Space Multires

Conclusion Triharmonic RBF space deformation Robust & efficient High fairness Acceleration techniques Incremental QR solver Precomputed basis functions GPU implementation Real-time editing at 30M vertices/sec