系统仿真学报 ›› 2016, Vol. 28 ›› Issue (10): 2476-2484.

• 仿真建模理论与方法 • 上一篇    下一篇

基于模块划分的GPU加速布料动画

周昆1, 刘箴1, 何高奇2, 陈田3, 刘婷婷1, 刘翠娟1   

  1. 1.宁波大学信息科学与工程学院 宁波315211;
    2.华东理工大学计算机科学与工程系 上海 200237;
    3.上海电机学院 上海 200000
  • 收稿日期:2016-05-31 修回日期:2016-07-09 出版日期:2016-10-08 发布日期:2020-08-13
  • 作者简介:周昆(1992-),男,江西,硕士生,研究方向为布料动画。
  • 基金资助:
    国家自然科学基金(61373068), 宁波市科技计划项目(2015A610128, 2015C50053, 2015D10011, 2016D10016); 高等学校博士学科点专项科研基金(20133305110004)

GPU-accelerated Cloth Animation Based on Module Division

Zhou Kun1, Liu Zhen1, He Gaoqi2, Chen Tian3, Liu Tingting1, Liu Cuijuan1   

  1. 1. Faculty of Electrical Engineering and Computer Science, Ningbo University, Ningbo 315211, China;
    2. Department of computer science and engineering, East China University of Science and Technology, Shanghai 200237, China;
    3. Shanghai Dianji University, Shanghai 200000, China
  • Received:2016-05-31 Revised:2016-07-09 Online:2016-10-08 Published:2020-08-13

摘要: 为了提高布料动画的仿真速度,通过研究动力学和基于位置约束动力学(PBD)的两种布料仿真模型,提出了划分模块的并行计算方法。首先利用数据分块的方式将单个计算任务划分为独立的块;然后对块内采用GPU并行计算,进而提高了布料动画仿真的实时性和鲁棒性;最后,观察布料在不同的场景环境和随机风场作用下的仿真动画,验证了该算法的适用性和有效性。实验结果表明,在相同的条件下,文中计算方法能够有效提高仿真速度,同时在仿真精度较高时,依然可以满足实时性的仿真动画要求。

关键词: 动力学仿真, 布料动画, GPU并行计算, 风场, 模块划分

Abstract: In order to improve the simulation speed of cloth animation, a module division parallel computing method was proposed by studying two kinds of cloth simulation models with dynamics and position based dynamics (PBD). A computing task was divided into a plurality of independent blocks by the way of data block. GPU parallel computing was used within the data block to improve the real-time performance and robustness of the cloth simulation. The applicability and effectiveness of the algorithm were verified under different scenarios and stochastic wind field. Experimental results show that under the same conditions, the proposed method can effectively improve the simulation speed. Moreover, it can meet real-time requirements at higher simulation accuracy.

Key words: dynamic simulation, cloth animation, GPU parallel computer, wind field, module division

中图分类号: