POV-Ray : Newsgroups : povray.binaries.utilities : Cloth simulator source code Server Time
17 Jun 2024 10:57:52 EDT (-0400)
  Cloth simulator source code (Message 1 to 1 of 1)  
From: Jérôme M  Berger
Subject: Cloth simulator source code
Date: 20 Nov 2000 06:18:27
Message: <3A190881.E4B97950@enst.fr>
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)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.