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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2011-03-05T04:54:33+00:00</updated>

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

		<entry>
		<author><name><![CDATA[EnlightenedOne]]></name></author>
		<updated>2011-03-05T04:54:33+00:00</updated>

		<published>2011-03-05T04:54:33+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22369#p22369</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22369#p22369"/>
		<title type="html"><![CDATA[Re: Loading a .bullet file, creating objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22369#p22369"><![CDATA[
I appear to have hit the same problem. The Bullet Physics Editor can load in the mesh file yet the serializer demo does not recognise it. It is what I was planning to use for my terrain so perhaps I better rollback bullet versions and address my stark inability to compile patches for blender (unless your feeling generous enough to upload it as a zip file somewhere Kanttori  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> ). Is this issue limited only to Blenders exporter?<br><br>I will watch the issue and wait, I do not want to badger Erwin again after he got me loading in meshes!<br><br>I am looking into a quick fix working out from the convertCollisionShape function; I only care about loading mesh data in rather than saving it again and a convex hull is not going to cut it. Well maybe it could but I would have to be more desperate/less stubborn to change from my original plan. I will keep you posted on any useful hack in loading in blender triangle mesh data without a .patch, but don't hold your breathe as this SDK will take a while to master!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=7068">EnlightenedOne</a> — Sat Mar 05, 2011 4:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2011-03-03T19:44:57+00:00</updated>

		<published>2011-03-03T19:44:57+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22346#p22346</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22346#p22346"/>
		<title type="html"><![CDATA[Re: Loading a .bullet file, creating objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22346#p22346"><![CDATA[
Please report an issue about btScaledBvhTrianbleMeshShape  serialization and attach the patch in the tracker here: <a href="http://code.google.com/p/bullet/issues/list" class="postlink">http://code.google.com/p/bullet/issues/list</a><br><br>Then we will provide an updated Blender 2.49b precompiled binary with .bullet export.<br><br>Can you reply here if you submitted the issue?<br>THanks,<br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Thu Mar 03, 2011 7:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EnlightenedOne]]></name></author>
		<updated>2011-03-02T00:40:19+00:00</updated>

		<published>2011-03-02T00:40:19+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22312#p22312</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22312#p22312"/>
		<title type="html"><![CDATA[Re: Loading a .bullet file, creating objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22312#p22312"><![CDATA[
is this problem still prevalent? I am using 2.77 and about to try getting data out of blender for my physics simulation. I am basically at the stage of getting blender to export a .bullet mesh (with major difficulty down to the precompiled patched blender program not working) trying to make a new patch-blender version now any tips would be greatly appreciated as I dont want to waste a day getting blender working <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>Thanks<br><br>Enlightened One<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=7068">EnlightenedOne</a> — Wed Mar 02, 2011 12:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kanttori]]></name></author>
		<updated>2011-02-09T08:40:17+00:00</updated>

		<published>2011-02-09T08:40:17+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22056#p22056</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22056#p22056"/>
		<title type="html"><![CDATA[Re: Loading a .bullet file, creating objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22056#p22056"><![CDATA[
The problem is that Blender (2.49b at least) is using btScaledBvhTriangleMeshShape internally for "instances" of the mesh and that class isn't serialized yet. I made a patch where the instances use the non-scaled shared btBvhTriangleMeshShape directly, but then I ran into an issue of bullet 2.77 segfaulting in processTriangles() when the mesh-object collided in simulation. There are no problems though when I use bullet-svn-r2243 with my code and this may be because there have been changes done since 2.77 in the mesh-code in worldimporter and elsewhere.<br><br>The (very temporary) patch, needs to be reversed when btScaledBvhTrianbleMeshShape is serialized. <div class="inline-attachment"><dl class="file"><dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="https://pybullet.org/Bullet/phpBB3/download/file.php?id=647">no_btscaledbvhtrianglemeshshape.zip</a></dt></dl></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=6870">Kanttori</a> — Wed Feb 09, 2011 8:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kanttori]]></name></author>
		<updated>2011-02-07T19:33:59+00:00</updated>

		<published>2011-02-07T19:33:59+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22034#p22034</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22034#p22034"/>
		<title type="html"><![CDATA[Re: Loading a .bullet file, creating objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=22034#p22034"><![CDATA[
I bet you're trying to export a "Triangle Mesh" collision type, it's the one I'm having problems with too... you can switch to a convex hull or something else and it should work.<br><br>I'm looking at File Inspector's output and it seems like triangle meshes aren't really exported at all; just a generic btCollisionShapeData appears when I switch from a convex hull to a triangle mesh. It's either how blender handles the triangle meshes or they just don't get exported correctly by bullet. I'll have a look around the code at some point though I'm not sure if I could fix (or even find) the problem.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=6870">Kanttori</a> — Mon Feb 07, 2011 7:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jrk]]></name></author>
		<updated>2011-01-12T16:51:29+00:00</updated>

		<published>2011-01-12T16:51:29+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21732#p21732</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21732#p21732"/>
		<title type="html"><![CDATA[Loading a .bullet file, creating objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21732#p21732"><![CDATA[
I'm really excited about using blender to create my bullet world  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  and I think I'm close but I seem to be missing something.<br><br>I got the custom build of blender that exports .bullet files from here:<br><a href="http://code.google.com/p/bullet-physics-editor/downloads/list" class="postlink">http://code.google.com/p/bullet-physics ... loads/list</a><br><br>I extracted the .bullet file from the example (the example is a house being knocked down with a big bullet)<br><br>then I imported it into my code:<br><div class="codebox"><p>Code: </p><pre><code>fileLoader = new btBulletWorldImporter(dynamicsWorld);fileLoader-&gt;loadFile("testFile.bullet");int body_count = fileLoader-&gt;getNumRigidBodies();</code></pre></div>unfortunately getNumRigidBodies() returns 0.  Why is that?<br><br>I then found the file inspector:<br><a href="http://code.google.com/p/gamekit/downloads/detail?name=FileInspector-Win32-749.zip&amp;can=2&amp;q=#makechanges" class="postlink">http://code.google.com/p/gamekit/downlo ... akechanges</a><br><br>I loaded the bullet file mentioned above and the .bullet file included with the inspector and found neither had rigid Bodies.<br>According the the "Explorere" tab it did have btRigidBodyFloatData which had m_collisionObjectData<br>But, the m_collisionObjectData m_name member was blank.<br><br>So, I don't understand the process.  Do I load the serialized file then create rigidBodies from the "btRigidBodyFloatData"?<br>If so, how do I get a list or array of those things through which to iterate?<br>Also, if all the names are blank, how do I know what is what?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=5518">jrk</a> — Wed Jan 12, 2011 4:51 pm</p><hr />
]]></content>
	</entry>
	</feed>
