<?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/10059" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2016-01-30T07:57:24+00:00</updated>

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

		<entry>
		<author><name><![CDATA[mobeen]]></name></author>
		<updated>2016-01-30T07:57:24+00:00</updated>

		<published>2016-01-30T07:57:24+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36963#p36963</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36963#p36963"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36963#p36963"><![CDATA[
OK I have finally got it working. <br>The main problem was that my cross product matrix was not properly calculated. glm wants that we provide data column wise in column major format but I was giving it in row major.<br><br>Here is the snapshot of my implementation.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://pybullet.org/Bullet/phpBB3/download/file.php?id=1376" class="postimage" alt="snap.png" onclick="viewableArea(this);" /></dt></dl></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8124">mobeen</a> — Sat Jan 30, 2016 7:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mobeen]]></name></author>
		<updated>2016-01-26T16:44:46+00:00</updated>

		<published>2016-01-26T16:44:46+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36950#p36950</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36950#p36950"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36950#p36950"><![CDATA[
A slight update. All constraints apart from bendtwist constraint work. In a couple of bend constraints I get singular matrix that causes problems. Any ideas on how to resolve this error?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8124">mobeen</a> — Tue Jan 26, 2016 4:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mobeen]]></name></author>
		<updated>2016-01-14T16:26:34+00:00</updated>

		<published>2016-01-14T16:26:34+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36892#p36892</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36892#p36892"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36892#p36892"><![CDATA[
Ok I think all of the equations make sense now.  The partial derivatives are wrt d1, d2, d3 from eq3. So these will be 3x3  matrices.  <br>[EDIT]:OK It is mentioned in the paper that the author uses [A] where A is a vector to mean a cross product matrix so this sorts out the whole math and the solution is indeed a 3x3 matrix.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8124">mobeen</a> — Thu Jan 14, 2016 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mobeen]]></name></author>
		<updated>2016-01-13T14:20:40+00:00</updated>

		<published>2016-01-13T14:20:40+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36882#p36882</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36882#p36882"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36882#p36882"><![CDATA[
Hi all,<br>   Sorry for reviving an old thread but I m currently doing my own implementation for understanding of pos based elast.  ic rods paper.  Note that i have already  seen sheproth and korzens code which are both implemented same way. I am stuck in calculation of material frame derivatives given in appendix eq. 43, 44, 45. From what  I understand material frame is a 3x3 matrix.  If we differentiate it with a 3x1 vector,  we should get a 3x9 matrix. Assuming the matrix as D having elements D00, D01... D22 elements, and a vector p having px, py, pz elements the partial derivative will be dD00/dpx dD00/dpy dD00/dpz dD01/dpx dD01/dpy dD01/dpz dD02/dpx dD02/dpy dD02/dpz ...  dD22/dpi dD22/dpi . dD22/dpz.  From the two implementations, this appears to be a 3x3 matrix which is not what I expect. <br><br>The second issue is in eq. 44 when derivative of second material frame is calculated. The first term is a scalar 1/(|p01xp02|).  It is multiplied to the term (I-d2 tensor_product d2).  Since d2 is a 3x3 matrix, d2 tensor d2 will be a 9x9 matrix. Now this term is multiplied with a vector (p2-p1) which is a 3x1 column vector this multiplication is not possible. Both sheproth and korzen replace the vector (p2-p1) with a (p2-p1) cross product matrix? <br><br>Can anyone please shed some light on this?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8124">mobeen</a> — Wed Jan 13, 2016 2:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[korzen303]]></name></author>
		<updated>2016-01-11T11:05:19+00:00</updated>

		<published>2016-01-11T11:05:19+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36853#p36853</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36853#p36853"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36853#p36853"><![CDATA[
In case someone needs a working code for the Position Based Elastic Rods check this post:<br><a href="http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=4&amp;t=10993&amp;p=36852" class="postlink">http://bulletphysics.org/Bullet/phpBB3/ ... 93&amp;p=36852</a><br>and the sources are here:<br><a href="https://github.com/korzen/PositionBasedDynamics-ElasticRod" class="postlink">https://github.com/korzen/PositionBased ... ElasticRod</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10616">korzen303</a> — Mon Jan 11, 2016 11:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[millag]]></name></author>
		<updated>2014-09-09T18:06:07+00:00</updated>

		<published>2014-09-09T18:06:07+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33989#p33989</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33989#p33989"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33989#p33989"><![CDATA[
Hi DevO,<br><br>Your work sounds very interesting.<br>I'm wondering how much time it takes for a simulation step, can the method handle stiff rods and what is the max time step you can use before the simulation gets unstable.<br><br>I'm asking because I'm currently working on curly hair simulation. My implementation is based on "Discrete Elstic Rods" <a href="http://www.cs.columbia.edu/cg/rods/" class="postlink">http://www.cs.columbia.edu/cg/rods/</a>. Unfortunately, due to the large amounth of rods it has to handle, it's very slow. There are 2 main sources for this - the energy minimization step described in the paper and the small timestep required when the rod stiffness is high. So  I'm basically searching for alternatives.<br><br>Cheers.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11006">millag</a> — Tue Sep 09, 2014 6:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[korzen303]]></name></author>
		<updated>2014-08-25T14:47:30+00:00</updated>

		<published>2014-08-25T14:47:30+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33880#p33880</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33880#p33880"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33880#p33880"><![CDATA[
Hi DevO,<br><br>would you be so kind and share your implementation?<br><br>I am researcher working on simulation of flexible surgical tools for cardiovascular interventions. In our group we have been using Cosserat Rod based on CoRdE implemenatation by J. Spillmann for a while now but  the position based approach for elastic rod looks interesting.<br><br>Thank you in advance<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10616">korzen303</a> — Mon Aug 25, 2014 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DevO]]></name></author>
		<updated>2014-08-20T19:35:44+00:00</updated>

		<published>2014-08-20T19:35:44+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33848#p33848</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33848#p33848"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33848#p33848"><![CDATA[
&gt; I think a lot of people are still checking this forum, but few are posting new questions.<br><br>I was not active in thins field for longer time.<br>Are there any other active forums where one could ask such question ?<br><br>Of course not this one <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Fortunately I was able to implement it and it run very stable now.<br>Actually one could drop random points in and it will recover to valid state, just as in the paper video.<br>The next step would to add Collision Detection and Response.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=453">DevO</a> — Wed Aug 20, 2014 7:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bone]]></name></author>
		<updated>2014-08-20T18:21:05+00:00</updated>

		<published>2014-08-20T18:21:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33847#p33847</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33847#p33847"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33847#p33847"><![CDATA[
I think a lot of people are still checking this forum, but few are posting new questions.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=1626">bone</a> — Wed Aug 20, 2014 6:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DevO]]></name></author>
		<updated>2014-08-16T17:53:59+00:00</updated>

		<published>2014-08-16T17:53:59+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33825#p33825</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33825#p33825"/>
		<title type="html"><![CDATA[Re: Position-based Elastic Rod]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33825#p33825"><![CDATA[
I finally got it now to work.<br><br>The solution was actually in "4. Variational interpretation of constraint enforcement" section of the paper, that I have ignored first.<br><br>By the way is this forum still active ?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=453">DevO</a> — Sat Aug 16, 2014 5:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
