Pages

Thursday, May 6, 2010

PhysX Cloth Physics


A screenshot of PhysX cloth simulation in MageDx

Cloth physics belongs to one of those features that i have been wanting to implement after seeing how they operate in games such as Mirror's Edge and Batman Arkham Asylum. So after spending a few hours coding after work for about a week or two, i finally managed to integrate cloth into MageDx using PhysX. In addition to traditional cloth simulation, i have also incorporated softbody and metal deformations, both using PhysX cloth as well. As usual i have uploaded a video showcasing cloth simulation in MageDx which you can find below. Note that the low framerate in the video was caused by FRAPS video capturing while running the tech demo and under normal circumstances the framerate is a steady >60 FPS. Anyway, enjoy the video!

No comments: