1 Dr. Scott Schaefer Generalized Barycentric Coordinates.

Slides:



Advertisements
Similar presentations
COMP 175 | COMPUTER GRAPHICS Remco Chang1/6103b – Shapes Lecture 03b: Shapes COMP 175: Computer Graphics February 3, 2015.
Advertisements

Tao JuA general construction of coordinatesSlide 1 A general, geometric construction of coordinates in a convex simplicial polytope Tao Ju Washington University.
CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 9: Extrinsic Deformations Fall 2012.
CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 10: Extrinsic Deformations Fall 2014.
Extended Gaussian Images
Mean Value Coordinates for Closed Triangular Meshes
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
1 Dr. Scott Schaefer Bezier Triangles and Multi-Sided Patches.
Discrete Geometry Tutorial 2 1
09/25/02 Dinesh Manocha, COMP258 Triangular Bezier Patches Natural generalization to Bezier curves Triangles are a simplex: Any polygon can be decomposed.
Siggraph Course Mesh Parameterization: Theory and Practice Barycentric Mappings.
Computational Geometry The art of finding algorithms for solving geometrical problems Literature: –M. De Berg et al: Computational Geometry, Springer,
Tao JuA general construction of coordinatesSlide 1 A general, geometric construction of coordinates in any dimensions Tao Ju Washington University in St.
Computational Geometry The art of finding algorithms for solving geometrical problems Literature: –M. De Berg et al: Computational Geometry, Springer,
1 Dr. Scott Schaefer The Bernstein Basis and Bezier Curves.
Mesh Parameterization: Theory and Practice Barycentric Mappings.
Bezier and Spline Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
Computer Graphics Recitation The plan today Least squares approach  General / Polynomial fitting  Linear systems of equations  Local polynomial.
Week 13 - Wednesday CS361.
Curves and Surfaces (cont’) Amy Zhang. Conversion between Representations  Example: Convert a curve from a cubic B-spline curve to the Bézier form:
CS-321 Dr. Mark L. Hornick 1 3-D Object Modeling.
CSE554Laplacian DeformationSlide 1 CSE 554 Lecture 8: Laplacian Deformation Fall 2012.
Surfaces Lecture 6 (Modelling). Reminder: Homogenous Co-ordinates l2D Translations cannot be encoded using matrix multiplication because points at the.
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 Spline curves 1/23 Curves and Surfaces.
Moving Least Squares Coordinates Josiah Manson and Scott Schaefer Texas A&M University.
1 Ray Tracing Polyhedra ©Anthony Steed
1 Dr. Scott Schaefer Generalized Barycentric Coordinates.
Collision handling: detection and response
Part 6: Graphics Output Primitives (4) 1.  Another useful construct,besides points, straight line segments, and curves for describing components of a.
1 Dr. Scott Schaefer Smooth Curves. 2/109 Smooth Curves Interpolation  Interpolation through Linear Algebra  Lagrange interpolation Bezier curves B-spline.
1 Dr. Scott Schaefer Coons Patches and Gregory Patches.
1 Adding charts anywhere Assume a cow is a sphere Cindy Grimm and John Hughes, “Parameterizing n-holed tori”, Mathematics of Surfaces X, 2003 Cindy Grimm,
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
Andrew Nealen / Olga Sorkine / Mark Alexa / Daniel Cohen-Or SoHyeon Jeong 2007/03/02.
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.
Chapter Area, Pythagorean Theorem, and Volume 14 Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
12.1 Exploring Solids.
1 Dr. Scott Schaefer Diffusion Curves. 2/38 Diffusion Curves Vector graphics-based representation for 2D images Images are piecewise smooth with discontinuities.
Area & Perimeter on the Coordinate Plane
Basic Theory (for curve 01). 1.1 Points and Vectors  Real life methods for constructing curves and surfaces often start with points and vectors, which.
Introduction to Meshes Lecture 22 Mon, Oct 20, 2003.
Surface area & Volume of Pyramids Tutorial 13d Pyramids §A pyramid is a polyhedron in which one face (the base) can be any polygon and the other faces.
Solid Modeling Prof. Lizhuang Ma Shanghai Jiao Tong University.
1 Spherical manifolds for hierarchical surface modeling Cindy Grimm.
How are shapes deformed in computer graphics? In order to deform a shape, a planar map is used. A map is a vector function that changes the coordinates.
2.6 Solving Systems of Linear Inequalities
Bezier Triangles and Multi-Sided Patches
Morphing and Shape Processing
Smooth Surfaces Dr. Scott Schaefer.
Computer Animation and Visualisation Lecture 4. Skinning
Positive Gordon–Wixom Coordinates
The Bernstein Basis and Bezier Curves
Diffusion Curves Dr. Scott Schaefer.
Computing Vertex Normals from Arbitrary Meshes
Standardized Test Practice
Ray Tracing Polyhedra ©Anthony Steed
Coons Patches and Gregory Patches
Y. Lipman D. Levin D. Cohen-Or
Introduction to Meshes
CSE 554 Lecture 10: Extrinsic Deformations
Shading Polygons Lecture 36 Wed, Nov 28, 2007.
Spatial Databases: Digital Terrain Model
Y. Lipman D. Levin D. Cohen-Or
14 Chapter Area, Pythagorean Theorem, and Volume
PHY 712 Electrodynamics 9-9:50 AM MWF Olin 105 Plan for Lecture 7:
Spatial Databases: Digital Terrain Model
A polygon is a plane figure with three or more than three segments.
Introduction to Meshes
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

