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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-09-01T04:33:53+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-09-01T04:33:53+00:00</updated>

		<published>2006-09-01T04:33:53+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1631#p1631</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1631#p1631"/>
		<title type="html"><![CDATA[TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1631#p1631"><![CDATA[
performance is one reasons. the other is robustness.<br><br>You can already use moving concave compounds in Bullet. But that works most reliable when you add convex pieces with volume. That way there is likely some valid collision normals available. Single triangles can easily get into degeneracies, and it even becomes worse then multiple concave meshes collide. Once continuous collision detection and response without any penetration is fully reliable, it should be easier to allow concave general meshes. But that's one of the areas we are working on.<br><br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Fri Sep 01, 2006 4:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cippyboy]]></name></author>
		<updated>2006-09-01T01:28:53+00:00</updated>

		<published>2006-09-01T01:28:53+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1630#p1630</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1630#p1630"/>
		<title type="html"><![CDATA[TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1630#p1630"><![CDATA[
Too Slow ? That's why no one tryed ? Well, in the future it's surely gonna be faster, there's must be a better argument.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=757">cippyboy</a> — Fri Sep 01, 2006 1:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SteveBaker]]></name></author>
		<updated>2006-08-31T00:44:09+00:00</updated>

		<published>2006-08-31T00:44:09+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1621#p1621</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1621#p1621"/>
		<title type="html"><![CDATA[TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1621#p1621"><![CDATA[
<blockquote class="uncited"><div>Ok, thanks a bunch, can I ask why is it so hard for cancave meshes to exist ? Or is it just impossible ? :D</div></blockquote>It makes collision detection math harder because there are more special cases.  A convex object hitting a flat surface can only hit it at one point - but an object with concavities can hit it in several places.<br><br>It's not impossible - just much harder and hence slower.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=726">SteveBaker</a> — Thu Aug 31, 2006 12:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cippyboy]]></name></author>
		<updated>2006-08-30T02:08:41+00:00</updated>

		<published>2006-08-30T02:08:41+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1614#p1614</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1614#p1614"/>
		<title type="html"><![CDATA[TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1614#p1614"><![CDATA[
Ok, thanks a bunch, can I ask why is it so hard for cancave meshes to exist ? Or is it just impossible ? <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=757">cippyboy</a> — Wed Aug 30, 2006 2:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-08-30T01:03:54+00:00</updated>

		<published>2006-08-30T01:03:54+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1612#p1612</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1612#p1612"/>
		<title type="html"><![CDATA[TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1612#p1612"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I just marked a concave object as convex, what exactly happens in that situation ? because I see that it kinda emulates some boxes around my object, which would be good in same cases, although their not accurate.</div></blockquote>I'm not 100% sure - but in all likelyhood it would act as if the concave parts of it were 'filled in'.   Imagine if you had a polygonal model of the letter 'E' - (which has two concavities) it would behave as if it were a solid rectangle...but like I said - I'm not 100% sure.</div></blockquote>Thanks Steve, you are right: <br>it will fill-in the concave parts.<br>Also notice that it is recommended to use the ConvexHullShape, and just pass points/vertices. For best performance it's best to keep the number of vertices low (using a low-level of detail or mesh simplification/reduction).<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Wed Aug 30, 2006 1:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SteveBaker]]></name></author>
		<updated>2006-08-30T00:57:21+00:00</updated>

		<published>2006-08-30T00:57:21+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1611#p1611</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1611#p1611"/>
		<title type="html"><![CDATA[TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1611#p1611"><![CDATA[
<blockquote class="uncited"><div>Ok, so I kinda understand now and figured that an usual 3d object is not exactly convex, not even a rock is convex...</div></blockquote>Some rocks are convex.<br><blockquote class="uncited"><div> Is there an easy way to test if an object is convex ? or one already in 3DS Max as that is what I use for exporting.</div></blockquote>You'd have to calculate the angles between each pair of polygons that share a common edge and only if every edge is convex is the entire mesh convex.  However, that only works for closed meshes (ie no holes or disconnected parts).  The definition of "concave" and "convex" is really undefined for meshes with holes.<br><blockquote class="uncited"><div>I just marked a concave object as convex, what exactly happens in that situation ? because I see that it kinda emulates some boxes around my object, which would be good in same cases, although their not accurate.</div></blockquote>I'm not 100% sure - but in all likelyhood it would act as if the concave parts of it were 'filled in'.   Imagine if you had a polygonal model of the letter 'E' - (which has two concavities) it would behave as if it were a solid rectangle...but like I said - I'm not 100% sure.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=726">SteveBaker</a> — Wed Aug 30, 2006 12:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cippyboy]]></name></author>
		<updated>2006-08-30T00:26:37+00:00</updated>

		<published>2006-08-30T00:26:37+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1610#p1610</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1610#p1610"/>
		<title type="html"><![CDATA[TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1610#p1610"><![CDATA[
Ok, so I kinda understand now and figured that an usual 3d object is not exactly convex, not even a rock is convex... Is there an easy way to test if an object is convex ? or one already in 3DS Max as that is what I use for exporting.<br><br>I just marked a concave object as convex, what exactly happens in that situation ? because I see that it kinda emulates some boxes around my object, which would be good in same cases, although their not accurate.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=757">cippyboy</a> — Wed Aug 30, 2006 12:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-08-29T17:40:04+00:00</updated>

		<published>2006-08-29T17:40:04+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1608#p1608</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1608#p1608"/>
		<title type="html"><![CDATA[Re: TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1608#p1608"><![CDATA[
<blockquote class="uncited"><div>1) I use "Shape[3]=new TriangleMeshShape(Array);" Is there a difference between this and "Shape[3]=new BvhTriangleMeshShape(Array);" ? They're both derived from ConcaveShape, and what if my triangled object is Convex ?</div></blockquote>BvhTriangleMeshShape uses a optimization, a Bounding Volume Hierarchy (a AABB tree, with stackless traversal). The TriangleMeshShape is brute-force slow, but can be useful for very small meshes (&lt; 5 triangles).<br><br>For convex meshes, use either ConvexTriangleMeshShape or ConvexHullShape. The latter just takes a point cloud (Bullet's Gjk doesn't requires/benefit from connectivity, no 'hill-climbing').<br><blockquote class="uncited"><div>2) TriangleMeshes cannot move as I see, is there any convex mesh that can be moved ?</div></blockquote>ConvexTriangleMeshShape or ConvexHullShape can be moved. So can be compound shapes. For compounds, make sure the inertia has some useable values. Typically the bounding-box can be used as approximation for inertia tensor.<blockquote class="uncited"><div>3) Is there a triangle shape that I can add ? So I can make compounds of more triangles to simulate my object ?</div></blockquote>Yes, you can add triangle shapes to compounds, but watch the inertia tensor. In the future a better inertia tensor computation will be added for compounds. Also, at the moment compounds don't have an additional midphase BVH/tree optimization, so keep the number of parts small (&lt;10).<blockquote class="uncited"><div>4) As a side question : Does Ageia's PhysX or Havok currently support TriangleMeshe&lt;-&gt;TriangleMeshes dynamics ?</div></blockquote>No they don't. Ageia has a PMAP for that purpose, but that is deprecated for real-time purposes.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Tue Aug 29, 2006 5:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cippyboy]]></name></author>
		<updated>2006-08-29T13:33:01+00:00</updated>

		<published>2006-08-29T13:33:01+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1607#p1607</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1607#p1607"/>
		<title type="html"><![CDATA[TriangleMeshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1607#p1607"><![CDATA[
1) I use "Shape[3]=new TriangleMeshShape(Array);" Is there a difference between this and "Shape[3]=new BvhTriangleMeshShape(Array);" ? They're both derived from ConcaveShape, and what if my triangled object is Convex ?<br><br>2) TriangleMeshes cannot move as I see, is there any convex mesh that can be moved ?<br><br>3) Is there a triangle shape that I can add ? So I can make compounds of more triangles to simulate my object ?<br><br>4) As a side question : Does Ageia's PhysX or Havok currently support TriangleMeshe&lt;-&gt;TriangleMeshes dynamics ?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=757">cippyboy</a> — Tue Aug 29, 2006 1:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
