摘要
随机分形法和曲面造型法分别在地形生成的随机性和可控性方面能起到一定的作用。为达到生成预定形状山脉地形的目的 ,提出了一种基于融合曲面生成具有预定形状山脉地形数据模型的方法。该方法以曲面造型法生成的高斯函数曲面作为控制源曲面 ,利用随机中点位移法对其进行迭代运算生成山脉地形数据模型 ,可使得所生成的山脉地形既具有预定形状 ,又满足真实感和随机性的要求。用高斯函数生成控制源曲面的方法 ,实现了只需通过几个直观的参数 ,就可以方便地进行山包源曲面形状控制的目的。对于用随机中点位移法或融合曲面法 ,生成的曲面总存在局部尖峰的问题 ,给出了一种局部平滑方法 ,能有效地平滑曲面的局部尖峰 。
There exist already methods for combining random mid-point displacement method with curved-surface modeling to generate mountain terrain. Our aim is to improve them in such a way that a mountain terrain of predetermined shape that looks realistic (without unrealistic sharp peaks) can be generated. We first take a 2D Gauss function surface produced by curved-surface modeling as an original controlled cover of mountain, then we make use of the random mid-point displacement algorithm to get a mountain terrain model. Because the picture of 2D Gauss function resembles hill, it can be simply and conveniently used to control the shape and position of the hill by inputting several intuitive parameters. Finally, we offer a local smoothing method, which can effectively smooth the local peaks of mountain terrain surface. As a result, the mountain terrain surface looks much more vivid than previously.
出处
《西北工业大学学报》
EI
CAS
CSCD
北大核心
2004年第5期626-630,共5页
Journal of Northwestern Polytechnical University
基金
国家自然科学基金重点项目 (6 0 1340 10 )资助
关键词
地形生成
随机中点位移法
曲面造型法
控制源曲面
局部平滑
mountain terrain generation, random mid-point displacement method, curved surface modeling, original controlled cover of mountain, local smoothing method