On Interactive Digital Terrain Editing for Landscape Planning & Design and Its Implementation
LI Jieguang,TANG Liyu,CHEN Chongcheng,ZOU Jie,LIN Ding
DOI: https://doi.org/10.3724/sp.j.1047.2012.00179
2012-01-01
Abstract:Digital terrain editing is one of important research contents in virtual geographical environment and 3D landscape simulation system,which has significant value in digital design practices of city and country,road network,landscape planning,etc.In this article we took the digital terrain based on regular grid as research objectives,oriented to practical application of the city and landscape planning design,and proposed an interactive digital terrain editing scheme.OpenSceneGraph uses the directed acyclic graph for managing the scene graph,level of detail(LOD) and pagination technique for real-time rendering.Specific processes and related major implementation technology of the terrain interactive editing based on pagination technology was described.Firstly,the target region was selected through the mouse interactive operation combined with ray intersection algorithms.Secondly,the grid data under the region was gotten in the basis of polygon angle sum algorithm.Lastly,the grid elevation of region was assigned a new elevation value by dragging of mouse in the vertical direction.Under the edited region,by the grid method that is used to calculate earthwork volume,it is calculated that the volume of the fills and the excavations.In addition,the trees models were loaded by modeling software of ParaTree,which is researched and developed by our group,and the three-dimensional architectural models were built by the 3DMAX.All the models were loaded into the virtual forest visualization system(VisForest).The virtual town/village landscape in the flattened region was constructed according to user's design idea.The editing function was preliminarily realized,which showed the results of application in urban residential landscape design.This study showed that the digital terrain editing based on regular grid and pagination technology has advantages of simple algorithm,small amount of calculation and easy to realize.What is more,mouse interactive operation can show the editing result in a real-time and intuitional way,and achieve the effect of you see is what you get.