计算机工程与设计
計算機工程與設計
계산궤공정여설계
COMPUTER ENGINEERING AND DESIGN
2014年
12期
4273-4277
,共5页
黎柏春%杨建宇%于天彪%王宛山
黎柏春%楊建宇%于天彪%王宛山
려백춘%양건우%우천표%왕완산
通用图形处理器%深度剥离%表面提取%OpenGL%OpenGL着色语言
通用圖形處理器%深度剝離%錶麵提取%OpenGL%OpenGL著色語言
통용도형처리기%심도박리%표면제취%OpenGL%OpenGL착색어언
general-purpose computing on graphics processing units%depth peeling%extraction of surface%OpenGL%OpenGL shading language
为实时提取三维实体表面,提出一种基于GPGPU并行计算的实体表面实时提取方法。在分析深度剥离算法原理和GPU图形绘制管线的基础上,给出在GPU上利用深度剥离算法实现实时提取三维实体表面的算法;通过OpenGL的高级着色语言GLSL控制GPU的图形绘制管线实现了该算法,给出其伪代码。以龙、叶轮和刀具扫描体的模型为应用实例验证了该算法效果良好,特别是对于刀具扫描体表面的提取,可满足实时性要求。
為實時提取三維實體錶麵,提齣一種基于GPGPU併行計算的實體錶麵實時提取方法。在分析深度剝離算法原理和GPU圖形繪製管線的基礎上,給齣在GPU上利用深度剝離算法實現實時提取三維實體錶麵的算法;通過OpenGL的高級著色語言GLSL控製GPU的圖形繪製管線實現瞭該算法,給齣其偽代碼。以龍、葉輪和刀具掃描體的模型為應用實例驗證瞭該算法效果良好,特彆是對于刀具掃描體錶麵的提取,可滿足實時性要求。
위실시제취삼유실체표면,제출일충기우GPGPU병행계산적실체표면실시제취방법。재분석심도박리산법원리화GPU도형회제관선적기출상,급출재GPU상이용심도박리산법실현실시제취삼유실체표면적산법;통과OpenGL적고급착색어언GLSL공제GPU적도형회제관선실현료해산법,급출기위대마。이룡、협륜화도구소묘체적모형위응용실례험증료해산법효과량호,특별시대우도구소묘체표면적제취,가만족실시성요구。
To extract the entity surface in real time ,a method of extracting the entity surface in real time based on GPGPU parallel computing was presented . The principle of the depth peeling algorithm and the graphics rendering pipeline of GPU were analyzed ,then the algorithm of extracting 3D entity surface in real time using depth peeling algorithm on a GPGPU was given . The algorithm was realized through controlling the graphics rendering pipeline of GPU with OpenGL high level shading language GLSL ,and the pseudo‐code was given .Finally the application examples of dragon model ,impeller model and tool swept‐volume were shown to verify the proposed method .The results show that the effects of the method are good ,especially the extraction of tool swept‐volume surface ,which meets the requirement of real time .