计算机应用 ›› 2013, Vol. 33 ›› Issue (06): 1711-1714.DOI: 10.3724/SP.J.1087.2013.01711

• 多媒体技术 • 上一篇    下一篇

真实感动态树场景的研究与实现

崔翔,姜小峰   

  1. 苏州大学 计算机科学与技术学院,江苏 苏州 215006
  • 收稿日期:2012-12-13 修回日期:2013-01-29 出版日期:2013-06-01 发布日期:2013-06-05
  • 通讯作者: 崔翔
  • 作者简介:崔翔(1988-),男,江苏徐州人,硕士研究生,主要研究方向:计算机图形学、虚拟现实;姜小峰(1972-),男,江苏丹阳人,副教授,主要研究方向:计算机图形学、虚拟现实。

Research and implementation of realistic dynamic tree scene

CUI Xiang,JIANG Xiaofeng   

  1. School of Computer Science and Technology, Soochow University, Suzhou Jiangsu 215006, China
  • Received:2012-12-13 Revised:2013-01-29 Online:2013-06-05 Published:2013-06-01
  • Contact: CUI Xiang

摘要: 树木的动态显示在自然场景模拟中有着重要的地位。采用Cook-Torrance光照明模型和预计算的半透明贴图实现了叶片的绘制,使用梁模型导出的拟合多项式结合偏移修正实现枝干的快速形变计算,通过索引枝干层级数据贴图实现GPU中多级枝干的形变。预计算和GPU的使用使得模拟过程中真实感和实时性得以平衡。实验结果表明,该方法实现了快速真实的动态树场景渲染。

关键词: 树场景, 叶片渲染, 半透明, 物理动画, 图形处理器

Abstract: Dynamic tree rendering plays an important role in the natural scenery simulation. In this paper, by using Cook-Torrance lighting model and pre-computed translucency texture, rendering scattering and translucency of the leaf were implemented. Using the polynomial fitted from tapered circular beam model expression and length correct method, the speed of calculation deform was boosted. By introducing the hierarchical branches texture with index, branches deform could be calculated in Graphic Processing Unit (GPU). Using pre-compaction and GPU helps to balance the reality and real-time in the simulation. The experiments show that the proposed method can render the dynamic tree scene vividly and rapidly.

Key words: tree scene, leaf rendering, translucency, physical animation, Graphics Processing Unit (GPU)

中图分类号: