论文部分内容阅读
数字地形编辑是虚拟地理环境、三维景观仿真系统中一个重要的研究内容,在城市与乡村、区域道路网、风景园林的数字化规划设计实践中具有重要价值。本文以规则格网的数字地形为研究对象,面向城市和园林景观规划设计中的实际应用,提出了交互式数字地形编辑的解决方案,重点给出了分页技术的地形交互式编辑具体过程和相关的主要实现技术。数字地形编辑的实现,首先,通过鼠标交互式操作,结合射线求交算法,在地形表面选取目标编辑区域;然后,结合夹角之和检测算法,获取区域下地形数据,设定新的地形高程值,最后,将编辑操作传输至地形其他层,更新整个地形,并在地形编辑后,采用方格网计算法,统计出区域下地形填挖方量。此外,在经过平整的地形区域,植入树和三维建筑模型,构建虚拟城镇小区景观。本文初步实现了编辑操作功能的计算机软件,并展示了数字地形编辑在城镇小区景观设计中的应用结果。试验表明,基于规则格网和分页技术的数字地形编辑方法具有算法简单、计算量小、易实现等特点。此外,通过鼠标交互式的操作,能够实时、直观地显示编辑结果,达到“所见即所得”的效果。
Digital terrain editing is a virtual geographical environment. An important research content in 3D landscape simulation system is of great value in the digital planning and design practice of urban and rural areas, regional road networks and landscape architecture. This paper takes the digital terrain of the regular grid as the research object, proposes the solution of interactive digital terrain editing for the practical application in urban and landscape landscape planning and design, and gives the focus on the interactive process of terrain interactive editing The main realization of the technology. First of all, through the interactive operation of the mouse, combined with the ray intersection algorithm, the target editing area is selected on the terrain surface. Secondly, with the algorithm of sum angle detection, the terrain data in the area is obtained and a new terrain elevation is set Finally, the editing operation is transmitted to other layers of the terrain, the whole terrain is updated, and after the terrain editing, a square grid calculation method is used to calculate the terrain fill volume. In addition, in the flat terrain area, planting trees and 3D building model, the construction of virtual urban landscape. This paper has initially realized the computer software of editing operation function and demonstrated the application of digital terrain editing in the landscape design of urban district. Experiments show that the method of digital terrain editing based on regular grid and paging technology has the characteristics of simple algorithm, small amount of calculation and easy implementation. In addition, through the interactive operation of the mouse, the editing result can be displayed in real time and intuitively, achieving the effect of “WYSIWYG”.