首页 | 本学科首页   官方微博 | 高级检索  
     

基于L-系统的分形植物模拟研究
引用本文:李娜,;方恩浩,;滕飞,;俞敏健,;胡海龙.基于L-系统的分形植物模拟研究[J].计算机技术与发展,2014(8):199-201.
作者姓名:李娜  ;方恩浩  ;滕飞  ;俞敏健  ;胡海龙
作者单位:[1]浙江农林大学集贤学院,浙江临安311300; [2]浙江农林大学理学院,浙江临安311300
基金项目:浙江省教育科研项目(Y201329332);浙江农林大学大学生创新项目(201213020);浙江农林大学教改项目(ZCl222)
摘    要:鉴于动态植物模拟生动逼真的要求,致力于为植物动态模拟领域提供更加广阔的图形选择空间,文中以分形理论为基础,首先介绍了L-系统文法的基本原理,详细阐述了L-系统文法对植物的生成规则,并在VC++6.0环境下用字符串替换算法对植物进行模拟,给出了具体的分形图形模拟步骤,进而对生成流程做出分析。通过连续改变字符串内部参数,模拟植物在风中摇曳的姿态,从而产生逼真的动态效果,避免出现建模方法下生成的植物呆板、不自然的现象。实验结果表明,通过连续改变生成角度以实现植物的动态模拟效果,实现了比较好的动态视觉效果,从而逼真模拟自然界中的动态植物,满足了实验要求。

关 键 词:分形  L-系统  植物模拟  生成角度

Research on Fractal Plant Simulation Based on L-system
Affiliation:LI Na, FANG En-hao, TENG Fei, YU Min-jian, HU Hai-long ( 1. Jixian Honors College, Zhejiang A & F University, Lin' an 311300, China; 2. School of Science, Zhejiang A & F University, Lin' an 311300, China)
Abstract:In view of the vivid requirements of dynamic plants simulation,in order to provide a broader choice space of graphics in the field of virtual plants,based on the fractal theory of plants in this paper,the L-system grammar is briefly introduced firstly,elaborating on generation rules using L-system grammar for the model of common plant,and then simulating the plant using string replacement algorithm in VC++ 6. 0 environment, giving the specific simulation steps of fractal graphics, and making an analysis on the generation process. Through continuously changing the internal parameters of the string,simulated the posture of plant swaying in the wind,so generating animation effect which is a strong senses of realism,avoid rigid and unnatural simulation of natural scenery. Experimental result shows that through changing the generating angle continuously to achieve realistic simulation of dynamic plants,thus vivacious simulation of the dynamic plant comes true,and satisfy the test requirements eventually.
Keywords:fractal  L-system  plant simulation  generating angle
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号