For cloth modeling and animation, we use a physically based model to s
imulate the dynamic formation of folds, pleats, and wrinkles and the f
inal static appearance of cloth draped over a rigid object. To simulat
e the behavior of the cloth and its final static appearance on the mod
el, we propose a new collision and self-collision avoidance method to
prevent penetration between the cloth and rigid objects and between pa
rts of the cloth. At each time step, we enforce constraints over those
grid points about to penetrate other objects. Our method is easier an
d more robust than conventional methods at representing interaction be
tween the cloth and various objects.