<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/401" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-12-04T13:41:05+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/401</id>

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-12-04T13:41:05+00:00</updated>

		<published>2006-12-04T13:41:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2686#p2686</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2686#p2686"/>
		<title type="html"><![CDATA[Backward Integration Cloth Simulation]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2686#p2686"><![CDATA[
Your links can be found on the same melax site I posted before in this thread: <a href="http://www.melax.com/gamedev.html" class="postlink">http://www.melax.com/gamedev.html</a> <br><br>I think Genscher managed to compile and run those Stan's snippets with a bit of effort:<br><a href="http://www.continuousphysics.com/ftp/pub/test/index.php?dir=physics/source/&amp;file=StanMelaxCloth2006.cpp" class="postlink">http://www.continuousphysics.com/ftp/pu ... th2006.cpp</a><br><blockquote class="uncited"><div>Some stuff can still be found here. Note that Stan only released snippets:<br><br><a href="http://www.melax.com/dspring" class="postlink">http://www.melax.com/dspring</a><br><a href="http://www.melax.com/optex" class="postlink">http://www.melax.com/optex</a></div></blockquote><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Mon Dec 04, 2006 1:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2006-12-04T13:30:02+00:00</updated>

		<published>2006-12-04T13:30:02+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2685#p2685</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2685#p2685"/>
		<title type="html"><![CDATA[Backward Integration Cloth Simulation]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2685#p2685"><![CDATA[
Some stuff can still be found here. Note that Stan only released snippets:<br><br><a href="http://www.melax.com/dspring" class="postlink">http://www.melax.com/dspring</a><br><a href="http://www.melax.com/optex" class="postlink">http://www.melax.com/optex</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Mon Dec 04, 2006 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-12-04T13:01:17+00:00</updated>

		<published>2006-12-04T13:01:17+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2683#p2683</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2683#p2683"/>
		<title type="html"><![CDATA[Backward Integration Cloth Simulation]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2683#p2683"><![CDATA[
Thanks to Genscher, Stan's original posted code is here:<br><br><a href="http://www.continuousphysics.com/ftp/pub/test/index.php?dir=physics/source/&amp;file=StanMelaxCloth2006.cpp" class="postlink">http://www.continuousphysics.com/ftp/pu ... th2006.cpp</a><br><br>The ConjGradientFiltered snippet extracted:<div class="codebox"><p>Code: </p><pre><code>int  ConjGradientFiltered(float3N &amp;X, const float3Nx3N &amp;A, const float3N &amp;B,const float3Nx3N &amp;S){       // Solves for unknown X in equation AX=B       conjgrad_loopcount=0;       int n=B.count;       float3N q(n),d(n),tmp(n),r(n);       r = B - Mul(tmp,A,X);    // just use B if X known to be zero       filter(r,S);       d = r;       float s = dot(r,r);       float starget = s * sqr(conjgrad_epsilon);       while( s&gt;starget &amp;&amp; conjgrad_loopcount++ &lt; conjgrad_looplimit)       {               Mul(q,A,d); // q = A*d;               filter(q,S);               float a = s/dot(d,q);               X = X + d*a;               if(conjgrad_loopcount%50==0)               {                       r = B - Mul(tmp,A,X);                       filter(r,S);               }               else               {                       r = r - q*a;               }               float s_prev = s;               s = dot(r,r);               d = r+d*(s/s_prev);               filter(d,S);       }       conjgrad_lasterror = s;       return conjgrad_loopcount&lt;conjgrad_looplimit;  // true means we reached desired accuracy in given time - ie stable}</code></pre></div>The links in my previous posting on this thread might contain some modifications, but no additional license headers were removed/added.<br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Mon Dec 04, 2006 1:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Genscher]]></name></author>
		<updated>2006-12-04T08:38:17+00:00</updated>

		<published>2006-12-04T08:38:17+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2681#p2681</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2681#p2681"/>
		<title type="html"><![CDATA[License]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2681#p2681"><![CDATA[
Hello!<br><br>The links Erwin posted are NOT the links to the files from melax/Stan.<br><br>These files which you get when you follow the links are modified by me and a friend and therefore under the license of GPL.<br><br>I posted Erwin the original files from melax/Stan and I think he will put them online pretty fast.<br><br>Greetings so far!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=646">Genscher</a> — Mon Dec 04, 2006 8:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raigan2]]></name></author>
		<updated>2006-12-03T20:22:21+00:00</updated>

		<published>2006-12-03T20:22:21+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2673#p2673</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2673#p2673"/>
		<title type="html"><![CDATA[Backward Integration Cloth Simulation]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2673#p2673"><![CDATA[
unless i'm misunderstanding something (i've only just glanced through the code), a source file is missing: the function ConjGradientFiltered isn't defined anywhere..<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=748">raigan2</a> — Sun Dec 03, 2006 8:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Frankyboy]]></name></author>
		<updated>2006-11-29T23:11:53+00:00</updated>

		<published>2006-11-29T23:11:53+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2641#p2641</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2641#p2641"/>
		<title type="html"><![CDATA[Backward Integration Cloth Simulation]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2641#p2641"><![CDATA[
Many thanks!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=1328">Frankyboy</a> — Wed Nov 29, 2006 11:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-12-04T00:15:50+00:00</updated>

		<published>2006-11-29T22:46:33+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2640#p2640</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2640#p2640"/>
		<title type="html"><![CDATA[Re: Backward Integration Cloth Simulation]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2640#p2640"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>The URL for the demo, writeup, and source is at:<br>  www dot melax dot com slash cloth</div></blockquote>This link no longer works! Is the code still available?</div></blockquote>Yes, the cached version is here:<br>source:<br><a href="http://www.continuousphysics.com/ftp/pub/test/index.php?dir=physics/source/&amp;file=cloth.cpp" class="postlink">http://www.continuousphysics.com/ftp/pu ... =cloth.cpp</a><br><a href="http://www.continuousphysics.com/ftp/pub/test/index.php?dir=physics/source/&amp;file=cloth_extern.h" class="postlink">http://www.continuousphysics.com/ftp/pu ... h_extern.h</a><br><a href="http://www.continuousphysics.com/ftp/pub/test/index.php?dir=physics/source/&amp;file=conjgrad.cpp" class="postlink">http://www.continuousphysics.com/ftp/pu ... njgrad.cpp</a><br>and<br><a href="http://www.continuousphysics.com/ftp/pub/test/index.php?dir=physics/source/&amp;file=Optimized%20Expressions.html" class="postlink">http://www.continuousphysics.com/ftp/pu ... sions.html</a><br>or follow Optimized Expressions <a href="http://www.melax.com/gamedev.html" class="postlink">http://www.melax.com/gamedev.html</a><br>binary demo:<br><a href="http://www.continuousphysics.com/ftp/pub/test/index.php?dir=physics/demos/&amp;file=MELAX3DE_cloth.zip" class="postlink">http://www.continuousphysics.com/ftp/pu ... _cloth.zip</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Wed Nov 29, 2006 10:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Frankyboy]]></name></author>
		<updated>2006-11-29T22:32:16+00:00</updated>

		<published>2006-11-29T22:32:16+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2639#p2639</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2639#p2639"/>
		<title type="html"><![CDATA[Re: Backward Integration Cloth Simulation]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2639#p2639"><![CDATA[
<blockquote class="uncited"><div>The URL for the demo, writeup, and source is at:<br>  www dot melax dot com slash cloth</div></blockquote>This link no longer works! Is the code still available?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=1328">Frankyboy</a> — Wed Nov 29, 2006 10:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2006-07-07T19:18:49+00:00</updated>

		<published>2006-07-07T19:18:49+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1293#p1293</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1293#p1293"/>
		<title type="html"><![CDATA[Backward Integration Cloth Simulation]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1293#p1293"><![CDATA[
Looks very interessting - thanks for sharing this. A nice implementation of the Baraff paper can also be found here:<br><br><a href="http://davidpritchard.org/freecloth/" class="postlink">http://davidpritchard.org/freecloth/</a><br><br>And I also like his bibliographie of papers here:<br><br><a href="http://davidpritchard.org/graphics/clothref.html" class="postlink">http://davidpritchard.org/graphics/clothref.html</a><br><br>Besides the papers you suggested I recommend also looking into the work of Boxerman here:<br><br><a href="http://www.cs.ubc.ca/~eddybox/" class="postlink">http://www.cs.ubc.ca/~eddybox/</a><br><br>Also look for his master thesis. If you cannot find it drop me a mail and I send you a copy. Some other ideas w.r.t. Baraff can be found in the work of Kang:<br><br><a href="http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/k/Kang:Young=Min.html" class="postlink">http://www.informatik.uni-trier.de/~ley ... g=Min.html</a><br><br>Again if you cannot find anything I should have it. <br><br>The final thing to look into is the work of R. Bridson here:<br><br><a href="http://graphics.stanford.edu/~fedkiw/papers/stanford2003-06.pdf" class="postlink">http://graphics.stanford.edu/~fedkiw/pa ... 003-06.pdf</a><br><a href="http://graphics.stanford.edu/~fedkiw/papers/stanford2002-01.pdf" class="postlink">http://graphics.stanford.edu/~fedkiw/pa ... 002-01.pdf</a><br><br>PhD:<br><br><a href="http://www.cs.ubc.ca/~rbridson/docs/rbridson_phd.pdf" class="postlink">http://www.cs.ubc.ca/~rbridson/docs/rbridson_phd.pdf</a><br><br>If you look into this papers you will find some parallels to the rigid body time-stepping method in the Guendelman paper - so quite interessting to read...<br><br>HTH,<br><br>-Dirk<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Fri Jul 07, 2006 7:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deberle]]></name></author>
		<updated>2006-07-06T00:01:06+00:00</updated>

		<published>2006-07-06T00:01:06+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1283#p1283</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1283#p1283"/>
		<title type="html"><![CDATA[Cloth Mechanical model]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1283#p1283"><![CDATA[
Hey,<br><br>     So I saw that you are experimenting with the model from Ko's paper and had some questions for you. Are you using it on irregular meshes or grids? He later published a paper about irregular meshes, but I believe I found an error. First the function should be based on the distance perpendicular to the edge shared by the triangles. If you use the actual distance, the amount of force pushing apart the vertices varies, even though the mass of the particles (if area based) does not.<br><br>      I have also run into a problem when not applying any force if there is tension for bend and doing the same for compression under stretch and shear. Putting in an if statement based on this leads to a discontinuous response and I've have noticed artifacts which I believe result from this. Have you encountered this and if so have you come up with a solution?<br><br>      I am favoring models based on the dihedral angle, though they lead to a less well conditioned system. In Ko's model if you constrain the two endpoints and let it sag under gravity, no amount of stiffness will bring the four vertices back to a plane.<br><br>      While speed is important to me, it is not of the utmost importance. Where I seem to get thrashed is not in the number of CG iterations, but the time for a single sparse matrix multiply. It appears it is not the flops, but the traversal of the vector that might be thrashing the cache. Does anyone have a good suggestion for improving this? My system is naturally blocked and I reorder the vertices to reduce the bandwith. Any suggestions are appreciated. Thanks.<br><br>Dave<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=364">deberle</a> — Thu Jul 06, 2006 12:01 am</p><hr />
]]></content>
	</entry>
	</feed>
