检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]浙江大学CAD&CG国家重点实验室,杭州310058
出 处:《计算机辅助设计与图形学学报》2013年第7期963-973,共11页Journal of Computer-Aided Design & Computer Graphics
基 金:国家自然科学基金(60933007;61173128;61170138);国家"九七三"重点基础研究发展计划项目(2009CB320800);教育部新世纪优秀人才支持计划(NCET-10-0728)
摘 要:目前,基于GPU或多核CPU加速的光线跟踪算法是与硬件相关的.研究具有跨平台性能的实时光线跟踪算法既具有挑战性,又具有很强的应用价值.为此,提出一种基于OpenCL并且跨平台的动态场景实时光线跟踪绘制算法.首先通过对通用GPU并行处理性能进行发掘,将光线跟踪中KD-Tree建立、场景遍历和绘制3个过程均设计在GPU上,而CPU只负责其中各过程的调度,从而充分利用了GPU的计算性能,并有效地降低了数据传输开销;通过设计并行分区、并行SAH、紧密的数据管理以及区间性叶结点存储等算法,在GPU中高效、高质量地建立动态场景的KD-Tree,同时高质量的KD-Tree也有效地加速了场景的遍历速度.该算法以广度优先和大规模并行模式建立KD-Tree,更具通用性,既可以运行于NVIDIA GPU(CUDA GPU),也可以运行于AMD GPU.实验结果表明,文中算法可以在NVIDIA GPU和AMD GPU上对中等规模的动态场景实现实时光线跟踪绘制.Due to acceleration algorithms of ray-tracing only designed for specified GPU or multi-core CPU, it is challenge to design a cross platform ray-tracing algorithm for real-time applications. This paper presents a cross-platform algorithm of ray-tracing dynamic scenes based on OpenCL. By exploiting parallel processing ability of general purpose GPU, three components of ray-tracing, i. e. , KD-Tree construction, scene traversal and shading, are performed on GPU, which are scheduled by CPU. Thus GPU computing ability is exploited thoroughly and data transmission overhead is reduced efficiently. By designing algorithms of parallel partitions and SAH, proposing strategies of compact data management and offset mark based leaf node storage, a high quality KD-Tree for dynamic scene is constructed on GPU in real-time, which will effectively facilitates scene traversal. The tree construction algorithm is breadth-first and suitable for large scale parallel implementation on both NVIDIA GPU and AMD GPU. Experimental results show that the proposed algorithm is capable of ray-tracing a middle scale dynamic scene in real-time on both NVIDIA GPU and AMD GPU.
关 键 词:KD—Tree 表面积启发式 GPU并行计算 OPENCL 光线跟踪 动态场景
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.175