计算机工程 ›› 2009, Vol. 35 ›› Issue (12): 192-193.doi: 10.3969/j.issn.1000-3428.2009.12.068

• 图形图像处理 • 上一篇    下一篇

基于L-系统和Perlin噪声函数的风吹树动模拟

王春华1,2,杨克俭1   

  1. (1. 武汉理工大学计算机科学与技术学院,武汉 430063;2. 黄淮学院计算机科学技术系,驻马店 463000)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-06-20 发布日期:2009-06-20

Simulation of Trees’ Swinging Driven by Wind Based on L-system and Perlin Noise Function

WANG Chun-hua1,2, YANG Ke-jian1   

  1. (1. School of Computer Science and Technology, Wuhan University of Technology, Wuhan 430063;2. Department of Computer Science Technology, Huanghuai University, Zhumadian 463000)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-06-20 Published:2009-06-20

摘要: 分析风中树木运动与其受力关系,提出采用在自然现象中观察到的Perlin噪声来模拟风场变化,利用L系统实现对三维树木的建模,应用材料力学知识分析树枝的运动细节,并得出影响树枝运动幅度大小的公式,编程实现结果表明,该方法模拟的树木运动逼真,可应用于游戏娱乐业和教育业中定型的树木运动模拟。

关键词: Perlin噪声, L-系统, 风, 树, 模拟

Abstract: Many studies have been made on techniques in which the shapes of trees are modeled but only a few studies have been reported on methods to incorporate the shapes with motions in a wind field. After investigating the principle of trees’ swing in wind, this paper proposes an approach combining a stochastic method and a simulation method. After modeling the 3D trees with L-system, it analyzes the detailed process of trees’ swing with the present method. Experiment result shows that the method is vivid and can be applied in virtual reality to simulate trees’ swing in wind.

Key words: Perlin noise, L-system, wind, trees, simulation

中图分类号: