Journal of Computer Applications ›› 2012, Vol. 32 ›› Issue (10): 2806-2808.DOI: 10.3724/SP.J.1087.2012.02806

• Graphics and image technology • Previous Articles     Next Articles

Curtain dynamic simulation based on particle constraint algorithm

HAN Li,JIA Yue   

  1. College of Computer and Information Technology, Liaoning Normal University,Dalian Liaoning 116029,China
  • Received:2012-04-25 Revised:2012-06-01 Online:2012-10-23 Published:2012-10-01
  • Contact: JIA Yue

基于质点约束算法的窗帘动态模拟

韩丽,贾玥   

  1. 辽宁师范大学 计算机与信息技术学院,辽宁 大连116029
  • 通讯作者: 贾玥
  • 作者简介:韩丽(1973-),女,辽宁大连人,副教授,博士,CCF会员,主要研究方向:计算机图形学、计算机视觉;贾玥(1987-),女,辽宁沈阳人,硕士研究生,主要研究方向:计算机图形学、计算机动画。
  • 基金资助:
    辽宁省百千万人才项目及辽宁省教育厅项目资助

Abstract: Concerning the cloth undulation in dealing with the super-elasticity, an improved particle constraint algorithm based on mass-spring model was presented. In an iteration cycle, it only adjusted the longest stretch spring, and the other over-stretched springs adaptively made the velocity change. The paper took curtain dynamic simulation as example to implement this algorithm, and the curtain flapped naturally in the wind. The experimental results demonstrate that the proposed algorithm can effectively avoid unrealistic undulation and has strong stability.

Key words: mass-spring model, cloth deformation, undulation phenomena, particle constraint, curtain simulation

摘要: 针对传统质点位置修正方法在处理超弹性现象时的布料抖动问题,提出一种基于质点—弹簧模型的质点约束方法。在每次迭代中只对拉伸最长的弹簧进行位置修正,其余过度拉伸的弹簧只作质点速度调整。算法以窗帘动态模拟为例,快速逼真地模拟了窗帘在外力作用下的飘动效果。实验结果表明,该方法能够抑制超弹性现象的发生,并能有效地避免布料不切实际的抖动,具有较强的稳定性。

关键词: 质点—弹簧模型, 布料变形, 抖动现象, 质点约束, 窗帘模拟

CLC Number: