计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (19): 63-66.

• 理论研究 • 上一篇    下一篇

基于打包索引纹理的大规模数据体绘制算法

苏超轼,赵明昌,张向文   

  1. 桂林电子科技大学 计算机与控制学院,广西 桂林 541004
  • 收稿日期:2007-09-28 修回日期:2007-12-06 出版日期:2008-07-01 发布日期:2008-07-01
  • 通讯作者: 苏超轼

Large scale volume rendering algorithm based on packed-index texture

SU Chao-shi,ZHAO Ming-chang,ZHANG Xiang-wen   

  1. School of Computer Science and Control,Guilin University of Electronic Technology,Guilin,Guangxi 541004,China
  • Received:2007-09-28 Revised:2007-12-06 Online:2008-07-01 Published:2008-07-01
  • Contact: SU Chao-shi

摘要: 针对大规模数据体绘制效率低下的问题,提出一种算法:对体数据进行纹理分块打包,移除空数据块,并创建数据块的索引数据,绘制时通过索引访问打包后的纹理实现大规模数据完全载入显存,同时在索引中标记空数据及高密度数据块的位置,绘制前生成其有效的立方体数据表达,结合早期光线终止与空域跳过等加速技术,有效地实现了大规模的体数据的实时绘制,同时保证了结果图像的质量。

关键词: 体绘制, 科学可视化, 纹理压缩

Abstract: An efficient algorithm is proposed to overcome problems existing in rendering large scale volume data.The original data is packed into small bricks and empty bricks are removed to save texture space.The index texture is also created for efficient packed texture access during rendering.The packed-index data structure allows us uploading lager scale volume data in GPU RAM entirely.The locations of empty bricks and high density bricks are marked in index texture and valid cube representation is generated before rendering for combining acceleration algorithm such as early ray termination and empty-space skipping.The algorithm can render large scale volume data efficiently and get the good quality of the resulting image.

Key words: volume rendering, scientific visualization, texture compression