摘要
对现实中的树木结构进行研究,在L系统的基础上对字符集进行扩展,设计了更加丰富的树木L文法描述,提出了比较符合树木生长过程的几何幂衰减规律,并结合图形渲染引擎OSG(open scene graph)实现了三维树木的树干部分的绘制。通过给树木的树干部分添加纹理、绘制树叶并给树叶添加阴影,使得绘制的树木更加真实自然。将绘制的树木作为一个节点加载到虚拟场景中,增强了虚拟场景的真实感。
The structure of reality trees is studied and more rich trees L grammar description based on L system is designed by extending the character set,and a geometric exponential decay rule is proposed,which matches trees generative processing,and the drawing of some three-dimensional trunk parts are realized by combining graphics rendering engine OSG.In order to make the drawing trees more true and natural,we add texture to trunk parts,draw leaves and shadow leaves.In addition,the drawn trees are regarded as a node loads into the virtual scene,which enhances the realism of the virtual scene.
出处
《计算机工程与设计》
CSCD
北大核心
2012年第2期644-648,共5页
Computer Engineering and Design
基金
国家973重点基础研究发展计划基金项目(2002CB312103)
河南省自然科学基金项目(0611051900)