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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2010-12-10T01:18:10+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2010-12-10T01:18:10+00:00</updated>

		<published>2010-12-10T01:18:10+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21322#p21322</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21322#p21322"/>
		<title type="html"><![CDATA[Re: Collada Converter Segfault]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21322#p21322"><![CDATA[
Please use the Blender .bullet export or readblend instead of COLLADA.<br><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> — Fri Dec 10, 2010 1:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BlGene]]></name></author>
		<updated>2010-11-24T00:58:57+00:00</updated>

		<published>2010-11-24T00:58:57+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21084#p21084</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21084#p21084"/>
		<title type="html"><![CDATA[Collada Converter Segfault]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21084#p21084"><![CDATA[
I want to convert a Collada file, which was authored by the the Blender exporter, to Bullet.<br><br>Q1) When importing geometries from Blender is ReadBlend a better option than Collada?<br><br>When I try to import the .dae file using the AppColladaDemo the program segfaults, with the following gdb trace(see below). The problem is caused by URI so I collected a list of id elements from the file (lines are truncated, see below).<br>I tried to attach the .dae file extension was not allowed. <br><br>Q2) What is this URI error caused by? <br><br>Q3) I only need the geometric data in Bullet,  if it helps the URI issue is there a way to specify this to the Collada importer?<br><br>Q4) This question is somewhat unrelated to my problem but is openCollada currently the best Collada SDK?<br><br>AppColladaDemo GDB trace<div class="codebox"><p>Code: </p><pre><code>opyright (C) 2008 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.  Type "show copying"and "show warranty" for details.This GDB was configured as "i686-pc-linux-gnu"...(gdb) run right_palm.dae Starting program:/home/lang/phys/bullet/dynamica-src/Demos/ColladaDemo/AppColladaDemoright_palm.dae[Thread debugging using libthread_db enabled]argc=2argv[0]=/home/lang/phys/bullet/dynamica-src/Demos/ColladaDemo/AppColladaDemoargv[1]=right_palm.dae[New Thread 0xb79e86e0 (LWP 10941)]Program received signal SIGSEGV, Segmentation fault.[Switching to Thread 0xb79e86e0 (LWP 10941)]0xb7bef18a in strcmp () from /lib/libc.so.6(gdb) backtrace  #0  0xb7bef18a in strcmp () from /lib/libc.so.6#1  0x081dac7e in daeURI::validate ()#2  0x081db1ab in daeURI::resolveElement ()#3  0x081cbc6d in daeResolverType::resolve ()#4  0x081d479e in daeMetaAttribute::resolve ()#5  0x081d2399 in daeElement::resolve ()#6  0x081d2420 in daeElement::resolveAll ()#7  0x081de2ca in daeLIBXMLPlugin::read ()#8  0x081cac55 in DAE::load ()#9  0x08182ba9 in ColladaConverter::load ()#10 0x08171b55 in ColladaDemo::initPhysics ()#11 0x08171d0b in main ()</code></pre></div><div class="codebox"><p>Code: </p><pre><code>&lt;effect id="Material_003-fx" name="Material_003-fx"&gt;&lt;technique sid="blender"&gt;&lt;effect id="Material_002-fx" name="Material_002-fx"&gt;&lt;technique sid="blender"&gt;&lt;effect id="Material_001-fx" name="Material_001-fx"&gt;&lt;technique sid="blender"&gt;&lt;material id="Material_003" name="Material_003"&gt;&lt;material id="Material_002" name="Material_002"&gt;&lt;material id="Material_001" name="Material_001"&gt;&lt;geometry id="ShapeIndexedFaceS_002" name="ShapeIndexedFaceS_002"&gt;&lt;source id="ShapeIndexedFaceS_002-Position"&gt;&lt;float_array count="13287" id="ShapeIndexedFaceS_002-Position-array"&gt;0.01904 -0.00764 0.08182 0&lt;source id="ShapeIndexedFaceS_002-Normals"&gt;&lt;float_array count="38862" id="ShapeIndexedFaceS_002-Normals-array"&gt;0.97690 0.09803 0.18976 0.9&lt;vertices id="ShapeIndexedFaceS_002-Vertex"&gt;&lt;visual_scene id="Scene" name="Scene"&gt;&lt;node layer="L1" id="ShapeIndexedFaceS_001" name="ShapeIndexedFaceS_001"&gt;&lt;translate sid="translate"&gt;0.00000 0.00000 0.00000&lt;/translate&gt;&lt;rotate sid="rotateZ"&gt;0 0 1 0.00000&lt;/rotate&gt;&lt;rotate sid="rotateY"&gt;0 1 0 -0.00000&lt;/rotate&gt;&lt;rotate sid="rotateX"&gt;1 0 0 0.00000&lt;/rotate&gt;&lt;scale sid="scale"&gt;1.00000 1.00000 1.00000&lt;/scale&gt;&lt;physics_material id="ShapeIndexedFaceS_001-PhysicsMaterial" name="ShapeIndexedFaceS_001-PhysicsMa&lt;physics_model id="Scene-PhysicsModel" name="Scene-PhysicsModel"&gt;&lt;rigid_body name="ShapeIndexedFaceS_001-RigidBody" sid="ShapeIndexedFaceS_001-RigidBody"&gt;&lt;physics_scene id="Scene-Physics" name="Scene-Physics"&gt;</code></pre></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=7096">BlGene</a> — Wed Nov 24, 2010 12:58 am</p><hr />
]]></content>
	</entry>
	</feed>
