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.
机构:
Pixar Animat Studios, 1200 Pk Ave, Oakland, CA 94608 USAPixar Animat Studios, 1200 Pk Ave, Oakland, CA 94608 USA
de Goes, Fernando
Desbrun, Mathieu
论文数: 0引用数: 0
h-index: 0
机构:
Inria, Paris, France
Ecole Polytech, Palaiseau, France
Inria Saclay, 1 Rue Honore Estienne Orves, Palaiseau, France
LIX IPP, 1 Rue Honore Estienne Orves, Palaiseau, FrancePixar Animat Studios, 1200 Pk Ave, Oakland, CA 94608 USA
机构:
Univ Groningen, Johann Bernoulli Inst, NL-9700 AB Groningen, NetherlandsUniv Groningen, Johann Bernoulli Inst, NL-9700 AB Groningen, Netherlands
Kosinka, Jiri
Barton, Michael
论文数: 0引用数: 0
h-index: 0
机构:
King Abdullah Univ Sci & Technol, Numer Porous Media Ctr, Thuwal, Saudi ArabiaUniv Groningen, Johann Bernoulli Inst, NL-9700 AB Groningen, Netherlands