下载此文档

基于多核平台优化的OGRE_3D渲染引擎.pdf


文档分类:IT计算机 | 页数:约62页 举报非法文档有奖
1/62
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/62 下载此文档
文档列表 文档介绍
浙江大学硕士学位论文基于多核平台优化的OGRE 3D渲染引擎姓名:陈学亮申请学位级别:硕士专业:计算机应用技术指导教师:陈天洲;施青松 20070501 浙江大学硕士学位论文摘要摘要随着计算机体系结构的发展,多核平台得到了越来越广泛的应用。多核平台与并行计算理论相结合,以多线程并行的方式使应用程序性能大为提高。然而在图形领域,多核平台的应用尚未展开。因此,本文对该领域中广为使用的OGRE 3D图形渲染引擎进行多线程并行优化,并在多核平台上进行验证, 从而得到一个性能提高的引擎,并证明多核平台和并行计算理论的优越性。本文首先分析了OGRE系统,从并行性角度整理了其整体框架,从中提炼出 3D渲染系统模块进行详细分析,继而总结出OGRE 3D渲染系统并行化的三个方向:多帧渲染并行化、循环迭代并行化、函数调用并行化。本文还设计了OpenMP并行化时的数据保护控制、线程数量设置、线程调度策略,使用OpenMP中的private、barrier、critical等子句对数掘进行保护、同步, 避免多个线程访问时冲突,同时设置合适的线程数量以及采用最佳调度策略,使性能提升最大化。本文使用Win32线程库对多帧渲染实现了并行化,使用OpenMP对循环迭代和函数调用实现了并行化,使用OGRE标准测试程序对优化后的引擎性能进行测试,并且和优化前的引擎性能进行对比。实验表明并行化后性能提升比例从 %%,平:%。综上所述,本文在多核平台下结合并行计算理论,成功地对OGRE 3D渲染引擎进行了多线程并行优化,有效地提升了引擎的性能,验证了多核平台和并行计算理论的优越性,达到了研究目的。关键词多核,优化,0GRE渲染系统,0penMP,多线程,并行计算理论浙江大学硕士学位论文 Abstract Abstract puter architecturedevelopment,the multi-eoreplatform hasbeen widely bined with puting theory,multi-core platform greatly improves theapplication’Sperformance by themulti-thread parallelization. However,multi-eore platform has notbeen expanded tothegraphic this paper threads theOGRE 3D renderengine which iswidely used inthegraphic field, and verifiestheengine inthemulti— we get aoptimizedengine, weproof themulti-coreplatform and puting theory’Sadvantage. Thispaper firstanalyses theOGRE system’S overallframework from thepoint of view itabstractsand analyses the3D render system modules in detail,and summarize the3ways ofparallelizing theOGRE 3D render system,which are multi—framesrendering parallelization,loop iterations parailelization,call of functions parallelization. Inaddition,this paper designs themethods when using OpenMP toparallelize, which include dateprotection,threadsamount setting,threads order tO avoid theconflict between threads when essing the same datainthesame time, This paper USeS theOpenMP clauses toprotect andsynchronize thedata,such asthe private clause,barrier clause,criticalclause,and thispaper settheproper threadsamount

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

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数62
  • 收藏数0 收藏
  • 顶次数0
  • 上传人luyinyzhi
  • 文件大小0 KB
  • 时间2016-04-11