作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (6): 245-246. doi: 10.3969/j.issn.1000-3428.2011.06.085

• 工程应用技术与实现 • 上一篇    下一篇

多核并行技术在三维场景加载中的应用

李 喆,郑晓薇   

  1. (辽宁师范大学计算机与信息技术学院,辽宁 大连 116081)
  • 出版日期:2011-03-20 发布日期:2011-03-29
  • 作者简介:李 喆(1984-),女,硕士研究生,主研方向:并行计算,多核计算机系统;郑晓薇,教授
  • 基金资助:
    国家自然科学基金资助项目(60603047)

Application of Multi-core Parallel Technology in 3D Scene Loading

LI Zhe, ZHENG Xiao-wei   

  1. (College of Computer and Information Technology, Liaoning Normal University, Dalian 116081, China)
  • Online:2011-03-20 Published:2011-03-29

摘要: 研究一种用于三维漫游场景的多核并行加载系统。在多核计算机上采用OGRE进行场景加载,利用OpenMP实现多线程创建与同步,动态设置并行程序的线程数量。通过对一个三维山地漫游场景加载不同数量植物的实例,测试出不同线程下并行加载Mesh的时间,获得较好的加速比。实验结果表明,采用OpenMP并行技术可有效改进三维漫游场景的加载速率,加快地形场景的显示,提高绘制效率。

关键词: 多核, 线程, 渲染引擎, 并行技术

Abstract: This paper presents a 3D multi-core parallel loading system using for rendering scene. Loading the scene with OGRE, multi-thread creation and synchronization using OpenMP and setting the number of threads dynamically is adopted in parallel programs in the multi-core computers. The instances of rendering through the mountains on a 3D scene loading different number of plants are constructed. The time of loading Mesh under different threads is tested from those instances to obtain an excellent speedup. Experimental results show that the OpenMP parallel technology can effectively improve loading rate of 3D scene rendering and speed up the display of the terrain scene, and it improves the efficiency of the rendering system.

Key words: multi-core, thread, rendering engine, parallel technology

中图分类号: