Journal of Computer Applications ›› 2011, Vol. 31 ›› Issue (01): 289-292.
• Typical applications • Previous Articles
Received:
Revised:
Online:
Published:
Contact:
陆忠华1,陈定方2
通讯作者:
基金资助:
Abstract: A physicsbased cloth simulation using modified massspring model was presented. There was no force generated by springs between particles, but a set of constraints was built between particles. And realtime cloth simulation was achieved according to physical rules to continually adjust the positions of the particles to satisfy these constraints. Based on the spatial hash function, the cloth selfcollision detection and response were solved. Using NVIDIA video’s CUDA technology, hardware acceleration on cloth simulation was implemented and its frame rate was increased about several times.
Key words: particle constrain, real-time simulation, spatial hash, self-collision, hardware acceleration
摘要: 采用修改的质点—弹簧模型对布料进行了物理模拟。弹簧不产生粒子间的内力,而是提供粒子间的相关约束。根据这些约束,在满足物理模型的相关条件下不断地调整粒子的位置,实现布料的实时模拟;利用空间哈希表,实现布料的自身碰撞检测;使用Nvidia显卡的统一计算架构(CUDA)技术,对布料模拟进行了硬件加速,使布料模拟的帧速得到了数十倍的提高。
关键词: 粒子约束, 实时模拟, 空间哈希, 自身碰撞检测, 硬件加速
陆忠华 陈定方. 基于粒子约束的布料实时模拟[J]. 计算机应用, 2011, 31(01): 289-292.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: https://www.joca.cn/EN/
https://www.joca.cn/EN/Y2011/V31/I01/289