计算机应用 ›› 2011, Vol. 31 ›› Issue (05): 1252-1254.DOI: 10.3724/SP.J.1087.2011.01252

• 图形图像技术 • 上一篇    下一篇

基于图形图像合成技术的植物建模与风中模拟

曹阳   

  1. 辽东学院 信息技术学院, 辽宁 丹东118003
  • 收稿日期:2010-09-25 修回日期:2010-11-29 发布日期:2011-05-01 出版日期:2011-05-01
  • 通讯作者: 曹阳
  • 作者简介:曹阳(1973-),女,辽宁丹东人,副教授,博士研究生,主要研究方向:计算机图形图像、系统建模。
  • 基金资助:

    辽东学院科研基金资助项目(2007-Y05)。

Graph and image-based plant modeling and simulation of swaying in wind

CAO Yang   

  1. College of Information Technology, Liaodong University, Dandong Liaoning 118003, China
  • Received:2010-09-25 Revised:2010-11-29 Online:2011-05-01 Published:2011-05-01
  • Contact: Yang Cao

摘要: 在建模过程中根据植物枝干和叶片的不同特征,采用分形图形学的方法绘制植物的枝干,并通过控制函数调整每个分枝的生长方向、长度和粗细程度等参数,可以生成不同种类、形态各异的植物分支结构,改变了原有分形方法生成结果过于规则的特点;采用图像方法绘制叶片,利用Alpha测试技术去掉图片中叶子的背景,保留复杂的边缘信息和颜色信息,通过旋转缩放等方法,可以生成各种逼真的植物叶片,并且方法简单,计算速度较快。另外,从形态学角度出发,根据枝条在风力影响下的不同形变,近似地模拟出植物在风中摇曳的过程。

关键词: 植物建模, 分形, Alpha测试, 形态学, 风中模拟

Abstract: According to the different features between plant trunks and leaves, fractal method was adopted to draw the branches during simulation process. Through controlling functions to adjust parameters, such as branching growth direction, length, and radius, all kinds of branch structures were created to change the original fractal method in generating results of too regular characteristics. Image method was adopted to draw blades and Alpha test technology was utilized to filter the background of the leaf picture and retain the complex edge and color information. Through the rotating and scaling method, various lifelike leaves were generated. This image-based method was simpler and faster than the graph method. Besides, the process of plant flickering in the wind was approximately simulated according to the branches of different deformation under the influence of wind from morphology point of view.

Key words: plant modeling, fractal, Alpha test, morphology, simulating in wind