中国科学院机构知识库网格
Chinese Academy of Sciences Institutional Repositories Grid
基于CUDA渲染器的顺序独立透明现象的单遍高效绘制

文献类型:期刊论文

作者黄梦成 ; 刘芳 ; 刘学慧 ; 吴恩华
刊名软件学报
出版日期2011
卷号22期号:8页码:1927-1933
关键词图形处理器 计算统一设备架构 顺序独立的透明现象 深度剥离 原子操作Algorithms Blending Computational geometry Computer graphics Computer graphics equipment Pixels Program processors
ISSN号10009825
中文摘要提出一种顺序独立透明现象的单遍高效绘制算法.首先设计了一个基于计算统一设备架构(compute unified device architecture,简称CUDA)的可编程渲染器.该系统采用扫描线算法光栅化场景,为每个像素生成多个对应的片元,同时,在GPU(graphics processing unit)的全局内存上为每个像素分配一个数组,以存储其相应的片元.基于这个框架,提出了两种并发的片元收集及排序策略,以单遍高效地绘制顺序独立的透明现象.第1种策略利用CUDA的原子操作符atomicMin收集各个像素上对应的所有片元并按深度动态排序,在后处理中片元即可按序逐一融合;第2种策略采用CUDA的原子操作符atomicInc按光栅化顺序收集所有片元,然后在后处理中按深度排序后再逐一融合.实验结果表明,与基于传统图形管线的经典深度剥离方法相比,该方法可以更高效地绘制顺序独立的透明现象,同时生成正确的绘制效果.
英文摘要This paper presents a highly efficient algorithm for efficient order-independent transparency via compute unified device architecture (CUDA) in a single geometry pass. The study designs a CUDA renderer system to rasterize the scene by the scan-line algorithm, generating multiple fragments for each pixel. Meanwhile, a fixed size array is allocated per pixel in a GPU (graphics processing unit) global memory for storage. Next, this paper describes two schemes to capture and sorts the fragments per pixel via the atomic operations in CUDA. The first scheme stores the depth values of the fragments into an array of the corresponding pixel and sorts them on the fly using the atomicMin operation in CUDA. A following CUDA kernel will blend the fragments per pixel in depth order. The second scheme captures the fragments in rasterization order using the atomicInc operation in CUDA. During post-processing, the fragments per pixel array will be sorted in depth order before blending. Experimental result shows that this algorithm shows a significant improvement in classical depth peeling, producing faithful results. © 2011 ISCAS.
语种中文
公开日期2011-10-10
源URL[http://124.16.136.157/handle/311060/13933]  
专题软件研究所_计算机科学国家重点实验室 _期刊论文
推荐引用方式
GB/T 7714
黄梦成,刘芳,刘学慧,等. 基于CUDA渲染器的顺序独立透明现象的单遍高效绘制[J]. 软件学报,2011,22(8):1927-1933.
APA 黄梦成,刘芳,刘学慧,&吴恩华.(2011).基于CUDA渲染器的顺序独立透明现象的单遍高效绘制.软件学报,22(8),1927-1933.
MLA 黄梦成,et al."基于CUDA渲染器的顺序独立透明现象的单遍高效绘制".软件学报 22.8(2011):1927-1933.

入库方式: OAI收割

来源:软件研究所

浏览0
下载0
收藏0
其他版本

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。