Abstract
It is helpful for people to understand the undulating topography with hill shading map. In this essay, we focus on how to shade the terrain blocks with XNA Game Studio3.1 by using the global DEM data from geographic information public service platform set as the data source. Including LOD structure, constructing a TriangleStrip terrain block model, applying HSV color model to color vertices, using XNA default lighting model and adjust relevant parameters to generate shading effect. Finally, a global height-color mapping table designed was offered, the represented effects of prototype system were also showed.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Wang, J., Sun, Q., Wang, G.: The principles and methods of cartography. 地图学原理与方法. Science Press, Beijing(2011)
Li, Z., Zhu, Q.: Digital elevation model. 数字高程模型. Wuhan University Press, Wuhan (2001)
Zhou, Q., Liu, X.: Digital terrain analysis. 数字地形分析. Science Press, Beijing (2006)
Li, Z., Wei, E., Wang, Z.: Space Geodesy. 空间大地测量学. Wuhan University Press, Wuhan (2010)
Grootjans, R.: XNA 3.0 Game Programming Recipes: A Problem-Solution Approach. Apress, Berkeley (2009)
Zuo, F., Wan, J., Liu, H.: Visual C++ digital image processing development and programming practice. Visual C++数字图像处理开发入门与编程实践. Publishing House of Electronics Industry, Beijing (2008)
Chang, K.-T.: Introduction to Geographic Information Systems. In: Chen, J., Zhang, X.(trans.) 地理信息系统导论. Science Press, Beijing(2010)
Hu, J., Li, L., Li, X.: Reseach on computer hillshading based on directX. Acta Geodaetica Cartographica Sinica 4, 20–22 (2004)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lu, H., Tang, Z., Liang, Q., Shao, W. (2014). Study on the Key Technique of the Hill Shading Virtual Roaming System Based on XNA. In: Tan, T., Ruan, Q., Wang, S., Ma, H., Huang, K. (eds) Advances in Image and Graphics Technologies. IGTA 2014. Communications in Computer and Information Science, vol 437. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-45498-5_26
Download citation
DOI: https://doi.org/10.1007/978-3-662-45498-5_26
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-45497-8
Online ISBN: 978-3-662-45498-5
eBook Packages: Computer ScienceComputer Science (R0)