Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 11: Quadric Error Metrics Ravi Ramamoorthi Some material.

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

Surface Simplification using Quadric Error Metrics Guowei Wu.
Surface Simplification Using Quadric Error Metrics Speaker: Fengwei Zhang September
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 13: NURBs, Spline Surfaces Ravi Ramamoorthi Some material.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 7: Quadric Error Metrics Ravi Ramamoorthi
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 14: Review / Subdivision Ravi Ramamoorthi Slides courtesy.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 10 Ravi Ramamoorthi
Developer’s Survey of Polygonal Simplification Algorithms Based on David Luebke’s IEEE CG&A survey paper.
Mesh Simplification. Plan Introduction Mesh Simplifications Current Techniques The Projet Results.
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.
CENG 789 – Digital Geometry Processing 05- Smoothing and Remeshing
Segmentation Graph-Theoretic Clustering.
Visualization and graphics research group CIPIC January 30, 2003Multiresolution (ECS 289L) - Winter MAPS – Multiresolution Adaptive Parameterization.
CS CS 175 – Week 5 Mesh Decimation Fairness Criteria.
Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing.
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
CSE554Laplacian DeformationSlide 1 CSE 554 Lecture 8: Laplacian Deformation Fall 2012.
10/14/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Level of Detail.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
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.
Dynamic Meshing Using Adaptively Sampled Distance Fields
Presented By Greg Gire Advised By Zoë Wood California Polytechnic State University.
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.
Levels of Detail COMP 770 3/25/09. Problem Models can be very detailed Look great when close up Last week we explored one way of attacking this problem.
Scalable, High-Quality Mesh Simplification Michael Garland Eric Shaffer University of Illinois at Urbana–Champaign Michael Garland Eric Shaffer University.
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.
1 Polygonal Techniques 이영건. 2 Introduction This chapter –Discuss a variety of problems that are encountered within polygonal data sets The.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 8 Ravi Ramamoorthi
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.
ALGORITHMS FOR POLYGON REDUCTION Author: Ing. Roman Schulz FIT VUT, 2008.
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)
DPL3/10/2016 CS 551/651: Simplification Continued David Luebke
Advanced Computer Graphics (Spring 2013) Mesh representation, overview of mesh simplification Many slides courtesy Szymon Rusinkiewicz.
A Multiphase Approach to Efficient Surface Simplification Michael Garland Eric Shaffer University of Illinois at Urbana–Champaign Michael Garland Eric.
CENG 789 – Digital Geometry Processing 04- Mesh Data Structures
Advanced Computer Graphics
Advanced Computer Graphics
CS Computer Graphics II
User-Guided Simplification
CS475 3D Game Development Level Of Detail Nodes (LOD)
Segmentation Graph-Theoretic Clustering.
Chang-Hun Kim Department of Computer Science Korea University
Chap 10. Geometric Level of Detail
Presentation transcript:

Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 11: Quadric Error Metrics Ravi Ramamoorthi Some material for slides courtesy Michael Garland, Diego Nehab and Szymon Rusinkiewicz

To Do Assignment 2, Due Mar 19 (Mar 12 if away).  Should have made some serious progress by end of week This lecture reviews quadric error metrics and some points regarding implementation

Survey

Resources  Garland and Heckbert SIGGRAPH 97 paper  Garland website, implementation notes (in thesis)  Notes in this and previous lectures

Surface Simplification: Goals (Garland)  Efficiency (70000 to 100 faces in 15s in 1997)  High quality, feature preserving (primary appearance emphasized rather than topology)  Generality, non-manifold models, collapse disjoint regions

Simplifications  Pair contractions in addition to edge collapses  Previously connected regions may come together

Algorithm Outline

Quadric Error Metrics  Based on point-to-plane distance  Better quality than point-to-point a b c dadadada dbdbdbdb dcdcdcdc

Background: Computing Planes  Each triangle in mesh has associated plane  For a triangle, find its (normalized) normal using cross products  Plane equation?

Quadric Error Metrics  Sum of squared distances from vertex to planes:

Quadric Error Metrics  Common mathematical trick: quadratic form = symmetric matrix Q multiplied twice by a vector

Quadric Error Metrics  Simply a 4x4 symmetric matrix  Storage efficient: 10 floating point number per vertex  Initially, error is 0 for all vertices

Quadric Error Metrics  2 nd degree polynomial in x, y and z  Level surface (v T Qv = k) is a quadric surface  Ellipsoid, paraboloid, hyperboloid, plane etc.

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

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’=Q 1 +Q 2

Using Quadrics  Find optimal location v’ after collapse:

Using Quadrics  Find optimal location v’ after collapse:

Algorithm Outline

Algorithm Summary  Compute the Q matrices for all the initial vertices  Select all valid pairs  Compute the optimal contraction target v vor 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

Final Algorithm

Results Original 1k tris 100 tris Quadrics

Results Original 250 tris, edge collapses only 250 tris Quadrics

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 (followup paper)  See paper, other more recent works for details

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

Questions?  Issues or questions?  All the material for assignment (modulo a little on written part) covered.  Start early, work hard  Rest of unit: subdivision, NURBs, other modeling concepts