摘要: 分析地球大气层的实际参数及大气密度随海拔高度变化的关系,设计光线投射算法,在图形处理器中实现空气粒子的精确大气散射运算,通过建立3D查找表对计算过程进行加速,实现地球大气层的高效仿真和大气内部高密度三维体积云的实时渲染。实验结果表明,该方法真实感较强,渲染效率较高。
关键词:
大气层仿真,
体积云,
图形处理器,
光线投射,
3D查找表,
大气散射
Abstract: This paper analyzes the actual parameters of the earth atmosphere and the changes in atmospheric density with the elevations. The ray-casting algorithm of programmable Graphics Processing Unit(GPU) hardware acceleration is designed, which can be used to implement the exact atmospheric scattering calculation for air particles in GPU. The efficient simulation of the earth atmosphere, the real-time rendering of inner-atmosphere high-density 3D volumetric clouds, macro and micro effects of atmospheric simulation, all of them are achieved by building the 3D lookup table to accelerate the calculation process. Experimental results manifest that this method has strong sense of reality and high rendering efficiency.
Key words:
atmosphere simulation,
volumetric clouds,
Graphics Processing Unit(GPU),
ray-casting,
3D lookup table,
atmosphere scattering
中图分类号:
冯玉康, 周圣川, 马纯永, 韩勇, 陈戈. 基于GPU的地球大气层和三维体积云仿真[J]. 计算机工程, 2012, 38(19): 218-221,225.
FENG Yu-Kang, ZHOU Ku-Chuan, MA Chun-Yong, HAN Yong, CHEN Ge. Simulation of Earth Atmosphere and 3D Volumetric Clouds Based on Graphics Processing Unit[J]. Computer Engineering, 2012, 38(19): 218-221,225.