Liu H.,Capital Normal University |
Liu H.,State Laboratory of Urban Environmental Process and Digital Modeling |
Zhao W.,Capital Normal University |
Zhao W.,State Laboratory of Urban Environmental Process and Digital Modeling |
And 5 more authors.
Jilin Daxue Xuebao (Diqiu Kexue Ban)/Journal of Jilin University (Earth Science Edition)
Based on the virtual earthquake disaster scene, We put forward a real-time terrain modification algorithm with controllable details, and use this method to simulate the terrain deformation of disaster area. GPU completes most of the terrain modification computation using pixel shader. Pixel shader reads the raw data from height map and executes the modification, then outputs the results to a new map, which is transferred to main memory and replaces the old data. And then the terrain is rendered again to complete the terrain modification. The algorithm is optimized by using "Ping-Pang" algorithm and batch processing. Furthermore, Perlin noise is introduced into the modification algorithm to simulate the complicated morphology of terrain surface in disaster scene. The experimental results show that this method obtains a successful application in virtual earthquake scene, and can meet the real-time modification and interactive editing of terrain. Source