|
|
In version 0.3.0, I'd forgotten to uncomment a line in the code, so that
self-collision detection wasn't performed. This is now fixed. This
version also includes some optimisations of the self-collision algorithm
(my tests showed a 14 times speed increase on a 10x10 cloth but the
difference should be even greater with bigger pieces of cloth).
Note that the self-collision detection is incomplete in its current form:
it only does point-triangle collision detection. It is therefore
possible that the cloth will intersect itself locally. OTOH it shouldn't
be possible for the cloth to go completely through itself and straighten
up on the other side (if somebody sees something like that, it's a bug)
Jerome
--
* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy. * http://www.enst.fr/~jberger
*********************************
Post a reply to this message
|
|