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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2012-10-17T18:44:05+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2012-10-17T18:44:05+00:00</updated>

		<published>2012-10-17T18:44:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29004#p29004</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29004#p29004"/>
		<title type="html"><![CDATA[Re: Best methode to save/load collisiondata]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29004#p29004"><![CDATA[
Reading a binary .bullet file is likely fastest. Just use the serialization, either for the entire world, or just for the collision shape.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Wed Oct 17, 2012 6:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zwingling]]></name></author>
		<updated>2012-08-31T19:35:55+00:00</updated>

		<published>2012-08-31T19:35:55+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=28674#p28674</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=28674#p28674"/>
		<title type="html"><![CDATA[Best methode to save/load collisiondata]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=28674#p28674"><![CDATA[
I am trying to prefent looping all triangles and add each one to the btTriangleMesh. (Only loading has to be fast, saving speed can be ignored.)<br><span style="text-decoration:underline">So what is the fastest methode for loading collision data from a file.</span><br>How about these two:<br><br>1.) Saving a Vertex(bt3Vector)&amp;Index(DWORD) array and on loading just resize the btTriangleMesh and set the data at once.<br>2.) Using the serializeSingleShape() for saving and for loading somthing like the ReadBulletSample (or init a new btDynamicsWorld, read the file with   <br>     the BulletWorldImporter, get the collision object and cleanup the btDynamicsWorld var)<br><br>If there are any other methods, please tell me.<br>The model geometry has these two buffers: <br>Vertex = vector&lt;float[3]&gt;<br>Index   = vector&lt;DWORD&gt;<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9524">Zwingling</a> — Fri Aug 31, 2012 7:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
