Skip to main content

A Framework for n-Dimensional Visibility Computations

  • Chapter
Guide to Geometric Algebra in Practice

Abstract

This chapter introduces global visibility computation using Grassmann Algebra. Visibility computation is a fundamental task in computer graphics, as in many other scientific domains. While it is well understood in two dimensions, this does not remain true in higher-dimensional spaces.

Grassmann Algebra allows to think about visibility at a high level of abstraction and to design a framework for solving visibility problems in any n-dimensional space for n≥2. Contrary to Stolfi’s framework which allows only the representation of geometric lines, its algebraic nature deals means general applicability, with no exceptional cases.

This chapter shows how the space of lines can be defined as a projective space over the bivector vector space. Then line classification, a key point for the visibility computation, is achieved using the exterior product. Actually, line classification turns out to be equivalent to point vs. hyperplane classification relative to a nondegenerate bilinear form. This ensures it is well defined and computationally robust.

Using this, the lines stabbing an n-dimensional convex face are characterized. This set of lines appears to be the intersection of the decomposable bivectors set (i.e., bivectors that represent a line) and a convex polytope. Moreover, this convex polytope is proved to be minimal. This property allows useful algorithmic improvements.

To illustrate the use of our framework in practice, we present the computation of soft shadows for three-dimensional illuminated scenes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Editorial note: The δ is a dualization in \(\bigwedge({\mathbb{R}}^{n+1})\). If one would have a geometric algebra for ℝn+1, this would be proportional to multiplication by the pseudoscalar, see Chap. 21 and their 2D example below. In a nonmetric Grassmann algebra, the dualization is necessarily introduced somewhat more abstractly.

  2. 2.

    Using homogeneous coordinates, the sum of the coefficients does not need to be normalized to unity, as it is usually done in computational geometry.

References

  1. Avis, D., Fukuda, K.: Reverse search for enumeration. Discrete Appl. Math. 65, 21–46 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bajaj, C.L., Pascucci, V.: Splitting a complex of convex polytopes in any dimension. In: Proceedings of the Twelfth Annual Symposium on Computational Geometry (ISG ’96), pp. 88–97, ACM, New York (1996)

    Chapter  Google Scholar 

  3. Bittner, J.: Hierarchical techniques for visibility computation. PhD thesis, Department of Computer Science and Engineering, Czech Technical University in Prague (2002)

    Google Scholar 

  4. Bittner, J., Prikryl, J., Slavík, P.: Exact regional visibility using line space partitioning. Comput. Graph. 27(4), 569–580 (2003)

    Article  Google Scholar 

  5. Dorst, L., Fontijne, D., Mann, S.: Geometric Algebra for Computer Science: An Object-Oriented Approach to Geometry. The Morgan Kaufmann Series in Computer Graphics. Morgan Kaufmann, San Francisco (2007)

    Google Scholar 

  6. Durand, F., Drettakis, G., Puech, C.: The visibility skeleton: a powerful and efficient multi-purpose global visibility tool. In: Proceedings of the 24th Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH ’97, pp. 89–100 (1997)

    Chapter  Google Scholar 

  7. Durand, F., Drettakis, G., Puech, C.: The 3d visibility complex. ACM Trans. Graph. 21, 176–206 (2002)

    Article  Google Scholar 

  8. Haumont, D., Makinen, O., Nirenstein, S.: A low dimensional framework for exact polygon-to-polygon occlusion queries. In: Rendering Techniques, pp. 211–222 (2005)

    Google Scholar 

  9. Möller, T., Trumbore, B.: Fast minimum storage ray–triangle intersection. J. Graph. GPU Game Tools 2(1), 21–28 (1997)

    Google Scholar 

  10. Mora, F., Aveneau, L.: Fast exact direct illumination. In: Proceedings of the Computer Graphics International 2005, pp. 191–197 (2005)

    Chapter  Google Scholar 

  11. Mora, F., Aveneau, L., Mériaux, M.: Coherent exact polygon-to-polygon visibility. In: WSCG’05, pp. 87–94 (2005)

    Google Scholar 

  12. Naylor, B.F., Amanatides, J., Thibault, W.C.: Merging BSP trees yields polyhedral set operations. In: SIGGRAPH, pp. 115–124 (1990)

    Google Scholar 

  13. Nirenstein, S., Blake, E.H., Gain, J.E.: Exact from-region visibility culling. In: Rendering Techniques, pp. 191–202 (2002)

    Google Scholar 

  14. Orti, R., Durand, F., Rivière, S., Puech, C.: Using the visibility complex for radiosity computation. In: WACG, pp. 177–190 (1996)

    Google Scholar 

  15. Pellegrini, M.: Ray shooting and lines in space. In: Goodman, J.E., O’Rourke, J. (eds.) Handbook of Discrete and Computational Geometry, 2nd edn., pp. 839–856. Chapman & Hall/CRC Press, Boca Raton (2004)

    Google Scholar 

  16. Pocchiola, M., Vegter, G.: The visibility complex. Int. J. Comput. Geom. Appl. 6(3), 279–308 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  17. Stolfi, J.: Oriented Projective Geometry: A Framework for Geometric Computations. Academic Press, San Diego (1991)

    MATH  Google Scholar 

  18. Teller, S.J.: Computing the antipenumbra of an area light source. In: Proceedings of the 19th Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH ’92, pp. 139–148. ACM, New York (1992)

    Chapter  Google Scholar 

  19. Teller, S.J., Séquin, C.H.: Visibility preprocessing for interactive walkthroughs. In: Proceedings of the 18th Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH ’91, pp. 61–70. ACM, New York (1991)

    Chapter  Google Scholar 

  20. Wald, I., Slusallek, P., Benthin, C., Wagner, M.: Interactive rendering with coherent ray tracing. Comput. Graph. Forum 20(3), 153–164 (2001)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lilian Aveneau .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag London Limited

About this chapter

Cite this chapter

Aveneau, L., Charneau, S., Fuchs, L., Mora, F. (2011). A Framework for n-Dimensional Visibility Computations. In: Dorst, L., Lasenby, J. (eds) Guide to Geometric Algebra in Practice. Springer, London. https://doi.org/10.1007/978-0-85729-811-9_14

Download citation

  • DOI: https://doi.org/10.1007/978-0-85729-811-9_14

  • Publisher Name: Springer, London

  • Print ISBN: 978-0-85729-810-2

  • Online ISBN: 978-0-85729-811-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics