Computer Engineering and Applications ›› 2014, Vol. 50 ›› Issue (5): 243-246.

Previous Articles     Next Articles

Rendering plane’s virtual repair scenes with object-oriented octree

GENG Hong, ZHU Yongjing   

  1. College of Aeronautical Automation, Civil Aviation University of China, Tianjin 300300, China
  • Online:2014-03-01 Published:2015-05-12

基于面向对象八叉树的飞机虚拟维修场景渲染

耿  宏,朱泳静   

  1. 中国民航大学 航空自动化学院,天津 300300

Abstract: In order to accelerate the rendering of large-scale virtual scenes, a rendering method based on object-oriented octree is used. The method combines the object-oriented technology with the traditional octree technology, an object-oriented octree is used to subdivide the virtual scene, so as to manage it. The minimum parts of the object structure tree are regarded as minimum storage unit, the method uses leaves node to save object information, reduces storage volume and processing time of the object-oriented otree, the calculation burden of algorithm is greatly reduced. On the basis of the object-oriented otree, the model culling algorithm is used to cull the models which belong to the vision, the algorithm decreases the number of objects which are rendered, and improves the rendering rate. Through rendering experiment of the virtual aircraft maintenance scene, this approach is proved to be very effective.

Key words: scene rendering, octree, model culling, object-oriented, virtual maintenance

摘要: 为了加速大规模虚拟场景的渲染速度,采用基于面向对象八叉树的方法对场景进行渲染。该方法将面向对象技术与传统八叉树技术相结合,采用面向对象八叉树剖分虚拟场景,对场景进行管理;将物体结构树的最小零部件作为最小存储单元,采用叶节点保存对象信息,减小树的存储量和处理时间,降低算法的计算负担;在面向对象八叉树的基础上,采用模型遮挡裁剪算法对位于视域范围内的模型进行遮挡裁剪,减小实际渲染的物体数量,提高渲染速率。通过对飞机虚拟维修场景进行渲染实验,证明了该方法的有效性。

关键词: 场景渲染, 八叉树, 模型遮挡裁剪, 面向对象, 虚拟维修