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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-10-19T08:48:57+00:00</updated>

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

		<entry>
		<author><name><![CDATA[jorrit5477]]></name></author>
		<updated>2006-10-19T08:48:57+00:00</updated>

		<published>2006-10-19T08:48:57+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2171#p2171</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2171#p2171"/>
		<title type="html"><![CDATA[collision library for raycasting triangle meshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2171#p2171"><![CDATA[
Thank you for the quick reply <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>The thing I saw in doing a quick research on this forum was that moving triangle meshes are not supported (that was mentoined with what I said 'difficult').<br><br>I use those 4 rays to detect if the start and end point of a given line segment are inside the mesh/shape (2 rays for each point, requiring that either on of the tests result in an odd number of detected collisions. This is done since I need to know if the line segment intersects the back or the front side of a face (if any).<br><br>I cannot tell if a shape will be convex or not, and the system requires precise detection. So maybe I can use a composition of convex shapes to represent the mesh.<br><br>I'll have a look at FAST as well.<br><br>Thanks,<br>Jorrit<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=1051">jorrit5477</a> — Thu Oct 19, 2006 8:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-10-19T06:23:03+00:00</updated>

		<published>2006-10-19T06:23:03+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2170#p2170</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2170#p2170"/>
		<title type="html"><![CDATA[Re: collision library for raycasting triangle meshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2170#p2170"><![CDATA[
<blockquote class="uncited"><div>Hello,<br><br>For a project at my college I am integrating an haptic device in a 3D render engine. To detect collision between the 3D cursor and shapes I would like to use an external collision library.<br>Shapes can be either moving or static and ar build from triangle meshes (no primitives implemented thusfar).<br><br>I have implemented a system using Opcode and raycasting (using 4 rays per test), but it seems to miss some collisions every now and then, resulting in slipthrough (the cursor going through the surface) when the shape is complex.<br>Now I am looking for another library to test for collisions, but I see that triangle meshes difficult to use in Bullet.</div></blockquote>What is exactly hard about using Bullet's btTriangleMeshShape? You can just pass a btTriangleMesh as input, which is easiest. If you are only interested in collision detection/raycasting just check out CollisionInterfaceDemo, or RaycastDemo. It sounds you can beter use convex cast, and cast an object, instead of a ray. Check btConvexCast, see GjkConvexCastDemo, or ContinuousConvexCollision. This allows to sweep of perform CCD tests.<br><blockquote class="uncited"><div>Can I use Bullet and triangle meshes (or can I create complex compound objects to do this)? Or is any other library more suitable for this?</div></blockquote>You can use Bullet compounds. Also you can try out FAST. It has CCD with concave triangle meshes. See links for paper and download the C++ sources for FAST<br><a href="http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=608" class="postlink">http://www.continuousphysics.com/Bullet ... .php?t=608</a><br><br>THanks,<br>Erwin<br><br><br>Hope somebody can help me, since it is fairly unknown matter at my college.<br><br>Regards,<br>Jorrit[/quote]<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Thu Oct 19, 2006 6:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jorrit5477]]></name></author>
		<updated>2006-10-18T18:41:21+00:00</updated>

		<published>2006-10-18T18:41:21+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2165#p2165</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2165#p2165"/>
		<title type="html"><![CDATA[collision library for raycasting triangle meshes]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2165#p2165"><![CDATA[
Hello,<br><br>For a project at my college I am integrating an haptic device in a 3D render engine. To detect collision between the 3D cursor and shapes I would like to use an external collision library.<br>Shapes can be either moving or static and ar build from triangle meshes (no primitives implemented thusfar).<br><br>I have implemented a system using Opcode and raycasting (using 4 rays per test), but it seems to miss some collisions every now and then, resulting in slipthrough (the cursor going through the surface) when the shape is complex.<br>Now I am looking for another library to test for collisions, but I see that triangle meshes difficult to use in Bullet.<br><br>Can I use Bullet and triangle meshes (or can I create complex compound objects to do this)? Or is any other library more suitable for this?<br><br>Hope somebody can help me, since it is fairly unknown matter at my college.<br><br>Regards,<br>Jorrit<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=1051">jorrit5477</a> — Wed Oct 18, 2006 6:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