1 Dr. Scott Schaefer Generalized Barycentric Coordinates

2/95 Barycentric Coordinates Given find weights such that are barycentric coordinates

3/95 Barycentric Coordinates Given find weights such that are barycentric coordinates Homogenous coordinates

4/95 Barycentric Coordinates Given find weights such that are barycentric coordinates

5/95 Barycentric Coordinates Given find weights such that are barycentric coordinates

6/95 Barycentric Coordinates Given find weights such that are barycentric coordinates

7/95 Barycentric Coordinates Given find weights such that are barycentric coordinates

8/95 Boundary Value Interpolation Given, compute such that Given values at, construct a function Interpolates values at vertices Linear on boundary Smooth on interior

9/95 Boundary Value Interpolation Given, compute such that Given values at, construct a function Interpolates values at vertices Linear on boundary Smooth on interior

10/95 Multi-Sided Patches

11/95 Multi-Sided Patches

12/95 Multi-Sided Patches

13/95 Multi-Sided Patches

14/95 Multi-Sided Patches

15/95 Multi-Sided Patches

16/95 Multi-Sided Patches

17/95 Multi-Sided Patches

18/95 Multi-Sided Patches

19/95 Wachspress Coordinates

20/95 Wachspress Coordinates

21/95 Wachspress Coordinates

22/95 Wachspress Coordinates

23/95 Wachspress Coordinates

24/95 Wachspress Coordinates

Polar Duals of Convex Polygons Given a convex polyhedron P containing the origin, the polar dual is 25/95

Properties of Polar Duals is dual to a face with plane equation Each face with normal and vertex is dual to the vertex 26/95

Properties of Polar Duals is dual to a face with plane equation Each face with normal and vertex is dual to the vertex 27/95

Coordinates From Polar Duals Given a point v, translate v to origin Construct polar dual 28/95

Coordinates From Polar Duals Given a point v, translate v to origin Construct polar dual 29/95

Coordinates From Polar Duals Given a point v, translate v to origin Construct polar dual 30/95

Coordinates From Polar Duals Given a point v, translate v to origin Construct polar dual 31/95

Coordinates From Polar Duals Given a point v, translate v to origin Construct polar dual 32/95

Coordinates From Polar Duals Given a point v, translate v to origin Construct polar dual 33/95

Coordinates From Polar Duals Given a point v, translate v to origin Construct polar dual 34/95

Given a point v, translate v to origin Construct polar dual Coordinates From Polar Duals 35/95

Given a point v, translate v to origin Construct polar dual Coordinates From Polar Duals 36/95

Given a point v, translate v to origin Construct polar dual Coordinates From Polar Duals 37/95

Given a point v, translate v to origin Construct polar dual Coordinates From Polar Duals 38/95 Identical to Wachspress Coordinates!

Extensions into Higher Dimensions Compute polar dual Volume of pyramid from dual face to origin is barycentric coordinate 39/95

40/95 Wachspress Coordinates – Summary Coordinate functions are rational and of low degree Coordinates are only well-defined for convex polygons w i are positive inside of convex polygons 3D and higher dimensional extensions (for convex shapes) do exist

