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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2007-03-01T23:57:06+00:00</updated>

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

		<entry>
		<author><name><![CDATA[coderchris]]></name></author>
		<updated>2007-03-01T23:57:06+00:00</updated>

		<published>2007-03-01T23:57:06+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3701#p3701</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3701#p3701"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3701#p3701"><![CDATA[
Ah I see, I wasnt quite sure what exactly a Jacobi was, but I get it now<br><br>I got the damping working correctly now, thanks for the help <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=743">coderchris</a> — Thu Mar 01, 2007 11:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2007-03-01T23:37:42+00:00</updated>

		<published>2007-03-01T23:37:42+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3700#p3700</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3700#p3700"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3700#p3700"><![CDATA[
dC/dp is the Jacobi matrix and in this particlur case it is the gradient of the constraint function, so you better think of it in this case as a row vector. In our example it is.<br><br>J = ( Transpose(n)   -Transpose(n) )<br><br>So in this case you have a 1 x 6 matrix.<br><br>Basically the Jacobi matrix stores all gradient vectors. by definition (there are some reasons for this) the gradients are stored in the rows. So this is always a bit confusing the 1D case where you can either interpret it as a vector (the gradient) or as matrix.<br><br>Note that this yields the same results:<br><br>a * b = Transpose( a ) * b  // where a and b are vectors<br><br><br>Does this help?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Thu Mar 01, 2007 11:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[coderchris]]></name></author>
		<updated>2007-03-01T23:29:57+00:00</updated>

		<published>2007-03-01T23:29:57+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3699#p3699</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3699#p3699"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3699#p3699"><![CDATA[
Ahh, I understand completely now <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>seems to be working out right for me now<br><br>I just have one more question regarding the paper; In equation (3) they describe how to dampen the forces. Inside the sumnation, they have<br><br>dC<br>--- v<br>dp<br><br>As I understand it, dC/dp is a vector but so is velocity (v). <br>Are they implying a dot product here (x1*x2 + y1*y2 + z1*z2)? <br>Or, do they imply a component-wise multiplication? (x1*x2, y1*y2, z1*z2)<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=743">coderchris</a> — Thu Mar 01, 2007 11:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2007-03-01T21:42:48+00:00</updated>

		<published>2007-03-01T21:42:48+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3693#p3693</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3693#p3693"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3693#p3693"><![CDATA[
if x1 is the particle position then the change of the position in time is the velocity v1 = dx1/dt<br><br>(v1 - v2) is the inner derivative (I hope you call it like this in english).<br>Take the simple example C( x(t) ) = | x(t) |<br><br>Then dC/dt = d/dx * | x(t) | * dx(t) / dt   (Chain rule)<br><br>So,<br><br>dC/dt = x(t) / |x(t)| * v<br><br><br><br><br>the dC/dz was a typo and I fixed it. It should read dC/dt of course<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Thu Mar 01, 2007 9:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raigan2]]></name></author>
		<updated>2007-03-01T21:20:03+00:00</updated>

		<published>2007-03-01T21:20:03+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3690#p3690</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3690#p3690"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3690#p3690"><![CDATA[
<blockquote class="uncited"><div>I took a look at the livemath maker; i cant seem to get it to derive anything, but I probably just havent spent enough time with it <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> </div></blockquote>I wouldn't have figured it out, except that there are help files/videos:<br><br>video: <a href="http://support.livemath.com/lmhelp/mainhelp.php?e=954790820" class="postlink">http://support.livemath.com/lmhelp/main ... =954790820</a><br><br>you can download a livemath workbook from the bottom of this page that has  working partial derivative calculation:<br><a href="http://support.livemath.com/lmhelp/mainhelp.php?e=953485362" class="postlink">http://support.livemath.com/lmhelp/main ... =953485362</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=748">raigan2</a> — Thu Mar 01, 2007 9:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[coderchris]]></name></author>
		<updated>2007-03-01T22:08:55+00:00</updated>

		<published>2007-03-01T20:59:55+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3689#p3689</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3689#p3689"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3689#p3689"><![CDATA[
