计算机工程 ›› 2007, Vol. 33 ›› Issue (18): 236-238.doi: 10.3969/j.issn.1000-3428.2007.18.083

• 多媒体技术及应用 • 上一篇    下一篇

基于粒子系统的实时雨模拟

李苏军,吴玲达   

  1. (国防科学技术大学多媒体研究开发中心,长沙 410073)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-09-20 发布日期:2007-09-20

Real-time Simulation of Rain Based on Particle System

LI Su-jun, WU Ling-da   

  1. (Multimedia R&D Center, National University of Defense Technology, Changsha 410073)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-09-20 Published:2007-09-20

摘要: 基于流体动力学和粒子系统理论,给出了一种实时生成三维雨的方法。算法以矩形基本粒子对雨粒子进行造型,采用动态纹理映射技术和透明度扰动方法,根据雨滴的降落运动方程,来描述不同大小雨粒子受到重力和空气浮力、阻力影响时的运动效果,采用与视点相关技术动态生成三维降雨场景。与传统的雨模拟算法相比,该算法既正确模拟了雨的运动行为,又降低了计算复杂性,真实再现了雨的三维视觉效果,在满足实时交互漫游的前提下表现出较强的真实感,具有一定的实用价值。

关键词: 虚拟战场, 雨, 模拟, 粒子系统

Abstract: The paper presents a method on real time generation of cloud based on hydrodynamics and the particle system theory. It shapes the rain particle as rectangle. It simulates the cloud’s radiometry using dynamic texture mapping and transparency disturbance, describes the cloud’s movement using simple physical equations when different size particles suffered gravity, buoyancy and resistance. Compared with the traditional method of cloud’s simulation, it can generate realistic visual effect of rain, accurately simulate the cloud’s behavior and reduce the computing complexity, realize the 3D effects of rain. And it can interact in the 3D scenes of rain and as same as the real rain scenes, which proves its usefulness.

Key words: virtual battlefield, rain, simulation, particle system

中图分类号: