期刊文献+

基于图形硬件的显式织物模拟

EXPLICIT CLOTH SIMULATION BASED ON GPU
下载PDF
导出
摘要 凡是需要真实场景和人物动画的图形应用场合,织物模拟都是必不可少的环节之一,其模拟速度和效果往往决定应用整体的效率和真实感。以实时织物模拟为目标,利用GPU(Graphics Processing Unit)并行编程语言CUDA,设计了一种基于弹簧-质点模型的显式织物模拟并行算法。该算法将模拟过程分为计算阶段和渲染阶段。在计算阶段,通过将质点与CUDA的线程一一对应,并行更新质点的速度和位置。算法利用线性存储器纹理解决了越界问题,并通过使用CUDA的共享内存减少对全局内存的访问。为了使各线程负载均衡地填充共享内存,提出nPass方法。在渲染阶段,算法利用CUDA与OpenGL的交互性,直接在GPU上渲染,避免了将数据回传到主存的额外开销。实验结果表明,与CPU算法和传统的GPU算法相比,该算法的模拟速度分别加快了30倍和5倍。 In all graphics applications demanding realistic scene and human animation,cloth simulation is the requisite link,the speed and effect of simulation usually determine the efficiency and the reality of entire application.To achieve real-time cloth simulation,we present the design of a novel spring-mass model based explicit cloth simulation parallel algorithm which uses GPU parallel programming language CUDA.This algorithm divides the simulation process into computing and rendering stages.In computing stage,each particle is mapped onto one CUDA's thread,therefore the velocities and positions of all particles are updated in parallel.By using CUDA′s shared memory,the access of global memory is reduced,and nPass method is proposed to fill the shared memory in a load-balancing way.In rendering stage,the interactivity between CUDA and OpenGL is used to directly render on GPU,so as to have avoided the extra-cost incurred from reading texture back to CPU′s memory.Experimental results show that our algorithm is over 30 times faster than the one on CPU,and 5 times faster than traditional GPGPU method,both at simulation speed.
作者 戎旭涛 刘卉
出处 《计算机应用与软件》 CSCD 2011年第5期147-151,共5页 Computer Applications and Software
关键词 织物模拟 显式欧拉方法 CUDA GPGPU Cloth simulation Explicit Euler method CUDA GPGPU
  • 相关文献

参考文献12

  • 1NVIDIA CUDA Programming Guide,version 2.1[S].NVIDIA,2008.
  • 2Volino P,Thalmann M N.Comparing efficiency of integration methods for cloth simulation[C] //Proc.of Computer Graphics International.Washington:IEEE Computer Society,2001:265-274.
  • 3Baraff D,Witkin A.Large steps in cloth simulation[C] //Proc.of the 25th Annual Conference on Computer Graphics.New York:ACM,1998:43-52.
  • 4李长锋,修毅.织物三维动态模拟[J].计算机辅助设计与图形学学报,2006,18(9):1372-1376. 被引量:12
  • 5刘卉,陈纯,施伯乐.基于改进的弹簧-质点模型的三维服装模拟[J].软件学报,2003,14(3):619-627. 被引量:39
  • 6Kolb A,Latta L,Rezk-Salama C.Hardware-based simulation and collision detection for large particle systems[C] //Proc.of the ACM SIGGRAPH/EUROGRAPHICS Conference on Graphics Hardware.New York:ACM,2004:123-131.
  • 7Harris M J,Coombe G,Scheuermann T.A Lastra.Physically-based visual simulation on graphics hardware[C] //Proc.of the ACM SIGGRAPH/EUROGRAPHICS Conference on Graphics Hardware.Aire-la-Ville:Eurographics Association,2002:109-118.
  • 8Georgii J,Echtler F,Westermann R.Interactive simulation of deformable bodies on GPUs[C] //Proc.of Simulation and Visualization.New York:ACM,2005:247-258.
  • 9Chang L F,Liu S M.Deformable object simulation in virtual environment.In:Spencer SN ed[C] //Proc.of ACM International Conference on Virtual Reality Continuum and Its Applications.New York:ACM,2006:327-330.
  • 10Simon G.Proc.of Game Developers Conference[EB/OL].2008.http://download.nvidia.com/developer/presentations/2005/GDC/ OpenGL_Day/OpenGL_FrameBuffer_Object.pdf.

二级参考文献11

  • 1金一庆.数值方法[M].杭州:浙江大学出版社,1997.198-222.
  • 2Choi Kwang-Jin, Ko Hyeong-Seok. Extending the immediate buckling model to triangular meshes for simulating complex clothes [C] //Proceedings of Eurographics 2003, Short Presentations, Granada, 2003:187-191
  • 3Bridson R, Marino S, Fedkiw R. Simulation of clothing with folds and wrinkles [C] //Proceedings of the 2003 ACM SIGGRAPH/Eurographics Symposium on Computer Animation,San Diego, 2003:28-36
  • 4Provot X. Deformation constraints in a mass-spring model to describe rigid cloth behavior [C] //Proceedings of Graphics Interface, Quebec, 1995:147-154
  • 5Provot X. Collision and self-collision handling in cloth model dedicated to design garments [C] //Proceedings of Graphics Interface'97, Kelowna, 1997:177-189
  • 6Laeur B, Magnenat-Thalmann N, Thalmann D. Cloth animation with self-collision detection [C]//Proceedings of Conference on Modeling in Computer Graphics, Tokyo, 1991 :179-187
  • 7樊劲,周济,王启付,袁铭辉.基于弹簧质点模型的二维/三维映射算法[J].软件学报,1999,10(2):140-148. 被引量:29
  • 8刘卉,许端清,陈纯.服装CAD综述[J].计算机辅助设计与图形学学报,2000,12(6):473-480. 被引量:33
  • 9陈,徐乃平.采用能量法进行真实感布仿真[J].软件学报,2001,12(2):303-308. 被引量:6
  • 10钟跃崎,王善元.基于粒子系统的织物仿真模拟[J].计算机辅助设计与图形学学报,2001,13(10):881-885. 被引量:6

共引文献47

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部