A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 1/20 Quadric Error Metrics.

Slides:



Advertisements
Similar presentations
 Over-all: Very good idea to use more than one source. Good motivation (use of graphics). Good use of simplified, loosely defined -- but intuitive --
Advertisements

CSE554Cell ComplexesSlide 1 CSE 554 Lecture 3: Shape Analysis (Part II) Fall 2014.
Surface Simplification using Quadric Error Metrics Guowei Wu.
Surface Simplification Using Quadric Error Metrics Speaker: Fengwei Zhang September
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 7: Quadric Error Metrics Ravi Ramamoorthi
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 10 Ravi Ramamoorthi
Mesh Simplification. Plan Introduction Mesh Simplifications Current Techniques The Projet Results.
CSE554ContouringSlide 1 CSE 554 Lecture 4: Contouring Fall 2013.
5/1/2000Deepak Bandyopadhyay / UNC Chapel Hill 1 Extended Quadric Error Functions for Surface Simplification Deepak Bandyopadhyay COMP 258 F2000 Project.
High-Quality Simplification with Generalized Pair Contractions Pavel Borodin,* Stefan Gumhold, # Michael Guthe,* Reinhard Klein* *University of Bonn, Germany.
New quadric metric for simplifying meshes with appearance attributes Hugues Hoppe Microsoft Research IEEE Visualization 1999 Hugues Hoppe Microsoft Research.
Stefan Gumhold,* Pavel Borodin, # Reinhard Klein # *University of Tuebingen, Germany # University of Bonn, Germany Intersection Free Simplification.
CS CS 175 – Week 4 Mesh Decimation General Framework, Progressive Meshes.
Mesh Simplification Global and Local Methods:
CENG 789 – Digital Geometry Processing 05- Smoothing and Remeshing
Polygonal Mesh – Data Structure and Smoothing
Visualization and graphics research group CIPIC January 30, 2003Multiresolution (ECS 289L) - Winter MAPS – Multiresolution Adaptive Parameterization.
Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 11: Quadric Error Metrics Ravi Ramamoorthi Some material.
Visualization and graphics research group CIPIC January 21, 2003Multiresolution (ECS 289L) - Winter Surface Simplification Using Quadric Error Metrics.
ECS 289L A Survey of Mesh-Based Multiresolution Representations Ken Joy Center for Image Processing and Integrated Computing Computer Science Department.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 10: Mesh simplification Ravi Ramamoorthi Many slides courtesy.
1 Free-Form Deformations Free-Form Deformation of Solid Geometric Models Fast Volume-Preserving Free Form Deformation Using Multi-Level Optimization Free-Form.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2014.
1 Note on QEM Implementation. 2 Algorithm Summary.
CS 450: Computer Graphics REVIEW: OVERVIEW OF POLYGONS
In the name of God Computer Graphics Modeling1. Today Introduction Modeling Polygon.
10/14/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Level of Detail.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
1 Background and definitions Cindy Grimm. 2 Siggraph 2005, 8/1/ Overview What does it mean to be.
Unit 5 Vocab By: Mika Hamady. Acute Angle Definition: An acute angle is an angle that is less then 90 degrees. Examples: 1.A 43 degree angle is acute.
1 Surface Applications Fitting Manifold Surfaces To 3D Point Clouds, Cindy Grimm, David Laidlaw and Joseph Crisco. Journal of Biomechanical Engineering,
10/02/2001CS 638, Fall 2001 Today Level of Detail Overview Decimation Algorithms LOD Switching.
DPL10/16/2015 CS 551/651: Simplification Continued David Luebke
Level of Detail: Choosing and Generating LODs David Luebke University of Virginia.
1 Dr. Scott Schaefer Surface Simplification. 2/32 Surface Simplification Given a closed polygon model, reduce the number of polygons and maintain appearance.
Surface Simplification Using Quadric Error Metrics Garland & Heckbert Siggraph 97.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2013.
HRTFs can be calculated
CSE554Fairing and simplificationSlide 1 CSE 554 Lecture 6: Fairing and Simplification Fall 2012.
Simplifying Surfaces with Color and Texture using Quadric Error Metrics Michael Garland Paul S. Heckbert Carnegie Mellon University October 1998 Michael.
Parametric Surfaces Define points on the surface in terms of two parameters Simplest case: bilinear interpolation s t s x(s,t)x(s,t) P 0,0 P 1,0 P 1,1.
Polygonal Simplification Techniques
Mesh Coarsening zhenyu shu Mesh Coarsening Large meshes are commonly used in numerous application area Modern range scanning devices are used.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 8 Ravi Ramamoorthi
Geometric Modeling using Polygonal Meshes Lecture 3: Discrete Differential Geometry and its Application to Mesh Processing Office: South B-C Global.
Reconstruction of Solid Models from Oriented Point Sets Misha Kazhdan Johns Hopkins University.
CSE554ContouringSlide 1 CSE 554 Lecture 4: Contouring Fall 2015.
Hierarchical Error-Driven Approximation of Implicit Surfaces from Polygonal Meshes Takashi Kanai Yutaka Ohtake Kiwamu Kase University of Tokyo RIKEN, VCAD.
CS418 Computer Graphics John C. Hart
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 7 Ravi Ramamoorthi
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert August 1997 Michael Garland Paul S. Heckbert August 1997.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 9 Ravi Ramamoorthi
3D Object Representations graphics scenes contain solid geometric objects trees, flowers, clouds, rocks, water representations surface ↔interior models.
Level of Detail: Generating LODs David Luebke University of Virginia.
Mesh Resampling Wolfgang Knoll, Reinhard Russ, Cornelia Hasil 1 Institute of Computer Graphics and Algorithms Vienna University of Technology.
Rendering Large Models (in real time)
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 10, 2015 TRIANGLE MESHES 3D MESHES MESH OPERATIONS.
Advanced Computer Graphics (Spring 2013) Mesh representation, overview of mesh simplification Many slides courtesy Szymon Rusinkiewicz.
Decimation of Triangle Meshes Paper by W.J.Schroeder et.al Presented by Guangfeng Ji.
1 Spherical manifolds for hierarchical surface modeling Cindy Grimm.
A Multiphase Approach to Efficient Surface Simplification Michael Garland Eric Shaffer University of Illinois at Urbana–Champaign Michael Garland Eric.