It almost makes sense now;<br><br>Why do we find derive it with respect to time?<br>Shouldnt dC/dx be enough to solve the constraints?<br><br>I also noticed that L0 gets lost in the derivation. If L0 has no effect on the end result, how is the constraint able to get back to rest length?<br><br>Also, does dC/dt represent the force? <br>or do I have to multiply dC/dt by -kC<br><br>Thanks for the help<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=743">coderchris</a> — Thu Mar 01, 2007 8:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2007-03-01T21:38:37+00:00</updated>

		<published>2007-03-01T20:21:02+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3687#p3687</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3687#p3687"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3687#p3687"><![CDATA[
The constraint is C(x1, x2) = |x1 - x2| - L0<br><br>Since both x1 and x2 are functions of the time I recommend building the time derivative and then find the Jacobian by inspection. You use<br><br>dC/dt = dC/dx * dx/dt = J * v<br><br>This is the same as the chain rule (e.g. f'( h(x) ) = f' ( h(x) ) * h'(x) )<br><br>We use the this identity |x|' = x/|x| (Try to prove this yourself for practise. Hint |x| = Sqrt( x^2 + y^2 + z^2 )<br><br>dC/dt = (x1 - x2) / |x1 - x2| * ( v1 - v2 )<br><br>Now we sort this and define for readability n = (x1 - x2) / |x1 - x2|<br><br>dC/dt = n * v1 - n * v2 <br><br>We can bring this in matrix form<br><br>dC/dt = ( n  -n ) * Transpose( v1   v2 )<br>                        <br>dC/dt = J * v <br><br><br>Does this make any sense to you?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Thu Mar 01, 2007 8:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[coderchris]]></name></author>
		<updated>2007-03-01T20:10:51+00:00</updated>

		<published>2007-03-01T20:10:51+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3686#p3686</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3686#p3686"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3686#p3686"><![CDATA[
I took a look at the livemath maker; i cant seem to get it to derive anything, but I probably just havent spent enough time with it <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> <br><br>Anyway I have a math related question concerning the formulas in the paper; Does anyone think they could show me the steps for deriving the distance constraint outlined in the paper?<br><br>I took a look at partial derivatives and I understand them now, but im unsure where to go with them...<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=743">coderchris</a> — Thu Mar 01, 2007 8:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raigan2]]></name></author>
		<updated>2007-02-24T14:11:26+00:00</updated>

		<published>2007-02-24T14:11:26+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3628#p3628</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3628#p3628"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3628#p3628"><![CDATA[
Again, I must recommend LiveMath Maker: you just write your constraint function in scalar form and it calculates the partial derivatives wrt each scalar: <a href="http://www.livemath.com/download/" class="postlink">http://www.livemath.com/download/</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=748">raigan2</a> — Sat Feb 24, 2007 2:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stbuzer]]></name></author>
		<updated>2007-02-24T11:32:26+00:00</updated>

		<published>2007-02-24T11:32:26+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3625#p3625</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3625#p3625"/>
		<title type="html"><![CDATA[Question about deformable solid paper]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=3625#p3625"><![CDATA[
I tryed to derive volume constraint gradients by myself and got following:<br><br>constraint C(p1,p2,p3,p4) = 1/6 * dot(p2 - p1, (p3 - p1) x (p4 - p1)) - V0<br><br>gradients:<br>p1: 1/6 * ((p4 - p3) x (p2 - p1) - (p3 - p1) x (p4 - p1))<br>p2: 1/6 * (p3 - p1) x (p4 - p1)<br>p3: -1/6 * (p4 - p1) x (p2 - p1)<br>p4 1/6 * (p3 - p1) x (p2 - p1)<br>but it seems that they are wrong <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br>(I've already implemented it)<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=1364">stbuzer</a> — Sat Feb 24, 2007 11:32 am</p><hr />
]]></content>
	</entry>
	</feed>
