下载此文档

基于多核平台优化的ogre 3d渲染引擎.docx


文档分类:行业资料 | 页数:约61页 举报非法文档有奖
1/61
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/61 下载此文档
文档列表 文档介绍
浙江大学硕士学位论文摘要
摘要
随着计算机体系结构的发展,多核平台得到了越来越广泛的应用。多核平台与并行计算理论相结合,以多线程并行的方式使应用程序性能大为提高。
然而在图形领域,多核平台的应用尚未展开。因此,本文对该领域中广为使用的OGRE 3D图形渲染引擎进行多线程并行优化,并在多核平台上进行验证, 从而得到一个性能提高的引擎,并证明多核平台和并行计算理论的优越性。
本文首先分析了OGRE系统,从并行性角度整理了其整体框架,从中提炼出 3D渲染系统模块进行详细分析,继而总结出OGRE 3D渲染系统并行化的三个方向:多帧渲染并行化、循环迭代并行化、函数调用并行化。
本文还设计了OpenMP并行化时的数据保护控制、线程数量设置、线程调度策略,使用OpenMP中的private、barrier、critical等子句对数掘进行保护、同步, 避免多个线程访问时冲突,同时设置合适的线程数量以及采用最佳调度策略,使性能提升最大化。
本文使用Win32线程库对多帧渲染实现了并行化,使用OpenMP对循环迭代
和函数调用实现了并行化,使用OGRE标准测试程序对优化后的引擎性能进行测试,并且和优化前的引擎性能进行对比。实验表明并行化后性能提升比例从 %%,平:%。
综上所述,本文在多核平台下结合并行计算理论,成功地对OGRE 3D渲染引擎进行了多线程并行优化,有效地提升了引擎的性能,验证了多核平台和并行计算理论的优越性,达到了研究目的。
关键词多核,优化,0GRE渲染系统,0penMP,多线程,并行计算理论
浙江大学硕士学位论文 Abstract
Abstract
puter architecture development,the multi-eore platform has been widely bined with the puting theory,multi-core platform greatly improves the application’S performance by the multi-thread parallelization.
However,multi-eore platform has not been expanded to the graphic this
paper threads the OGRE 3D render engine which is widely used in the graphic field, and verifies the engine in the multi—core we get a optimized engine, we proof the multi-core platform and the puting theory’S advantage.
This paper first analyses the OGRE system’S overall framework from the point of
view of it abstracts and analyses the 3D render system modules in
detail,and summarize the 3 ways of parallelizing the OGRE 3D render system,which
are multi—frames rendering parallelization,loop iterations parailelization,call of functions parallelization.
In addition,this paper designs the methods when using OpenMP to parallelize, which include date protection,threads amount setting,threads order tO
avoid the conflict between threads when essing the same data in the same time,
This paper USeS the OpenMP clauses to protect and synchronize the data,such as the
private clause,barrier clause,critical clause,and SO this paper set the

基于多核平台优化的ogre 3d渲染引擎 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数61
  • 收藏数0 收藏
  • 顶次数0
  • 上传人wz_198613
  • 文件大小3.23 MB
  • 时间2018-06-25