Advanced Computer Graphics
Decimation Of Triangle Meshes
Advanced Computer Graphics
CS Computer Graphics II
User-Guided Simplification
CSE 554 Lecture 3: Shape Analysis (Part II)
Chap 10. Geometric Level of Detail
Presentation transcript:

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 1/20 Quadric Error Metrics

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 2/20 To do Continue to work on ray programming assignment Continue to think about final project Next Monday: Dr. Lee Butler’s guest lecture

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 3/20 Background: quadrics A quadrics are all surfaces that can be expressed as a second degree polynomial in x, y, and z.

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 4/20 Quadric surfaces General implicit form Matrix form –Setting w to 1, this provides the ability to position the quadrics in space

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 5/20 Surface Simplification: Goals Efficiency (70000 to 100 faces in 15s in 1997) High quality, feature preserving (primary appearance emphasized rather than topology) Generally, non-manifold models, collapse disjoint regions 7809 tris 3905 tris 488 tris

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 6/20 Background: Manifold Mathematical term of a surface, all of those points have a neighborhood which is topologically equivalent to a disk. A manifold with boundary is a surface all of whose points have either a disk or a half-disk. A polygonal surface is a manifold (with boundary) if every edge has exactly two incident faces, and the neighborhood of every vertex consists of a closed loop of faces (or a single fan of faces on the boundary)

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 7/20 Overview and Resources Garland and Heckbert SIGGRAPH 97 paper –Greedy decimation algorithm –Pair collapse (allow edge + non-edge collapse) Evaluate potential collapse Determine optimal new vertex locations Garland website, implementation notes in his thesis Notes in this and the previous lecture

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 8/20 Algorithm Outline Restrict process to a set of valid pairs: –(vi, vj) is an edge, or

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 9/20 Choose best pair Based on point-to-plane distance Better quality than point-to- point

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 10/20 Background: Computing Planes Each triangle in mesh has associated plane For a triangle, find its (normalized) normal using cross products Plane equation:

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 11/20 Quadric Error Metrics Sum of squared distances from vertex to planes Common mathematical trick: Quadratic form = symmetric matrix Q multiplied twice by a vector.

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 12/20 Quadric Error Metrics A 4x4 symmetric matrix Storage efficient: 10 floating point number per vertex Initially, error is 0 for all vertices 2 nd degree polynomial in x, y, and z Level surface (v t Qv = k) is a quadric surface –Ellipsoid, parabolic surface, hyperboloid, plane etc.

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 13/20 But What Are These Quadrics Really Doing? Almost always ellipsoids –WhenQ is positive definite Characterize error at vertex –Vertex at center of each ellipsoid –Move it anywhere on ellipsoid with constant error Capture local shape of surface –Stretch in least curved direction

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 14/20 Quadric Visualization Ellipsoids: iso-error surfaces Smaller ellipsoid = greater error for a given motion Lower error for motion parallel to surface Lower error in flat regions than at corners Elongated in “cylindrical” regions

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 15/20 Using Quadrics Approximate error of edge collapses –Each vertex v has associated quadric Q –Error of collapsing v 1 and v 2 to v’ is v’ t Q 1 v’ + v’ t Q 2 v’ –Quadric for new vertex v’ is Q’ = Q1 + Q2

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 16/20 Find optimal location v’ after collapse

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 17/20 Algorithm Summary Compute the Q matrices for all the initial vertices Select all valid pairs Computer the optimal contraction target v for each valid pair. The error v t (Q 1 +Q 2 ) v’ of this target vertex becomes the cost of contracting that pair. Place all pairs in a heap keyed on cost with minimum cost pair on the top Iteratively remove the least cost pair, contract this pair, and update the costs of all valid pairs of interest

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 18/20 Results Original Quadrics 1000 tris 100 tris Original Quadrics 250 tris 250 tris, edge collapses only

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 19/20 Additional Details Preserving boundaries / discontinuities (weight quadrics by appropriate penalty factors) Preventing mesh inversion (flipping of orientation): compare normal of neighboring faces, before after Has been modified for many other applications –E.g., in silhouettes, want to make sure volume always increases, never decreases –Take color and texture into account (follow up paper)

A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 20/20 Implementation Tips Incremental, test, debug, simple cases Find good data structure for heap etc. May help to visualize error quadrics if possible Challenging, but hopefully rewarding assignment