Barycentric coordinates computation in homogeneous coordinates

被引:48
|
作者
Skala, Vaclav [1 ]
机构
[1] Univ W Bohemia, Fac Sci Appl, Dept Comp Sci & Engn, Plzen 30614, Czech Republic
来源
COMPUTERS & GRAPHICS-UK | 2008年 / 32卷 / 01期
关键词
barycentric coordinates; homogeneous coordinates; projective space; point-in-polygon; point-in-tetrahedron; ray-triangle intersection; ray-tetrahedron intersection; duality; cross-product;
D O I
10.1016/j.cag.2007.09.007
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Homogeneous coordinates are often used in computer graphics and computer vision applications especially for the representation of geometric transformations. The homogeneous coordinates enable us to represent translation, rotation, scaling and projection operations in a unique way and handle them properly. Today's graphics hardware based on GPU offers a very high computational power using pixel and fragment shaders not only for the processing of graphical elements, but also for the general computation using GPU as well. It is well known that points, triangles and strips of triangles are mostly used in computer graphics processing. Generally, triangles and tetrahedra are mostly represented by vertices. Several tests like "point inside... " or "intersection of... " are very often used in applications. On the other hand, barycentric coordinates in E-2 or E-3 can be used to implement such tests, too. Nevertheless, in both cases division operations are used that potentially lead to the instability of algorithms. The main objective of this paper is to show that if the vertices of the given polygon and/or a point itself are given in homogeneous coordinates the barycentric coordinates can be computed directly without transferring them from the homogeneous [w not equal 1] to the Euclidean coordinates. Instead of solving a linear system of equations, the cross-product can be used and the division operation is not needed. This is quite convenient approach for GPU computation. (C) 2007 Published by Elsevier Ltd.
引用
收藏
页码:120 / 127
页数:8
相关论文
共 50 条
  • [1] Stochastic Computation of Barycentric Coordinates
    de Goes, Fernando
    Desbrun, Mathieu
    ACM TRANSACTIONS ON GRAPHICS, 2024, 43 (04):
  • [2] PROBLEM IN BARYCENTRIC COORDINATES
    KLEE, V
    JOURNAL OF APPLIED PHYSICS, 1965, 36 (06) : 1854 - &
  • [3] Variational Barycentric Coordinates
    Dodik, Ana
    Stein, Oded
    Sitzmann, Vincent
    Solomon, Justin
    ACM TRANSACTIONS ON GRAPHICS, 2023, 42 (06):
  • [4] Barycentric Coordinates on Surfaces
    Rustamov, Raif M.
    COMPUTER GRAPHICS FORUM, 2010, 29 (05) : 1507 - 1516
  • [5] Local Barycentric Coordinates
    Zhang, Juyong
    Deng, Bailin
    Liu, Zishun
    Patane, Giuseppe
    Bouaziz, Sofien
    Hormann, Kai
    Liu, Ligang
    ACM TRANSACTIONS ON GRAPHICS, 2014, 33 (06):
  • [6] Barycentric coordinates for polytopes
    Wachspress, Eugene L.
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2011, 61 (11) : 3319 - 3321
  • [7] Blended barycentric coordinates
    Anisimov, Dmitry
    Panozzo, Daniele
    Hormann, Kai
    COMPUTER AIDED GEOMETRIC DESIGN, 2017, 52-53 : 205 - 216
  • [8] Subdividing barycentric coordinates
    Anisimov, Dmitry
    Deng, Chongyang
    Hormann, Kai
    COMPUTER AIDED GEOMETRIC DESIGN, 2016, 43 : 172 - 185
  • [9] Convergence of barycentric coordinates to barycentric kernels
    Kosinka, Jiri
    Barton, Michael
    COMPUTER AIDED GEOMETRIC DESIGN, 2016, 43 : 200 - 210
  • [10] A Minimization Approach for Constructing Generalized Barycentric Coordinates and Its Computation
    Chongyang Deng
    Xiali Fan
    Ming-Jun Lai
    Journal of Scientific Computing, 2020, 84