J4 ›› 2014, Vol. 41 ›› Issue (2): 97-101+164.doi: 10.3969/j.issn.1001-2400.2014.02.016

• 研究论文 • 上一篇    下一篇

提高喷泉水流动态模拟效果的改进方法

杜淑幸;李小振;王云超   

  1. (西安电子科技大学 机电工程学院,陕西 西安  710071)
  • 收稿日期:2013-03-04 出版日期:2014-04-20 发布日期:2014-05-30
  • 通讯作者: 杜淑幸
  • 作者简介:杜淑幸(1965-),女,副教授,博士,E-mail: dushuxing1119@163.com.

Better method for improvement on fountain flow dynamic simulation

DU Shuxing;LI Xiaozhen;WANG Yunchao   

  1. (School of Mechano-electronic Engineering, Xidian Univ., Xi'an  710071, China)
  • Received:2013-03-04 Online:2014-04-20 Published:2014-05-30
  • Contact: DU Shuxing

摘要:

为了提高粒子系统动态模拟效果,笔者以喷泉水流为研究对象,基于粒子系统理论,运用物理动力学原理构建喷泉粒子的运动系统模型.采用OpenGL“直线元”作为基本粒子几何体元,与现有的离散单元如元球、立方体、矩形等比较,其实时性明显提高.为消除三维场景中部分粒子的不可见性,采用呈“△”形的线段组合单元实现水珠的动态模拟.为使喷泉水珠聚束表现喷泉断断续续的柱体形状,还提出利用伪粒子黏度法及OpenGL的混合技术,使喷泉水流的真实感进一步加强.实验表明,文中所采用的改进方法有效地提高了喷泉水流的时效性.

关键词: 粒子系统, 喷泉水流, 动态模拟, 伪粒子黏度

Abstract:

For the purpose of improving the dynamic simulation effect of the particle system, this paper focuses on studying the dynamic simulation of the fountain flow based on particle system theory. A fountain particle motion model is constructed by applying the physical dynamic principle. The bead particle is structured by using OpenGL “short line” as the basic particle voxel, which performs better in real-time processing compared with other bead particles, such as sphere, cube and square. To avoid the invisibility of partial particles in 3D scene, the technique of the “△” line combination unit is adopted to implement the dynamic simulation of water beads. In order to agglutinate lots of particles to form water beads with different sizes and show the intermittent cylinder shape of the fountain, the fake particle viscosimetry and the blend operation in OpenGL are also adopted, making the fountain flow more realistic. Experiment indicates that the proposed method can effectively improve the reality and real-time performance of the fountain flow.

Key words: particle system, fountain flow, dynamic simulation, fake particle viscosimetry