|
|
Well, my cloth simulator has reached the point where it did what I
needed for my irtc entry so I'll leave it that way for the time being
and I'll come back to it later.
To use it you'll need a C++ compiler since there is absolutely no user
interface right now. Simply change the parameters in params.hh and the
world definition in cloth.cc (function createWorld()), compile, run, et
If you get an error message saying "xxx is not finite", try decreasing
the STEP value in params.hh
When I come back to it, I'll:
* try to understand where that error comes from;
* add some kind of interface so that you don't need to recompile it each
time;
* add self-collisions handling;
* add the possibility to immobilize some points of the cloth (to allow
the simulation of a hanging curtain for example);
* and maybe, add some animation-related features...
Many thanks go to TonyB for the papers he sent me. I've already done
some slight changes because of them, and I expect them to help a great
deal in these future developments.
I'm releasing this under the GPL.
--
* 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
Attachments:
Download 'cloth-0.0.0.tar.gz' (26 KB)
|
|