对虚拟雨景中路面湿润效果的模拟可大大增强场景的真实感.通过分析路面湿润效果的形成机制,提出了基于双层反射的路面湿润模型,根据子面反射理论和Torrance-Sparrow光照模型计算湿润时路面上的倒影和灯影,并采用路径跟踪技术对湿润效果进行绘制.利用GPU加速技术可实时绘制出不同情况下的路面湿润效果,效果逼真.
The simulation of the wet road will greatly enhance the reality of a raining scene. By analyzing the physical mechanism of wet effect, we propose a double-reflection model of the wet road. Based on the subsurface scattering theory and the Torrance-Sparrow lighting model, the realistic reflections of the surrounding scene on the wet road are simulated. The reflection and refraction rays are traced with a novel path tracing algorithm. By incorporating the GPU technique, various conditions of wet road can be rendered in real time, and the results are quite realistic.