41/95 Mean Value Coordinates

42/95 Mean Value Coordinates

43/95 Mean Value Coordinates

44/95 Mean Value Coordinates

45/95 Mean Value Coordinates

46/95 Mean Value Coordinates

47/95 Mean Value Coordinates

48/95 Mean Value Coordinates

49/95 Mean Value Coordinates Apply Stokes’ Theorem

50/95 Comparison convex polygons (Wachspress Coordinates) closed polygons (Mean Value Coordinates)

51/95 Comparison convex polygons (Wachspress Coordinates) closed polygons (Mean Value Coordinates)

52/95 Comparison convex polygons (Wachspress Coordinates) closed polygons (Mean Value Coordinates)

53/95 Comparison convex polygons (Wachspress Coordinates) closed polygons (Mean Value Coordinates)

54/95 3D Mean Value Coordinates

55/95 Exactly same as 2D but must compute mean vector for a given spherical triangle 3D Mean Value Coordinates

56/95 3D Mean Value Coordinates Exactly same as 2D but must compute mean vector for a given spherical triangle Build wedge with face normals

57/95 Exactly same as 2D but must compute mean vector for a given spherical triangle Build wedge with face normals Apply Stokes’ Theorem, 3D Mean Value Coordinates

58/95 Deformations using Barycentric Coordinates

59/95 Deformations using Barycentric Coordinates

60/95 Deformations using Barycentric Coordinates

61/95 Deformations using Barycentric Coordinates

62/95 Deformation Examples Control MeshSurfaceComputing WeightsDeformation 216 triangles30,000 triangles1.9 seconds0.03 seconds

63/95 Deformation Examples Control MeshSurfaceComputing WeightsDeformation 216 triangles30,000 triangles1.9 seconds0.03 seconds Real-time!

64/95 Deformation Examples Control MeshSurfaceComputing WeightsDeformation 98 triangles96,966 triangles3.3 seconds0.09 seconds

65/95 Mean Value Coordinates – Summary Coordinate functions are NOT rational Coordinates are only well-defined for any closed, non-self-intersecting polygon/surface w i are positive inside of convex polygons, but not in general

Constructing a Laplacian Operator 66/95

Constructing a Laplacian Operator 67/95 Laplacian

Constructing a Laplacian Operator 68/95 Euler-Lagrange Theorem

Constructing a Laplacian Operator 69/95

Constructing a Laplacian Operator 70/95

Constructing a Laplacian Operator 71/95

Constructing a Laplacian Operator 72/95

Constructing a Laplacian Operator 73/95

Constructing a Laplacian Operator 74/95

Constructing a Laplacian Operator 75/95

Constructing a Laplacian Operator 76/95

Constructing a Laplacian Operator 77/95

Constructing a Laplacian Operator 78/95

Constructing a Laplacian Operator 79/95

Constructing a Laplacian Operator 80/95

Constructing a Laplacian Operator 81/95

Constructing a Laplacian Operator 82/95

Constructing a Laplacian Operator 83/95

Constructing a Laplacian Operator 84/95

Constructing a Laplacian Operator 85/95

Harmonic Coordinates Solution to Laplace’s equation with boundary constraints 86/95

Harmonic Coordinates Solution to Laplace’s equation with boundary constraints 87/95

Harmonic Coordinates Solution to Laplace’s equation with boundary constraints 88/95

Harmonic Coordinates Solution to Laplace’s equation with boundary constraints 89/95

Harmonic Coordinates Solution to Laplace’s equation with boundary constraints 90/95 i th row contains laplacian for i th vertex

Harmonic Coordinates Solution to Laplace’s equation with boundary constraints 91/95

Harmonic Coordinates 92/95

93/95 Harmonic Coordinates – Summary Positive, smooth coordinates for all polygons Fall off with respect to geodesic distance, not Euclidean distance Only approximate solutions exist and require matrix solve whose size is proportional to accuracy

94/95 Harmonic Coordinates – Summary Positive, smooth coordinates for all polygons Fall off with respect to geodesic distance, not Euclidean distance Only approximate solutions exist and require matrix solve whose size is proportional to accuracy

95/95 Barycentric Coordinates – Summary Infinite number of barycentric coordinates Constructions exists for smooth shapes too Challenge is finding coordinates that are:  well-defined for arbitrary shapes  positive on the interior of the shape  easy to compute  smooth