
Barycentric Coordinates in Triangle Computation
Learn about barycentric coordinates in triangle computation, including their weighted averages, properties, and methods for calculation. Images and explanations provided for easy understanding.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Triangle Barycentrics CMSC 435/634
Barycentric Coordinates Weighted average of vertex positions Weights Same weights can interpolate other data
Barycentric Coordinates Each coordinate is 1 at its vertex 0 at both other vertices and on the line between them
Computing Barycentrics (1) Ratio of (signed) distance from edge h d
Computing Barycentrics (2) Ratio of (signed) triangle areas Since All but heights cancel
Computing Barycentrics (2a) Area with cross product Dot with normal for sign
Computing Barycentrics (2b) Skip normalization
Computing Barycentrics (2c) Area from matrix determinant Any non-zero 2D projection
Computing Barycentrics (2d) Area by Green s Theorem
Computing Barycentrics (3) System of equations , , and are linear in X and Y
Computing Barycentrics (3) Each barycentric is Equal to 1 at one vertex Equal to 0 at the other two
Computing Barycentrics (3) This defines a system of three equations or
Computing Barycentrics (3) Solve for coefficients for all three:
Computing Barycentrics (3) Matrix Inverse
Computing Barycentrics (3) Solve for coefficients
Computing Barycentrics Bottom Line: Lots of ways to compute them All algebraically equivalent Use the one that you find easiest