Here we describe a mass-spring system to simulate cloth behavior. The initial results show gains of performance of almost 20x, when comparing the GPU and the CPU versions on the same system. The links below show videos where we can see both CPU and GPU executions of a mesh with 20000 vertexes.


With the algorithm running in GPU we can clearly see the cloth motion with the gravity acceleration. While with the same algorithm running in the CPU we can’t nearly see it’s moving.
The graphs below show the performance comparison between GPU and CPU execution times with two numerical integration methods.
(a) GPU and CPU comparison with euler integration method.
(b) GPU and CPU comparison with verlet integration method.
The graphics also demonstrate the good scalability of the GPU, witch we can use to provide real time interaction and increase the scene realism in the next steps.

Last edited Aug 17, 2009 at 12:41 AM by Lenna, version 14


No comments yet.