Abstract
In this work, we explore a set of techniques for speeding up line-of-sight queries whilst attempting to maintain accuracy. Line-of-sight queries, which test if two entities can see each other over a 3D terrain model, are an important operation in several applications. Given enough entities and a large enough terrain, computing these queries can be expensive. We apply reverse subdivision methods to simplify the terrain model and speed up the queries, including a novel feature-aware reverse subdivision scheme. To counteract the loss of accuracy due to simplification, we also examine the problem of where entities should be placed after terrain simplification to increase accuracy. Using iterative methods that attempt to maximize accuracy, we show that room for improvement exists over the standard projection method. Then, using residual multiresolution vectors, we develop a relocation method designed to maximize accuracy over simplified terrain models. Finally, we present a fast line-of-sight algorithm that combines these techniques with pre-existing algorithms.
Similar content being viewed by others
Notes
In a realistic simulation, visibility can be impacted and rendered non-commutative by factors such as weather, eyesight impairments and limitations and the direction in which an entity is facing. For the purposes of this work, we ignore all factors other than the terrain that can impact visibility for either entity.
References
Alderson, T.F., Samavati, F.F.: Reverse subdivision for optimizing visibility tests. In: Proceedings of the International Conference on Computer Graphics Theory and Applications, GRAPP ’12, pp. 143–150 (2012)
Andrade, M.V.A., Magalhães, S.V.G., Magalhães, M.A., Franklin, W.R., Cutler, B.M.: Efficient viewshed computation on terrain in external memory. Geoinformatica 15(2), 381–397 (2011)
Bartels, R.H., Samavati, F.F.: Reversing subdivision rules: local linear conditions and observations on inner products. J. Comput. Appl. Math. 119(1–2), 29–67 (2000)
Ben-Moshe, B., Mitchell, J.S.B., Katz, M.J., Nir, Y.: Visibility preserving terrain simplification: an experimental study. In: Proceedings of the 18th Annual Symposium on Computational Geometry, SCG ’02. ACM, New York (2002)
Bresenham, J.E.: Algorithm for computer control of a digital plotter. IBM Syst. J. 4(1), 25–30 (1965)
Brosz, J., Samavati, F.F., Sousa, M.C.: Terrain synthesis by-example. Commun. Comput. Inf. Sci. Adv. Comput. Graph. Comput. Vis. 4, 58–77 (2008)
Chaikin, G.M.: An algorithm for high-speed curve generation. Comput. Graph. Image Process. 3(4), 346–349 (1974)
De Floriani, L., Magillo, P.: Algorithms for visibility computation on digital terrain models. In: Proceedings of the 1993 ACM/SIGAPP Symposium on Applied Computing: States of the Art and Practice, SAC ’93. ACM, New York (1993)
Douglas, D.H., Peucker, T.K.: Algorithms for the reduction of the number of points required to represent a digitized line or its caricature. Can. Cartograph. 10(2), 112–122 (1973)
Duvenhage, B.: Using an implicit min/max kd-tree for doing efficient terrain line of sight calculations. In: Proceedings of the 6th International Conference on Computer Graphics, Virtual Reality, Visualisation and Interaction in Africa, AFRIGRAPH ’09. ACM, New York (2009)
Dyn, N., Levin, D., Gregory, J.A.: A 4-point interpolatory subdivision scheme for curve design. Comput. Aided Geom. Des. 4(4), 257–268 (1987)
Franklin, W.R., Ray, C.K.: Higher isn’t necessarily better: visibility algorithms and experiments. In: Proceedings of the 6th International Symposium on Spatial Data Handling (1994)
Garland, M.: Quadric-based polygonal surface approximation. Ph.D. thesis, Carnegie Mellon University (1999)
Garland, M., Heckbert, P.S.: Fast polygonal approximation of terrains and height fields. Tech. Rep. CMU-CS-95-181, Carnegie Mellon University (1995)
Garland, M., Heckbert, P.S.: Surface simplification using quadric error metrics. In: Proceedings of SIGGRAPH 1997 (1997)
Guttman, A.: R-trees: a dynamic index structure for spatial searching. In: Proceedings of the ACM SIGMOD Conference on Data, Engineering, pp. 47–56 (1984)
Langetepe, E., Zachmann, G.: Geometric Data Structure for Computer Graphics, chap. 1. A K Peters, Ltd., Natick (2006)
Losasso, F., Hoppe, H.: Geometry clipmaps: terrain rendering using nested regular grids. In: ACM SIGGRAPH 2004 Papers, SIGGRAPH ’04. ACM, New York (2004)
Ramer, U.: An iterative procedure for the polygonal approximation of plane curves. Comput. Graph. Image Process. 1(3), 244–256 (1972)
Sadeghi, J., Samavati, F.F.: Smooth reverse subdivision. Comput. Graph. 33(3), 217–225 (2009)
Samavati, F.F., Bartels, R.H.: Multiresolution curve and surface representation: reversing subdivision rules by least-squares data fitting. Comput. Graph. Forum 18(2), 97–120 (1999)
Samavati, F.F., Bartels, R.H., Olsen, L.: Local b-spline multiresolution with examples in iris synthesis and volumetric rendering. In: Image Pattern Recognition: Synthesis and Analysis in Biometrics, Series in Machine Perception and Artificial Intelligence, vol. 67, pp. 65–102. World Scientific Publishing, Singapore (2007)
Seixas, R.d.B., Mediano, M.R., Gattass, M.: Efficient line-of-sight algorithms for real terrain data. In: Proceedings of the Simpósio de Pesquisa Operacional y Logística da Marinha, SPOLM ’99 (1999)
Silva, C.T., Mitchell, J.S.B.: Greedy cuts: an advancing front terrain triangulation algorithm. In: Proceedings of, GIS 1998 (1998)
Silva, C.T., Mitchell, J.S.B., Kaufman, A.E.: Automatic generation of triangular irregular networks using greedy cuts. In: Proceedings of the IEEE Conference on Visualization 1995, vol. 453, pp. 201–208 (1995)
Wecker, L., Samavati, F.F., Gavrilova, M.: Contextual void patching for digital elevation models. Vis. Comput. 23(9–11), 881–890 (2007)
Wecker, L., Samavati, F.F., Gavrilova, M.: A multiresolution approach to iris synthesis. Comput. Graph. 34(3), 468–478 (2010)
Acknowledgments
Our thanks go out to C4i Consultants, Inc. for motivating the problem, assisting in research, and providing SRTM terrain data. Our thanks go also to the Mitacs Accelerate program for sponsoring the collaboration. Terrain map images were generated with Global Mapper software. Conceptual figures were created using Inkscape.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Alderson, T., Samavati, F. Optimizing line-of-sight using simplified regular terrains. Vis Comput 31, 407–421 (2015). https://doi.org/10.1007/s00371-014-0936-3
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00371-014-0936-3