高级检索

卡通风格雨的实时模拟

Real-Time Rain Simulation in Cartoon Style

  • 摘要: 提出一种硬件加速的算法模拟三维场景中的卡通风格雨,利用图形处理器的并行性和可编程性实现了实时交互.该算法采用碰撞检测、定制纹理及旋转pointsprite的方法模拟雨点的泼溅效果;基于牛顿动力学自由地控制雨点粒子的运动,以模拟风力作用的效果,还可以使用不同纹理或改变pointsprite大小,动态地控制雨点的大小.实验结果表明:该算法可有效地解决复杂地理环境中卡通风格雨的实时模拟问题.

     

    Abstract: To simulate cartoon style rain in 3D scenes,we propose a hardware-accelerated algorithm.By taking advantage of the parallelism and programmability of GPUs (graphic processing units),rea-l time interaction is achieved.The algorithm simulates splashing of raindrop using collision detection,stylized textures and rotations of point sprites.To simulate wind-driven raining effect,the algorithm freely controls the motion of particles based on Newtonian dynamics.The algorithm can also control the size of raindrops dynamically by using different textures or changing the size of point sprites.Experimental results show that the algorithm is efficient in solving the problem of rea-l time rain simulation in cartoon style for 3D scenes with complex geometries.

     

/

返回文章
返回