A SIMPLE AND FAST HARDWARE-ACCELERATED POINT-IN-POLYGON TEST

F. Martínez, A. J. Rueda, F. R. Feito

Abstract

The new generations of GPUs bring us a set of new basic operations or tools that allow us to design new solutions to traditional problems in Computer Graphics. In this paper we present two approaches for the point- in-polygon problem based on the occlusion query extensions supported by modern GPUs. Both approaches are fast and their execution times do not depend on the number of edges of the polygon. Besides, one of the tests allows multiple point-in-polygon queries to be done in parallel with CPU computations.

References

  1. A. Rueda, R. Segura, F. F. and Ruiz, J. (2004). Rasterizing complex polygons without tesselations. In Graphical Models. 66(3) 127-132.
  2. Akenine-Moller, T. and Haines, E. (2002). Real-Time Rendering. A.K. Peters, Massachusetts, 2nd edition.
  3. Antonio, F. (1992). Faster line segment intersection. David Kirk (Ed.) Graphics Gems III Academic Press, Boston, 1st edition.
  4. Hacker, R. (1962). Certification of algorithm 112: position of point relative to polygon. In Communications of the ACM. Vol. 5 pp. 606.
  5. Haines, E. (1994). Point in polygon strategies. Paul Heckert (Ed.) Graphics Gems IV Academic Press, New York, 1st edition.
  6. Hanrahan, P. and Haeberli, P. (1990). Direct wysiwyg painting and texturing on 3d shapes. In Computer Graphics (SIGGRAPH 7890 Proceedings). 24(4) 215-223.
  7. Shimrat, M. (1962). Algorithm 112: position of point relative to polygon. In Communications of the ACM. Vol. 5 pp. 434.
  8. Spackman, J. (1993). Simple, fast triangle intersection, part ii. In Ray Tracing News. 6(2).
Download


Paper Citation


in Harvard Style

Martínez F., J. Rueda A. and R. Feito F. (2007). A SIMPLE AND FAST HARDWARE-ACCELERATED POINT-IN-POLYGON TEST . In Proceedings of the Second International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, ISBN 978-972-8865-71-9, pages 161-165. DOI: 10.5220/0002072501610165


in Bibtex Style

@conference{grapp07,
author={F. Martínez and A. J. Rueda and F. R. Feito},
title={A SIMPLE AND FAST HARDWARE-ACCELERATED POINT-IN-POLYGON TEST},
booktitle={Proceedings of the Second International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP,},
year={2007},
pages={161-165},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002072501610165},
isbn={978-972-8865-71-9},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Second International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP,
TI - A SIMPLE AND FAST HARDWARE-ACCELERATED POINT-IN-POLYGON TEST
SN - 978-972-8865-71-9
AU - Martínez F.
AU - J. Rueda A.
AU - R. Feito F.
PY - 2007
SP - 161
EP - 165
DO - 10.5220/0002072501610165