MAXScript Cloth Simulator
Inspired by Skeel Keng-Siang Lee's fantastic tutorial on soft body physics (http://cg.skeelogy.com/introduction-to-soft-body-physics-in-xna/)
and for the sake of learning I wrote a little MAXScript that can
simulate cloth. It is pretty much hacked together, basic and very
limited, meaning there is no UI, you have to know what you are doing
and there is no collision detection. It is pretty slow too but it was
more for looking into new algorithms than using it for actual
production. Who knows, maybe it will evolve into something better and a
more universal thing for little simulations in character / vehicle rigs
There is a preview on youtube:
It uses Verlet integration without velocities and a simple spring
model. There are three types of springs (structural, shear and bend)
and the two corner points are constraint to helper objects. There is
gravity and a very simple wind force to add some randomness. But I am
planning to write a real wind function with better turbulence.
Have fun !