首页 | 本学科首页   官方微博 | 高级检索  
     

使用GPU编程的光线投射体绘制算法
引用本文:储璟骏,杨新,高艳.使用GPU编程的光线投射体绘制算法[J].计算机辅助设计与图形学学报,2007,19(2):257-262.
作者姓名:储璟骏  杨新  高艳
作者单位:上海交通大学图像处理与模式识别研究所,上海,200240
基金项目:国家自然科学基金 , 国家重点基础研究发展计划(973计划)
摘    要:将传统的光线投射体绘制算法在具有可编程管线的图形处理器(GPU)上重新实现.首先将体数据作为三维纹理保存在显存中,然后通过编写顶点程序和片段程序将光线进入点/离开点计算和光线遍历的计算移入GPU中执行,最后根据不同的采样点颜色混合公式实现不同的绘制效果.文中算法仅需绘制一个四边形即可完成三维重建.实验结果表明:在进行光照效果的重建时,该算法能够达到实时交互的绘制要求,并能实现半透明等复杂绘制效果.

关 键 词:光线投射  图形处理器  体绘制  三维纹理  三维重建  使用  编程  光线投射  体绘制算法  Programming  Algorithm  半透明  实时交互  三维重建  光照效果  结果  实验  可完成  四边形  公式  颜色混合  采样点  遍历  计算  顶点程序
收稿时间:2006-06-09
修稿时间:2006-06-092006-10-16

Ray-Casting-Based Volume Rendering Algorithm Using GPU Programming
Chu Jingjun,Yang Xin,Gao Yan.Ray-Casting-Based Volume Rendering Algorithm Using GPU Programming[J].Journal of Computer-Aided Design & Computer Graphics,2007,19(2):257-262.
Authors:Chu Jingjun  Yang Xin  Gao Yan
Affiliation:institute of lmage Processing and Pattern Recognition, Shanghai Jiaotong University, Shanghai 200240
Abstract:In this work, we implement the traditional ray-casting-based volume rendering algorithm on the programmable graphics processing unit (GPU). By the algorithm, at first the volume data is transferred into the video RAM as 3D texture, then the ray's entry point, leave point and the ray traversal in the GPU are calculated by the vertex program and the fragment program. Finally, different rendering effects are achieved according to various blending functions of the sampling points. Our implementation only needs to render one quadrangle for 3D reconstruction. The experiment shows that when reconstructing with shading effect, the GPU-based ray-casting algorithm can meet the requirements of real-time interactive rendering, and it can also realize some complex effects such as translucency.
Keywords:ray-casting  GPU  direct volume rendering  3D texture  3D reconstruction
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号