1 minute read

Barycentric Coordinates with Applications in Mesh Deformation

Complex Barycentric Coordinates with Applications to Planar Shape Deformation

Constructing a function that interpolates a set of values defined at vertices of a mesh is a fundamental operation in computer graphics. For example, Gouraud shading computes intensity $f[x]$ at an interior point $x$ of a triangle from intensities at the triangle vertices $f_i$ using affine combination

image

The affine weights $b_i[x]$ are often called barycentric coordinates. In a triangle, such coordinates are unique, and $b_i$ has the geometric interpretation as the ratio of the area of the triangle formed by $x$ and the opposite edge to vertex $i$ over the area of the original triangle.

์—ฌ๊ธฐ์„œ The opposite edge to vertex of the area of the original triangle์ด๋ž€ ์‚ผ๊ฐํ˜•์˜ ์ •์  $i$์— ๋Œ€ํ•œ โ€œ๋ฐ˜๋Œ€ํŽธ ๋ณ€โ€์€ ๊ทธ ์ •์ ์„ ํฌํ•จํ•˜์ง€ ์•Š๋Š” ๋‚˜๋จธ์ง€ ๋‘ ์ •์ ์ด ๋งŒ๋“œ๋Š” ๋ณ€์„ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. Barycentric ์ขŒํ‘œ์—์„œ๋Š”, ์‚ผ๊ฐํ˜• ๋‚ด๋ถ€์˜ ์  $x$์™€ ์ด ๋ฐ˜๋Œ€ํŽธ ๋ณ€์œผ๋กœ ์ด๋ฃจ์–ด์ง„ ์ž‘์€ ์‚ผ๊ฐํ˜•์˜ ๋ฉด์ ์„, ์›๋ž˜ ์‚ผ๊ฐํ˜•์˜ ๋ฉด์ ์œผ๋กœ ๋‚˜๋ˆˆ ๋น„์œจ๋กœ ์ •์˜๋ฉ๋‹ˆ๋‹ค.

Barycentric coordinates have many uses in applications such as shading, parameterization and deformation. However, computing such coordinates is not an easy task, especially for non-convex shapes, continuous shapes, or shapes in 3D or higher dimensions.

Barycentric coordinates in computer graphics applications

Barycentric coordinates are a very useful mathematical tool for computer graphics applications. Since they allow to infer continuous data over a domain from discrete or continuous values on the boundary of the domain, barycentric coordinates are used in a wide range of applications - from shading, interpolation, and parameterization to, more recently, space deformations.

Leave a comment