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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-09-07T14:14:32+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Jack]]></name></author>
		<updated>2006-09-07T14:14:32+00:00</updated>

		<published>2006-09-07T14:14:32+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1678#p1678</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1678#p1678"/>
		<title type="html"><![CDATA[Request for better Striding support (WORD/ConvexHullShape)]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1678#p1678"><![CDATA[
Continue with minor issues.  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>In "Memeory2.h". Correct new/delete overrides must be:<br>void* <strong class="text-strong">__cdecl </strong>operator new(size_t sz) throw();<br>void* <strong class="text-strong">__cdecl </strong>operator new[](size_t sz) throw();<br>void <strong class="text-strong">__cdecl </strong>operator delete(void* m) throw();<br>void <strong class="text-strong">__cdecl </strong>operator delete[](void* m) throw();<br><br>__cdecl is important if you compile Bullet with non-cdecl default calling convention. Otherwise there are compilation errors...<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=772">Jack</a> — Thu Sep 07, 2006 2:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jack]]></name></author>
		<updated>2006-09-07T12:45:06+00:00</updated>

		<published>2006-09-07T12:45:06+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1677#p1677</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1677#p1677"/>
		<title type="html"><![CDATA[Request for better Striding support (WORD/ConvexHullShape)]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1677#p1677"><![CDATA[
<blockquote class="uncited"><div>Thanks for the feedback! Feedback is good for improvements/development!<br><br>It is possible to use ConvexTriangleMeshShape, that takes a striding interface. For performance, a duplicate is probably better.</div></blockquote>But if the model is concave? What will be if I pass cancave mesh to the ConvexTriangleMeshShape?<br><blockquote class="uncited"><div>Would an additional constructor in ConvexHullShape (making a copy) useful for you? I'll add a second feature request.</div></blockquote>You copy it into internal buffer in any case:<br><br>ConvexHullShape ::ConvexHullShape (SimdPoint3* points,int numPoints)<br>{<br>m_points.resize(numPoints);<br>for (int i=0;i&lt;numPoints;i++)<br>m_points<em class="text-italics"> = points<em class="text-italics">;<br>}<br><br>So, I think additional constructor is not necessary. Just third param with default value: Stride=sizeof(SimdPoint3).</em></em><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=772">Jack</a> — Thu Sep 07, 2006 12:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-09-06T18:09:17+00:00</updated>

		<published>2006-09-06T18:09:17+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1672#p1672</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1672#p1672"/>
		<title type="html"><![CDATA[Request for better Striding support (WORD/ConvexHullShape)]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1672#p1672"><![CDATA[
Thanks for the feedback! Feedback is good for improvements/development!<br><blockquote class="uncited"><div>1) I found that WORD (PHY_SHORT) indexes are not implemented in<br>voidStridingMeshInterface::InternalProcessAllTriangles(InternalTriangleIndexCallback* callback,const SimdVector3&amp; aabbMin,const SimdVector3&amp; aabbMax) const<br><br>I noticed that you love OpenGL. I do not know index format for OpenGL, but in DirectX indexes are WORDs in most cases.</div></blockquote>I'll check it out and add a feature request for WORD/short indices.<br><blockquote class="uncited"><div>2) ConvexHullShape::ConvexHullShape(SimdPoint3* points,int numPoints)<br><br>It would be great if ConvexHullShape additionally accepts STRIDE.<br>For example, I have a concave model. I want to pass model vertex buffer directly to ConvexHullShape, but I can not do it because there is no STRIDE param. Instead I need to create intermediate SimdPoint3 buffer, copy vertexes, pass it to ConvexHullShape, delete SimdPoint3 buffer.<br><br> <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>It is possible to use ConvexTriangleMeshShape, that takes a striding interface. For performance, a duplicate is probably better. <br><br>Would an additional constructor in ConvexHullShape (making a copy) useful for you? I'll add a second feature request.<br><br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Wed Sep 06, 2006 6:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jack]]></name></author>
		<updated>2006-09-06T07:34:52+00:00</updated>

		<published>2006-09-06T07:34:52+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1667#p1667</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1667#p1667"/>
		<title type="html"><![CDATA[Request for better Striding support (WORD/ConvexHullShape)]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1667#p1667"><![CDATA[
1) I found that WORD (PHY_SHORT) indexes are not implemented in<br>voidStridingMeshInterface::InternalProcessAllTriangles(InternalTriangleIndexCallback* callback,const SimdVector3&amp; aabbMin,const SimdVector3&amp; aabbMax) const<br><br>I noticed that you love OpenGL. I do not know index format for OpenGL, but in DirectX indexes are WORDs in most cases.<br><br>2) ConvexHullShape::ConvexHullShape(SimdPoint3* points,int numPoints)<br><br>It would be great if ConvexHullShape additionally accepts STRIDE.<br>For example, I have a concave model. I want to pass model vertex buffer directly to ConvexHullShape, but I can not do it because there is no STRIDE param. Instead I need to create intermediate SimdPoint3 buffer, copy vertexes, pass it to ConvexHullShape, delete SimdPoint3 buffer.<br><br> <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=772">Jack</a> — Wed Sep 06, 2006 7:34 am</p><hr />
]]></content>
	</entry>
	</feed>
