提出一种完全基于GPU的更准确的折射绘制算法.该算法不需要任何预计算,可直接绘制基于网格表示的复杂物体,能交互式地绘制动态可变形物体的多次折射和全反射现象;通过在正投影空间上进行光线与物体的求交运算来跟踪光线穿过物体的准确路径(包括折射及全反射路径),可以生成真实感很强的折射及全反射图像.最后通过在光线传播路径上使用体绘制中的散射和吸收模型来模拟半透明物体的真实感绘制.
A more accurate refraction rendering algorithm, which runs entirely on GPU, is presented in this paper. The algorithm can directly render complex objects represented by polygonal meshes without any pre-calculating, and allows the objects to be deformed dynamically through the interaction of users. The rendering method allows refraction or totally internal reflection (TIR) through two or more interfaces. Our method traces the accurate paths of both refraction and TIR rays going through the transparent object, and computes the ray-surface intersection in orthogonal projection space on GPU to produce realistic image including both refraction and TIR. We also simulated the object' s translucency by adopting the scattering and absorbing model in volume rendering method during the ray passing through the object.