摘要 |
The disclosure provides an approach for generating virtual terrains. A terrain editing application is configured to receive assets of various types, including a blank canvas, two-dimensional (2D) sketches, real-world elevation maps, authored heightfields, etc. The assets specify characteristics of a terrain, and provide starting points for creating the virtual terrain. The editing application further provides a set of tools allowing a user to modify the virtual terrain. In one embodiment, the set of tools may include a copy-and-paste tool, a peak creation tool, a ridge creation tool, a ridge tracing tool, and a resynthesis tool. The editing application generates a new layer for each edit, as well as 2D and three-dimensional (3D) previews of the edited terrain. The editing application also provides a user-adjustable frequency decomposition of each layer. The editing application combines layers using Laplacian blending to produce the final virtual terrain. |